OSDN Git Service

net/sched: act_ct: Enable hardware offload of flow table entires
authorPaul Blakey <paulb@mellanox.com>
Thu, 12 Mar 2020 10:23:09 +0000 (12:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2020 22:00:39 +0000 (15:00 -0700)
commitedd5861e597b7ec2fae2fa3bc8180164045b5075
tree53d58189c25c94f11c481b7361eb3f1570b3f261
parent8b3646d6e0c4ca4ba5615facaef1312d6d40d123
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>
include/net/flow_offload.h
include/net/tc_act/tc_ct.h
net/sched/act_ct.c
net/sched/cls_api.c