OSDN Git Service

net/mlx5e: Refactor ct to use post action infrastructure
authorChris Mi <cmi@nvidia.com>
Tue, 17 Aug 2021 03:23:09 +0000 (11:23 +0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 20 Aug 2021 04:50:37 +0000 (21:50 -0700)
commitf0da4daa34130ba0e5286df4335f04a3f7e61b34
treed56202c4841074dc952609b552b6f2a39f98388f
parent6f0b692a5aa96b4fd0f14a2ac54b590cd9b9f192
net/mlx5e: Refactor ct to use post action infrastructure

Move post action table management to common library providing
add/del/get API. Refactor the ct action offload to use the common
API.

Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.h
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h
drivers/net/ethernet/mellanox/mlx5/core/en_rep.h
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c