]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit0608d4dbaf4ee30a33def4c31b78bc664c80ff79
treed886f03c14acba9726948db0b8f5f30e31b7d7ee
parent5d22d47b9ed96eddb35821dc2cc4f629f45827f7
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