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>
This commit is contained in:
committed by
David S. Miller
parent
a7a7be6087
commit
f00cbf1968
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user