summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2022-11-06 15:34:17 -0500
committerPaolo Abeni <pabeni@redhat.com>2022-11-08 12:15:19 +0100
commita21b06e7319129994f339ed47f512bbe57b77f5b (patch)
tree9ac5350a35c09d95a4119866e29d344f7d8032fa /include/net/tc_act
parent1913894100ca53205f2d56091cb34b8eba1de217 (diff)
downloadlinux-a21b06e7319129994f339ed47f512bbe57b77f5b.tar.bz2
net: sched: add helper support in act_ct
This patch is to add helper support in act_ct for OVS actions=ct(alg=xxx) offloading, which is corresponding to Commit cae3a2627520 ("openvswitch: Allow attaching helpers to ct action") in OVS kernel part. The difference is when adding TC actions family and proto cannot be got from the filter/match, other than helper name in tb[TCA_CT_HELPER_NAME], we also need to send the family in tb[TCA_CT_HELPER_FAMILY] and the proto in tb[TCA_CT_HELPER_PROTO] to kernel. Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/net/tc_act')
-rw-r--r--include/net/tc_act/tc_ct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_ct.h b/include/net/tc_act/tc_ct.h
index 8250d6f0a462..b24ea2d9400b 100644
--- a/include/net/tc_act/tc_ct.h
+++ b/include/net/tc_act/tc_ct.h
@@ -10,6 +10,7 @@
#include <net/netfilter/nf_conntrack_labels.h>
struct tcf_ct_params {
+ struct nf_conntrack_helper *helper;
struct nf_conn *tmpl;
u16 zone;