]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: DR, Apply new accelerated modify action and decapl3
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Tue, 8 Nov 2022 09:56:11 +0000 (11:56 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 14 Apr 2023 22:06:22 +0000 (15:06 -0700)
commit62e40c8568251c65026712a90a9a486dc5d06d56
tree57ae32b5a7b3e21a8d02d0fa1460fad80b952949
parent0caebadda57b7f1740406b054ddff36cedf0bf39
net/mlx5: DR, Apply new accelerated modify action and decapl3

If there is support for pattern/args, use the new accelerated modify
header action for modify header and decap L3 actions.
Otherwise fall back to the old modify-header implementation.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v1.c
drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr_ste_v1.h