OpenCloudOS-Kernel/drivers/net/ethernet/intel
David Ertman 5bb7317608 e1000e: Fix not generating an error on invalid load parameter
Valid values for InterruptThrottleRate are 10-100000, or one of
0, 1, 3, 4.  '2' is not valid.  This is a legacy from the branching
from the e1000 driver code that e1000e was based from.

Prior to this patch, if the e1000e driver  was loaded with a forced
invalid InterruptThrottleRate of '2', then no throttle rate would be
set and no error message generated.

Now, a message will be generated that an invalid value was used and the
value for InterruptThrottleRate will be set to the default value.

Signed-off-by: Dave Ertman <davidx.m.ertman@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-07 23:06:41 -08:00
..
e1000 drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
e1000e e1000e: Fix not generating an error on invalid load parameter 2014-03-07 23:06:41 -08:00
i40e i40e/i40evf: Bump pf&vf build versions 2014-03-06 18:42:08 -08:00
i40evf i40e/i40evf: Bump pf&vf build versions 2014-03-06 18:42:08 -08:00
igb igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00
igbvf igbvf: Use pci_enable_msix_range() instead of pci_enable_msix() 2014-02-18 15:33:31 -05:00
ixgb drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
ixgbe ixgbe: implement SIOCGHWTSTAMP ioctl 2014-03-02 19:06:44 -05:00
ixgbevf ixgbevf: add check for CHECKSUM_PARTIAL when doing TSO 2014-02-28 12:40:57 -05:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00
e100.c e100: Fix "disabling already-disabled device" warning 2014-01-30 16:46:14 -08:00