]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: DR, Add support for writing modify header argument
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Tue, 8 Nov 2022 12:27:03 +0000 (14:27 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 14 Apr 2023 22:06:21 +0000 (15:06 -0700)
commit4605fc0a2b652070f45b0a17967c2cb11a9e5a6e
tree4efbd5540236fde6630853e04db886b5f0575729
parentde69696b6eeef3c0704fdb3bcd473ddb4757130e
net/mlx5: DR, Add support for writing modify header argument

The accelerated modify header arguments are written in the HW area
with special WQE and specific data format.
New function was added to support writing of new argument type.
Note that GTA WQE is larger than READ and WRITE, so the queue
management logic was updated to support this.

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