net/mlx5e: Disable Striding RQ when PCI is slower than link
authorTariq Toukan <tariqt@mellanox.com>
Sun, 11 Feb 2018 09:58:30 +0000 (11:58 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Mar 2018 00:17:27 +0000 (17:17 -0700)
commit291f445eab9b2b11c8dd05ae1a0943c328cb9b6b
tree345dcfe69119f0433e1532acd02526af1849877d
parent0608d4dbaf4ee30a33def4c31b78bc664c80ff79
net/mlx5e: Disable Striding RQ when PCI is slower than link

We turn the feature off for servers with PCI BW bounded
by a threshold (16G) and lower than MAX LINK BW.
This improves the effectiveness of CQE compression feature,
that is defaulted to ON for the same case.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c