From: Eyal Perry Date: Sun, 5 Jan 2014 15:41:08 +0000 (+0200) Subject: net/mlx4_core: Warn if device doesn't have enough PCI bandwidth X-Git-Tag: v3.14-rc1~94^2~280 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b912b2f8fc71df4c3ffa7a9fe2c2227e8bcdaa07;p=pandora-kernel.git net/mlx4_core: Warn if device doesn't have enough PCI bandwidth Check if the device get enough bandwidth from the entire PCI chain to satisfy its capabilities. This patch determines the PCIe device's bandwidth capabilities by reading its PCIe Link Capabilities registers and then call the pcie_get_minimum_link function to ensure that the adapter is hooked into a slot which is capable of providing the necessary bandwidth capabilities. Signed-off-by: Eyal Perry Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed