Re: [RFC net-next 2/9] net/switchdev: Introduce hardware offload support

2016-02-01 Thread John Fastabend
On 16-02-01 12:34 AM, Amir Vadai wrote: > Extend the switchdev API with new operations: switchdev_port_flow_add() > and switchdev_port_flow_del(). > It allows the user to add/del a hardware offloaded flow classification > and actions. > For every new flow object a cookie is supplied. This cookie wi

Re: [RFC net-next 2/9] net/switchdev: Introduce hardware offload support

2016-02-01 Thread amirva
On Mon, Feb 01, 2016 at 10:06:27AM +0100, Jiri Pirko wrote: > Mon, Feb 01, 2016 at 09:34:38AM CET, a...@vadai.me wrote: > >Extend the switchdev API with new operations: switchdev_port_flow_add() > >and switchdev_port_flow_del(). > >It allows the user to add/del a hardware offloaded flow classificat

Re: [RFC net-next 2/9] net/switchdev: Introduce hardware offload support

2016-02-01 Thread Jiri Pirko
Mon, Feb 01, 2016 at 09:34:38AM CET, a...@vadai.me wrote: >Extend the switchdev API with new operations: switchdev_port_flow_add() >and switchdev_port_flow_del(). >It allows the user to add/del a hardware offloaded flow classification >and actions. >For every new flow object a cookie is supplied. T

[RFC net-next 2/9] net/switchdev: Introduce hardware offload support

2016-02-01 Thread Amir Vadai
Extend the switchdev API with new operations: switchdev_port_flow_add() and switchdev_port_flow_del(). It allows the user to add/del a hardware offloaded flow classification and actions. For every new flow object a cookie is supplied. This cookie will be used later on to identify the flow when remo