]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: update fm10k_slot_warn to use pcie_get_minimum link
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 15 Jun 2015 22:00:55 +0000 (15:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Sep 2015 00:05:28 +0000 (17:05 -0700)
commitcf4d884a40deeb279596b59e8138de2a35eb17de
tree80d7a07770a02a12c3d4797a12007d4a02ccfe9d
parent0bdcfbc780e42eb907c4747e02e3407ddec62cd6
fm10k: update fm10k_slot_warn to use pcie_get_minimum link

This is useful in cases where we connect to a slot at Gen3, but the slot
is behind a bus which only connected at Gen2. This generally only
happens when a PCIe switch is in the sequence of devices, and can be
very confusing when you see slow performance with no obvious cause.

I am aware this patch has a few lines that break 80 characters, but
there does not seem to be a readable way to format them to less than 80
characters. Suggestions welcome.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c