]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Don't issue PCIe speed/width checks for VFs
authorEyal Perry <eyalpe@mellanox.com>
Sun, 4 May 2014 14:07:25 +0000 (17:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 19:48:22 +0000 (15:48 -0400)
commitab9697e525790be6a60705d745ddd90ff450acc6
treefdfffa99cc31f94e8780fa255a4a79ccc0785897
parentc756a5a6816ad5c79b6fdd30df258054a036d617
net/mlx4_core: Don't issue PCIe speed/width checks for VFs

Carrying out PCI speed/width checks through pcie_get_minimum_link()
on VFs yield wrong results, so remove them.

Fixes: 9d5f632 ('net/mlx4_core: Warn if device doesn't have enough PCI bandwidth')
Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c