]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:08 +0000 (22:03 -0800)
commita7d0c8f94f816f976108643a858c86406a734a2f
treee3e007e0a7640d45ad384aec6168d740374fc2f7
parent71999b9012d10aa4e887bf07b57de95d7f87ecd8
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>
Orabug: 25394529
(cherry picked from commit 106c07a49506359f7663770ef33f4997d68316c1)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_pci.c