summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>2019-05-04 13:46:17 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-06 06:49:23 +0200
commitf00cbf1968145afbae385a867a66c69845e30711 (patch)
tree302cf5fead47b71179468b15a72c66b92a6ef29b /include
parentnet/sched: add sample action to the hardware intermediate representation (diff)
downloadlinux-f00cbf1968145afbae385a867a66c69845e30711.tar.xz
linux-f00cbf1968145afbae385a867a66c69845e30711.zip
net/sched: use the hardware intermediate representation for matchall
Extends matchall offload to make use of the hardware intermediate representation. More specifically, this patch moves the native TC actions in cls_matchall offload to the newer flow_action representation. This ultimately allows us to avoid a direct dependency on native TC actions for matchall. Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Jiri Pirko <jiri@mellanox.com> 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 d5e7a1af346f..c852ed502cc6 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -789,6 +789,7 @@ enum tc_matchall_command {
struct tc_cls_matchall_offload {
struct tc_cls_common_offload common;
enum tc_matchall_command command;
+ struct flow_rule *rule;
struct tcf_exts *exts;
unsigned long cookie;
};