Re: [patch net-next 10/17] ipv6: fib: Add offload indication to routes

2017-07-19 Thread Ido Schimmel
On Wed, Jul 19, 2017 at 09:53:28AM -0600, David Ahern wrote: > On 7/19/17 9:49 AM, Ido Schimmel wrote: > > On Wed, Jul 19, 2017 at 09:27:30AM -0600, David Ahern wrote: > >> On 7/19/17 1:02 AM, Jiri Pirko wrote: > >>> Allow user space applications to see which routes are offloaded and > >>> which

Re: [patch net-next 10/17] ipv6: fib: Add offload indication to routes

2017-07-19 Thread David Ahern
On 7/19/17 1:02 AM, Jiri Pirko wrote: > Allow user space applications to see which routes are offloaded and > which aren't by setting the RTNH_F_OFFLOAD flag when dumping them. > > To be consistent with IPv4, a multipath route is marked as offloaded if > one of its nexthops is offloaded.

Re: [patch net-next 10/17] ipv6: fib: Add offload indication to routes

2017-07-19 Thread David Ahern
On 7/19/17 9:49 AM, Ido Schimmel wrote: > On Wed, Jul 19, 2017 at 09:27:30AM -0600, David Ahern wrote: >> On 7/19/17 1:02 AM, Jiri Pirko wrote: >>> Allow user space applications to see which routes are offloaded and >>> which aren't by setting the RTNH_F_OFFLOAD flag when dumping them. >>> >>> To

Re: [patch net-next 10/17] ipv6: fib: Add offload indication to routes

2017-07-19 Thread Ido Schimmel
On Wed, Jul 19, 2017 at 09:27:30AM -0600, David Ahern wrote: > On 7/19/17 1:02 AM, Jiri Pirko wrote: > > Allow user space applications to see which routes are offloaded and > > which aren't by setting the RTNH_F_OFFLOAD flag when dumping them. > > > > To be consistent with IPv4, a multipath route

[patch net-next 10/17] ipv6: fib: Add offload indication to routes

2017-07-19 Thread Jiri Pirko
From: Ido Schimmel Allow user space applications to see which routes are offloaded and which aren't by setting the RTNH_F_OFFLOAD flag when dumping them. To be consistent with IPv4, a multipath route is marked as offloaded if one of its nexthops is offloaded. Individual