]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Unify slow PCI heuristic
authorTariq Toukan <tariqt@mellanox.com>
Wed, 17 Jan 2018 15:39:07 +0000 (17:39 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Mar 2018 00:17:26 +0000 (17:17 -0700)
commit0a2556c5e60a02decd7e5c23c669e9a164d78b67
treed886f03c14acba9726948db0b8f5f30e31b7d7ee
parent419ca3eb56011fdb75f19622db3d85530fa6ceac
net/mlx5e: Unify slow PCI heuristic

Get the link/pci speed query and logic into a single function.
Unify the heuristics and use a single PCI threshold (16G) for all.

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
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h