i40e: Fix ethtool coalesce settings
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 4 Jun 2014 01:23:18 +0000 (01:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Jun 2014 01:18:59 +0000 (18:18 -0700)
commit5c2cebda438b888147f6dfd6d1423432d837c0ea
tree9686b5b218e6c68bc919f95ac23ea37a343aeeca
parentcde4cbc7800469c9b8424261b69c45a71a89caf4
i40e: Fix ethtool coalesce settings

This patch fixes the i40e_set_coalesce function to allow 0 as a disable
value.  Also, added message to user about invalid value and provides valid
range.

Change-ID: I6c9ff11a9861f2045bd543745a3d132999ffbbd8
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c