Re: [RFC net-next 6/9] net/cls_flower: Introduce hardware offloading

2016-02-01 Thread John Fastabend
On 16-02-01 02:43 AM, Amir Vadai wrote: > On Mon, Feb 01, 2016 at 01:31:17AM -0800, John Fastabend wrote: >> On 16-02-01 12:34 AM, Amir Vadai wrote: >>> During initialization, tcf_exts_offload_init() is called to initialize >>> the list of actions description. later on, the classifier description >

Re: [RFC net-next 6/9] net/cls_flower: Introduce hardware offloading

2016-02-01 Thread Amir Vadai
On Mon, Feb 01, 2016 at 01:31:17AM -0800, John Fastabend wrote: > On 16-02-01 12:34 AM, Amir Vadai wrote: > > During initialization, tcf_exts_offload_init() is called to initialize > > the list of actions description. later on, the classifier description > > is prepared and sent to the switchdev us

Re: [RFC net-next 6/9] net/cls_flower: Introduce hardware offloading

2016-02-01 Thread John Fastabend
On 16-02-01 01:31 AM, John Fastabend wrote: > On 16-02-01 12:34 AM, Amir Vadai wrote: >> During initialization, tcf_exts_offload_init() is called to initialize >> the list of actions description. later on, the classifier description >> is prepared and sent to the switchdev using switchdev_port_flow

Re: [RFC net-next 6/9] net/cls_flower: Introduce hardware offloading

2016-02-01 Thread John Fastabend
On 16-02-01 12:34 AM, Amir Vadai wrote: > During initialization, tcf_exts_offload_init() is called to initialize > the list of actions description. later on, the classifier description > is prepared and sent to the switchdev using switchdev_port_flow_add(). > > When offloaded, fl_classify() is a N

[RFC net-next 6/9] net/cls_flower: Introduce hardware offloading

2016-02-01 Thread Amir Vadai
During initialization, tcf_exts_offload_init() is called to initialize the list of actions description. later on, the classifier description is prepared and sent to the switchdev using switchdev_port_flow_add(). When offloaded, fl_classify() is a NOP - already done in hardware. Signed-off-by: Ami