android_kernel_xiaomi_sm8350/drivers/net/ixgbe
Andy Gospodarek bded64a7ff ixgbe/igb: catch invalid VF settings
Some ixgbe cards put an invalid VF device ID in the PCIe SR-IOV
capability.  The ixgbe driver is only valid for PFs or non SR-IOV
hardware.  It seems that the same problem could occur on igb hardware as
well, so if we discover we are trying to initialize a VF in ixbge_probe
or igb_probe, print an error and exit.

Based on a patch for ixgbe from Chris Wright <chrisw@sous-sol.org>.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Cc: Chris Wright <chrisw@sous-sol.org>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-07-21 13:48:55 -07:00
..
ixgbe_82598.c ixgbe:add support for a new 82599 10G Base-T device 2010-05-20 23:07:06 -07:00
ixgbe_82599.c ixgbe:add support for a new 82599 10G Base-T device 2010-05-20 23:07:06 -07:00
ixgbe_common.c ixgbe: return IXGBE_ERR_RAR_INDEX when out of range 2010-06-03 03:28:28 -07:00
ixgbe_common.h ixgbe: Refactor common code between 82598 & 82599 to accommodate new hardware 2010-05-13 21:07:34 -07:00
ixgbe_dcb_82598.c
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c
ixgbe_dcb_82599.h
ixgbe_dcb_nl.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_ethtool.c ixgbe: fix automatic LRO/RSC settings for low latency 2010-06-13 18:20:53 -07:00
ixgbe_fcoe.c ixgbe: remove some redundant code in setting FCoE FIP filter 2010-05-18 19:44:18 -07:00
ixgbe_fcoe.h
ixgbe_main.c ixgbe/igb: catch invalid VF settings 2010-07-21 13:48:55 -07:00
ixgbe_mbx.c
ixgbe_mbx.h
ixgbe_phy.c ixgbe: add comment on SFP+ ID for Active DA 2010-06-16 14:47:30 -07:00
ixgbe_phy.h ixgbe:add support for a new 82599 10G Base-T device 2010-05-20 23:07:06 -07:00
ixgbe_sriov.c ixgbe: Streamline MC filter setup for VFs 2010-05-06 00:31:44 -07:00
ixgbe_sriov.h
ixgbe_type.h ixgbe: return IXGBE_ERR_RAR_INDEX when out of range 2010-06-03 03:28:28 -07:00
ixgbe.h ixgbe:add support for a new 82599 10G Base-T device 2010-05-20 23:07:06 -07:00
Makefile