]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Add mirred/redirect to tc action infra
authorRoi Dayan <roid@nvidia.com>
Wed, 21 Jul 2021 07:27:50 +0000 (10:27 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Dec 2021 05:29:43 +0000 (21:29 -0800)
commitab3f3d5efffaa26ae67c8c92524424b50df5cd13
tree10f58d227343fd91e9617bfb5057620f8dbd1fd5
parent163b766f566294bf7449bf4fb33ad4ae092dce03
net/mlx5e: Add mirred/redirect 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/mirred.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred_nic.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/tc_priv.h
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c