History

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.

Eugenia Emantayev committed 9 years ago

Commit d1c61e61 parent 2e50b261 file · +1 −1Browse files

Unified · Split

drivers/net/ethernet/mellanox/mlx5/core/en.h+1−1
@@ -67,7 +67,7 @@ · 66 unmodified lines
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