Re: [PATCH net-next 1/2] net: Add l3mdev rule

2016-06-02 Thread David Miller
From: David Ahern Date: Wed, 1 Jun 2016 21:14:53 -0700 > @@ -76,6 +76,7 @@ static int fib4_rule_action(struct fib_rule *rule, struct > flowi *flp, > { > int err = -EAGAIN; > struct fib_table *tbl; > + u32 tb_id = fib_rule_get_table(rule, arg); Please order local variable lines

[PATCH net-next 1/2] net: Add l3mdev rule

2016-06-01 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