]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 20:20:36 +0000 (13:20 -0700)
commit935ec25dfa56f012af48155e9c2a35a7a10fdaea
treef95e38ebfa3f5b51d8982d159535793777567485
parent19ca28c306fcf825c165f6f3b9532bec479a60b4
net/mlx4_core: Don't issue PCIe speed/width checks for VFs

[ Upstream commit 83d3459a5928f18c9344683e31bc2a7c3c25562a ]

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

Fixes: b912b2f ('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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx4/main.c