summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2016-09-21 11:44:02 +0100
committerDavid S. Miller <davem@davemloft.net>2016-09-21 19:50:03 -0400
commit68d640630d4ef2a4bf3f68b5073dec5e4c4f878b (patch)
treefa2089902d6b8edfbe76f7faab2867fea3b6f64e /include
parent7533fdc0f77f207fcc370b10965f4bcee82dfedf (diff)
downloadlinux-68d640630d4ef2a4bf3f68b5073dec5e4c4f878b.tar.gz
linux-68d640630d4ef2a4bf3f68b5073dec5e4c4f878b.tar.bz2
linux-68d640630d4ef2a4bf3f68b5073dec5e4c4f878b.zip
net: cls_bpf: allow offloaded filters to update stats
Call into offloaded filters to update stats. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/pkt_cls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 57af9f3032ff..5ccaa4be7d96 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -490,6 +490,7 @@ enum tc_clsbpf_command {
TC_CLSBPF_ADD,
TC_CLSBPF_REPLACE,
TC_CLSBPF_DESTROY,
+ TC_CLSBPF_STATS,
};
struct tc_cls_bpf_offload {