summaryrefslogtreecommitdiff
path: root/include/net/flow_offload.h
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2020-03-12 12:23:09 +0200
committerDavid S. Miller <davem@davemloft.net>2020-03-12 15:00:39 -0700
commitedd5861e597b7ec2fae2fa3bc8180164045b5075 (patch)
tree53d58189c25c94f11c481b7361eb3f1570b3f261 /include/net/flow_offload.h
parent8b3646d6e0c4ca4ba5615facaef1312d6d40d123 (diff)
downloadlinux-edd5861e597b7ec2fae2fa3bc8180164045b5075.tar.gz
net/sched: act_ct: Enable hardware offload of flow table entires
Pass the zone's flow table instance on the flow action to the drivers. Thus, allowing drivers to register FT add/del/stats callbacks. Finally, enable hardware offload on the flow table instance. 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/flow_offload.h')
-rw-r--r--include/net/flow_offload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h
index a039c900c384..ceaa3628796d 100644
--- a/include/net/flow_offload.h
+++ b/include/net/flow_offload.h
@@ -225,6 +225,7 @@ struct flow_action_entry {
struct { /* FLOW_ACTION_CT */
int action;
u16 zone;
+ struct nf_flowtable *flow_table;
} ct;
struct {
unsigned long cookie;