OSDN Git Service

net/mlx5e: Add sample and ptype to tc_action infra
authorRoi Dayan <roid@nvidia.com>
Wed, 27 Oct 2021 06:52:36 +0000 (09:52 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Dec 2021 05:29:44 +0000 (21:29 -0800)
commit3929ff583d8ebd9450c7f94fa5f81b9a1f102506
tree3af5c989585e172613abcd3aa497f01e40807d33
parent758bc13422774c4abad60cf28012d53af5dd932c
net/mlx5e: Add sample and ptype to tc_action infra

Add parsing support by implementing struct mlx5e_tc_act
for this action.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ptype.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/sample.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c