On 3/24/18 9:05 AM, Ido Schimmel wrote: > On Sun, Mar 18, 2018 at 08:36:01PM -0700, David Ahern wrote: >> This set is the first of many changes to improve the scalability of the >> IPv6 code. Follow on changes include: >> - consolidating duplicate fib6_info references like IPv4 does with >> duplicate fib_info > > Before that you need to further break fib6_info into fib6_info and > fib6_alias, or I misunderstood you? >
I was only listing the high level intent - to consolidate duplication. I have not looked into that step yet, but I suspect that split can be done in the same patch set as consolidating duplicate fib6_info. As you know, my preference is to move to nexthop objects (makes fib6_nh optional). I have IPv4 done; IPv6 requires this patch set. To get there the patch sequence is: 1. separate data structures for fib and dst paths (this set), 2. cleanup set on top of this one (separate set only because this one is at 21 patches), and 3. nexthop API.