diff options
| author | Daniel Borkmann <[email protected]> | 2016-06-06 20:50:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-07 23:59:53 +0000 |
| commit | 92c075dbdeed02bdf293cb0f513bad70aa714b8d (patch) | |
| tree | f15e2f03239246b5927ac2975feb7ee1e55a1ff7 /net/ipv6/tcp_ipv6.c | |
| parent | act_police: fix a crash during removal (diff) | |
| download | kernel-92c075dbdeed02bdf293cb0f513bad70aa714b8d.tar.gz kernel-92c075dbdeed02bdf293cb0f513bad70aa714b8d.zip | |
net: sched: fix tc_should_offload for specific clsact classes
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, tested on ixgbe.
Fixes: 10cbc6843446 ("net/sched: cls_flower: Hardware offloaded filters statistics support")
Fixes: 5b33f48842fa ("net/flower: Introduce hardware offload support")
Fixes: a1b7c5fd7fe9 ("net: sched: add cls_u32 offload hooks for netdevs")
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
