linux/drivers/net/igb
Alexander Duyck 9ca046d574 igb: do not check for vf_data if we didn't enable vfs
The driver is currently dumping a message in the log about failing to
allocate vf data when max_vfs is equal to 0.  This change makes it so the
error message is only displayed if we set max_vfs to a non zero value.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-11 02:55:16 -07:00
..
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00
e1000_82575.c igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_82575.h igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00
e1000_defines.h igb: support wol on second port 2009-03-14 12:41:03 -07:00
e1000_hw.h igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_mac.c igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mac.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mbx.c igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mbx.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_nvm.c igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_nvm.h igb: PCI-Express 82575 Gigabit Ethernet driver 2008-01-28 15:10:33 -08:00
e1000_phy.c igb: increase delay for copper link setup 2009-04-02 00:59:07 -07:00
e1000_phy.h igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_regs.h igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00
igb.h igb: remove IGB_DESC_UNUSED since it is better handled by a function call 2009-03-21 16:57:01 -07:00
igb_ethtool.c igb: cleanup igb loopback path 2009-04-02 00:59:08 -07:00
igb_main.c igb: do not check for vf_data if we didn't enable vfs 2009-04-11 02:55:16 -07:00