diff options
author | Paul Blakey <paulb@mellanox.com> | 2020-03-12 13:23:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-13 01:00:39 +0300 |
commit | edd5861e597b7ec2fae2fa3bc8180164045b5075 (patch) | |
tree | 53d58189c25c94f11c481b7361eb3f1570b3f261 /include/net/flow_offload.h | |
parent | 8b3646d6e0c4ca4ba5615facaef1312d6d40d123 (diff) | |
download | linux-edd5861e597b7ec2fae2fa3bc8180164045b5075.tar.xz |
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.h | 1 |
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; |