Skip to content

Commit d1c61e6

Browse files
Eugenia EmantayevSaeed Mahameed
authored andcommitted
net/mlx5e: Increase Striding RQ minimum size limit to 4 multi-packet WQEs
This is to prevent the case of working with a single MPWQE (1 WQE is always reserved as RQ is linked-list). When the WQE is fully consumed, HW should still have available buffer in order not to drop packets. Fixes: 461017c ("net/mlx5e: Support RX multi-packet WQE (Striding RQ)") Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Cc: kernel-team@fb.com Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
1 parent 2e50b26 commit d1c61e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/ethernet/mellanox/mlx5/core

drivers/net/ethernet/mellanox/mlx5/core/en.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
#define MLX5E_PARAMS_DEFAULT_LOG_RQ_SIZE 0xa
6868
#define MLX5E_PARAMS_MAXIMUM_LOG_RQ_SIZE 0xd
6969

70-
#define MLX5E_PARAMS_MINIMUM_LOG_RQ_SIZE_MPW 0x1
70+
#define MLX5E_PARAMS_MINIMUM_LOG_RQ_SIZE_MPW 0x2
7171
#define MLX5E_PARAMS_DEFAULT_LOG_RQ_SIZE_MPW 0x3
7272
#define MLX5E_PARAMS_MAXIMUM_LOG_RQ_SIZE_MPW 0x6
7373

0 commit comments

Comments
 (0)