You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
net/mlx5e: CT: Offload established flows
Register driver callbacks with the nf flow table platform. FT add/delete events will create/delete FTE in the CT/CT_NAT tables. Restoring the CT state on miss will be added in the following patch. Signed-off-by: Paul Blakey <paulb@mellanox.com> Reviewed-by: Oz Shlomo <ozsh@mellanox.com> Reviewed-by: Roi Dayan <roid@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
4c3844d9e9
commit
ac991b48d4
File diff suppressed because it is too large
Load Diff
@@ -15,10 +15,13 @@ struct mlx5e_priv;
|
||||
|
||||
struct mlx5_ct_flow;
|
||||
|
||||
struct nf_flowtable;
|
||||
|
||||
struct mlx5_ct_attr {
|
||||
u16 zone;
|
||||
u16 ct_action;
|
||||
struct mlx5_ct_flow *ct_flow;
|
||||
struct nf_flowtable *nf_ft;
|
||||
};
|
||||
|
||||
#define zone_to_reg_ct {\
|
||||
|
||||
Reference in New Issue
Block a user