From: Jacob Keller Date: Sat, 19 Jul 2014 07:17:17 +0000 (+0000) Subject: ixgbe: don't check minimum link when direct assigned to virtual machine X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~92^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caafb95d6952c4c977c1b9ddf32bb56bfcda8059;p=pandora-kernel.git ixgbe: don't check minimum link when direct assigned to virtual machine This patch prevents the display of the minimum link qualification check if we might be in a virtual machine. This check is incorrect and misleading in this case, since we actually don't really know what the available bandwidth is. To do so, we simply check whether each function on the bus matches our device id. If it doesn't the most likely scenario is that we're directly assigned to a virtual machine. Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed