Re: [PATCH net-next v3 0/2] net: vrf: Improve use of FIB rules

2016-06-06 Thread David Ahern
On 6/6/16 4:47 PM, David Miller wrote: I hate module parameters. And you don't even need one in this situation, just use a default preference of 1000 and add a newlink netlink attribute that can change it. The intent is to generate default rules similar to what is done for local and main

Re: [PATCH net-next v3 0/2] net: vrf: Improve use of FIB rules

2016-06-06 Thread David Miller
From: David Ahern Date: Fri, 3 Jun 2016 12:36:54 -0700 > Currently, VRFs require 1 oif and 1 iif rule per address family per > VRF. As the number of VRF devices increases it brings scalability > issues with the increasing rule list. All of the VRF rules have the > same

[PATCH net-next v3 0/2] net: vrf: Improve use of FIB rules

2016-06-03 Thread David Ahern
Currently, VRFs require 1 oif and 1 iif rule per address family per VRF. As the number of VRF devices increases it brings scalability issues with the increasing rule list. All of the VRF rules have the same format with the exception of the specific table id to direct the lookup. Since the table id