igb: report unsupported ethtool settings in set_coalesce
authorTodd Fujinaka <todd.fujinaka@intel.com>
Thu, 4 Jun 2015 21:26:56 +0000 (14:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 Jul 2015 12:06:14 +0000 (05:06 -0700)
commit0c5bbeb8839172990e3b8aa82ae3c166e85a09bc
tree0bcb7d1ec7fa5a72c97060b51066cc5cf1a2c610
parent7faae96421870ed990b0a84797c6b2377e81d079
igb: report unsupported ethtool settings in set_coalesce

There are many settings possible using ethtool -C/--coalesce, but not
all of them are supported in igb. Report failure when an unsupported
option is set.

Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_ethtool.c