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>
This commit is contained in:

committed by
David S. Miller

parent
8b3646d6e0
commit
edd5861e59
@@ -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;
|
||||
|
Reference in New Issue
Block a user