]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: DR, Modify header action of size 1 optimization
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Tue, 15 Nov 2022 16:19:39 +0000 (18:19 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 14 Apr 2023 22:06:22 +0000 (15:06 -0700)
commit40ff097f2503869fe5d96f796cf84ad4b17eaa9b
tree74cb70157fa804b885d4529692e42a760e211ab8
parent947e258537ea43098d778b3315bde4fe1a1a10a3
net/mlx5: DR, Modify header action of size 1 optimization

Set modify header action of size 1 directly on the STE for supporting
devices, thus reducing number of hops and cache misses.

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_action.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v1.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h