OSDN Git Service

net/mlx5e: Use multi table support for CT and sample actions
authorRoi Dayan <roid@nvidia.com>
Wed, 1 Dec 2021 11:27:37 +0000 (13:27 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 17 Feb 2022 07:55:16 +0000 (23:55 -0800)
commita81283263bb0c38b52fce6d599c2434a8d232dd6
treeaf61ddeb1e2d08023ec097467dfb04ca447ac08d
parent8300f225268be9ee2c0daf5a3f23929fcdcbf213
net/mlx5e: Use multi table support for CT and sample actions

CT and sample actions use post actions for their implementation.
Flag those actions as multi table actions so the post act infrastructure
will handle the post actions allocation.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ct.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/sample.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/sample.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c