net/mlx5e: Increase Striding RQ minimum size limit to 4 multi-packet WQEs
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 12 Jan 2017 15:11:45 +0000 (17:11 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 10 Nov 2017 06:39:21 +0000 (15:39 +0900)
commitd1c61e6d79ea0d4d53dc18bcd2db30ef2d99cfa7
tree1b0014aefd9e02b79331307f34f59fc541921724
parent2e50b2619538ea0224c037f6fa746023089e0654
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: 461017cb006a ("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>
drivers/net/ethernet/mellanox/mlx5/core/en.h