]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ebef9a0eb243c019832b1063823b56a8e2dbf37
tree345dcfe69119f0433e1532acd02526af1849877d
parent0a2556c5e60a02decd7e5c23c669e9a164d78b67
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