]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit106c07a49506359f7663770ef33f4997d68316c1
tree80d7a07770a02a12c3d4797a12007d4a02ccfe9d
parent56f0569e3ab741d3c5cebc4b4c882b471df53738
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