linux/drivers/net/ethernet/intel
Jacob Keller 170e85430b ixgbe: add warning when max_vfs is out of range.
The max_vfs parameter has a limit of 63 and silently fails (adding 0 vfs) when
it is out of range. This patch adds a warning so that the user knows something
went wrong. Also, this patch moves the warning in ixgbe_enable_sriov() to where
max_vfs is checked, so that even an out of range value will show the deprecated
warning. Previously, an out of range parameter didn't even warn the user to use
the new sysfs interface instead.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-11 00:19:36 -05:00
..
e1000 e1000: fix wrong queue idx calculation 2013-11-01 05:45:29 -07:00
e1000e intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
i40e i40e: fix error return code in i40e_probe() 2013-10-29 04:29:25 -07:00
igb igb: Update link modes display in ethtool 2013-11-11 00:19:35 -05:00
igbvf igbvf: add missing iounmap() on error in igbvf_probe() 2013-10-24 05:11:16 -07:00
ixgb intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
ixgbe ixgbe: add warning when max_vfs is out of range. 2013-11-11 00:19:36 -05:00
ixgbevf ixgbe: cleanup IXGBE_DESC_UNUSED 2013-11-01 06:20:10 -07:00
e100.c net: e100: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
Kconfig i40e: include i40e in kernel proper 2013-09-11 02:28:40 -07:00
Makefile i40e: include i40e in kernel proper 2013-09-11 02:28:40 -07:00