Re: [PATCH net-next 1/2] net/devlink: Add E-Switch encapsulation control

2017-02-09 Thread Jiri Pirko
Thu, Feb 09, 2017 at 06:20:14PM CET, ogerl...@mellanox.com wrote: >On 2/9/2017 7:10 PM, Jiri Pirko wrote: >> > @@ -1470,11 +1480,23 @@ static int devlink_nl_cmd_eswitch_set_doit(struct >> > sk_buff *skb, >> >const struct devlink_ops *ops = devlink->ops; >> >u16 mode; >> >u8 inline_mode

Re: [PATCH net-next 1/2] net/devlink: Add E-Switch encapsulation control

2017-02-09 Thread Jiri Pirko
Thu, Feb 09, 2017 at 05:23:17PM CET, ogerl...@mellanox.com wrote: >From: Roi Dayan > >This is an e-switch global knob to enable/disable HW support for applying >encapsulation/decapsulation to VF traffic as part of SRIOV e-switch offloading. > >The actual encap/decap is carried out (along with the