Re: [net-next-2.6 v3 1/3] introduce IFE action

2016-02-27 Thread Jamal Hadi Salim
On 16-02-26 06:49 PM, Cong Wang wrote: On Fri, Feb 26, 2016 at 2:43 PM, Jamal Hadi Salim wrote: [...] Just some quick reviews... ;) ;-> Ok, update in a little while after some basic testing... cheers, jamal

Re: [net-next-2.6 v3 1/3] introduce IFE action

2016-02-26 Thread Cong Wang
On Fri, Feb 26, 2016 at 2:43 PM, Jamal Hadi Salim wrote: [...] Just some quick reviews... ;) > +#define IFE_TAB_MASK 15 > + > +static int ife_net_id; > +static int max_metacnt = IFE_META_MAX + 1; > + > +static const struct nla_policy ife_policy[TCA_IFE_MAX + 1] = { > + [TCA_IFE_PARMS] =

[net-next-2.6 v3 1/3] introduce IFE action

2016-02-26 Thread Jamal Hadi Salim
From: Jamal Hadi Salim Described in netdev01 paper: "Distributing Linux Traffic Control Classifier-Action Subsystem" Authors: Jamal Hadi Salim and Damascene M. Joachimpillai This action allows for a sending side to encapsulate arbitrary metadata which is decapsulated by the receivin