Re: [PATCH net-next] net: Support ip route get via given table

2015-09-03 Thread David Ahern
On 9/3/15 4:40 PM, David Miller wrote: From: David Ahern Date: Wed, 2 Sep 2015 12:03:12 -0700 Add support for 'ip [-6] route get table X' where the user wants to force the FIB lookup from a given table. Signed-off-by: David Ahern As Thomas mentioned, this adds cost to the FIB lookup fastp

Re: [PATCH net-next] net: Support ip route get via given table

2015-09-03 Thread David Miller
From: David Ahern Date: Wed, 2 Sep 2015 12:03:12 -0700 > Add support for 'ip [-6] route get table X' where the user wants to > force the FIB lookup from a given table. > > Signed-off-by: David Ahern As Thomas mentioned, this adds cost to the FIB lookup fastpath for a control-plane only featur

Re: [PATCH net-next] net: Support ip route get via given table

2015-09-02 Thread David Ahern
On 9/2/15 1:38 PM, Thomas Graf wrote: On 09/02/15 at 01:22pm, David Ahern wrote: On 9/2/15 1:12 PM, Thomas Graf wrote: On 09/02/15 at 12:03pm, David Ahern wrote: Add support for 'ip [-6] route get table X' where the user wants to force the FIB lookup from a given table. Signed-off-by: David A

Re: [PATCH net-next] net: Support ip route get via given table

2015-09-02 Thread Thomas Graf
On 09/02/15 at 01:22pm, David Ahern wrote: > On 9/2/15 1:12 PM, Thomas Graf wrote: > >On 09/02/15 at 12:03pm, David Ahern wrote: > >>Add support for 'ip [-6] route get table X' where the user wants to > >>force the FIB lookup from a given table. > >> > >>Signed-off-by: David Ahern > > > >Will you

Re: [PATCH net-next] net: Support ip route get via given table

2015-09-02 Thread David Ahern
On 9/2/15 1:12 PM, Thomas Graf wrote: On 09/02/15 at 12:03pm, David Ahern wrote: Add support for 'ip [-6] route get table X' where the user wants to force the FIB lookup from a given table. Signed-off-by: David Ahern Will you use this outside of 'ip route get' as well? If so, how? I'm asking

Re: [PATCH net-next] net: Support ip route get via given table

2015-09-02 Thread Thomas Graf
On 09/02/15 at 12:03pm, David Ahern wrote: > Add support for 'ip [-6] route get table X' where the user wants to > force the FIB lookup from a given table. > > Signed-off-by: David Ahern Will you use this outside of 'ip route get' as well? If so, how? I'm asking because you propose to add the ch

[PATCH net-next] net: Support ip route get via given table

2015-09-02 Thread David Ahern
Add support for 'ip [-6] route get table X' where the user wants to force the FIB lookup from a given table. Signed-off-by: David Ahern --- include/net/flow.h | 4 include/net/ip_fib.h| 15 +++ net/ipv4/fib_frontend.c | 2 ++ net/ipv4/route.c| 2 ++ net/ipv6/