net: Improve route scalability via support for nexthop objects

2019-03-14 Thread David Ahern
TL;DR: The nexthop changes are finally ready for consideration for inclusion into the networking stack. The patch count currently stands at 86 including tests. The majority of those are refactoring the existing code base with the last 16 implementing the nexthop feature and selftests. The first 27

Re: [PATCH RFC net-next 00/18] net: Improve route scalability via support for nexthop objects

2018-12-12 Thread David Ahern
On 12/11/18 5:52 AM, Jan Maria Matejka wrote: > Hello! > > On 9/4/18 5:57 PM, David Ahern wrote: >> On 9/2/18 11:34 AM, David Miller wrote: >>> From: dsah...@kernel.org >>> Date: Fri, 31 Aug 2018 17:49:35 -0700 >>> Examples 1. Single path $ ip nexthop add id 1 via 10.99.1.2 dev

Re: [PATCH RFC net-next 00/18] net: Improve route scalability via support for nexthop objects

2018-12-11 Thread Jan Maria Matejka
Hello! On 9/4/18 5:57 PM, David Ahern wrote: > On 9/2/18 11:34 AM, David Miller wrote: >> From: dsah...@kernel.org >> Date: Fri, 31 Aug 2018 17:49:35 -0700 >> >>> Examples >>> 1. Single path >>> $ ip nexthop add id 1 via 10.99.1.2 dev veth1 >>> $ ip route add 10.1.1.0/24 nhid 1 >>> >>>

Re: [PATCH RFC net-next 00/18] net: Improve route scalability via support for nexthop objects

2018-09-04 Thread David Ahern
On 9/2/18 11:34 AM, David Miller wrote: > From: dsah...@kernel.org > Date: Fri, 31 Aug 2018 17:49:35 -0700 > >> Examples >> 1. Single path >> $ ip nexthop add id 1 via 10.99.1.2 dev veth1 >> $ ip route add 10.1.1.0/24 nhid 1 >> >> $ ip next ls >> id 1 via 10.99.1.2 src 10.99.1.1 de

Re: [PATCH RFC net-next 00/18] net: Improve route scalability via support for nexthop objects

2018-09-02 Thread David Miller
From: dsah...@kernel.org Date: Fri, 31 Aug 2018 17:49:35 -0700 > Examples > 1. Single path > $ ip nexthop add id 1 via 10.99.1.2 dev veth1 > $ ip route add 10.1.1.0/24 nhid 1 > > $ ip next ls > id 1 via 10.99.1.2 src 10.99.1.1 dev veth1 scope link > > $ ip ro ls > 10.1.1.

[PATCH RFC net-next 00/18] net: Improve route scalability via support for nexthop objects

2018-08-31 Thread dsahern
From: David Ahern As mentioned at netconf in Seoul, we would like to introduce nexthops as independent objects from the routes to better align with both routing daemons and hardware and to improve route insertion times into the kernel. This series adds nexthop objects with their own lifecycle. T