summaryrefslogtreecommitdiff
path: root/include/net/tc_act
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2020-03-03 16:07:49 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-04 02:09:12 +0300
commitc34b961a249211bdb08d03bdecfb31ff22eb002f (patch)
tree7f8254b128919bd9c0ce2cfc07e791931a03a646 /include/net/tc_act
parenta7442ec3bf89c244328cb50a66d549e9172bad52 (diff)
downloadlinux-c34b961a249211bdb08d03bdecfb31ff22eb002f.tar.xz
net/sched: act_ct: Create nf flow table per zone
Use the NF flow tables infrastructure for CT offload. Create a nf flow table per zone. Next patches will add FT entries to this table, and do the software offload. Signed-off-by: Paul Blakey <paulb@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tc_act')
-rw-r--r--include/net/tc_act/tc_ct.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_ct.h b/include/net/tc_act/tc_ct.h
index a8b156402873..cf3492e2a6a4 100644
--- a/include/net/tc_act/tc_ct.h
+++ b/include/net/tc_act/tc_ct.h
@@ -25,6 +25,8 @@ struct tcf_ct_params {
u16 ct_action;
struct rcu_head rcu;
+
+ struct tcf_ct_flow_table *ct_ft;
};
struct tcf_ct {