Re: [PATCH net] net: sched: fix tc_should_offload for specific clsact classes

2016-06-07 Thread David Miller
From: Daniel Borkmann Date: Mon, 6 Jun 2016 22:50:39 +0200 > When offloading classifiers such as u32 or flower to hardware, and the > qdisc is clsact (TC_H_CLSACT), then we need to differentiate its classes, > since not all of them handle ingress, therefore we must leave those in > software path

Re: [PATCH net] net: sched: fix tc_should_offload for specific clsact classes

2016-06-07 Thread John Fastabend
On 16-06-06 01:50 PM, Daniel Borkmann wrote: > When offloading classifiers such as u32 or flower to hardware, and the > qdisc is clsact (TC_H_CLSACT), then we need to differentiate its classes, > since not all of them handle ingress, therefore we must leave those in > software path. Add a .tcf_cl_o

[PATCH net] net: sched: fix tc_should_offload for specific clsact classes

2016-06-06 Thread Daniel Borkmann
When offloading classifiers such as u32 or flower to hardware, and the qdisc is clsact (TC_H_CLSACT), then we need to differentiate its classes, since not all of them handle ingress, therefore we must leave those in software path. Add a .tcf_cl_offload() callback, so we can generically handle them,