ice: Implement ethtool hook for RSS switch
authorMd Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
Thu, 20 Sep 2018 00:23:17 +0000 (17:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 2 Oct 2018 14:17:18 +0000 (07:17 -0700)
commit492af0ab4f57136d19f0fa3a9c636f12ae70853c
treecc0a049680f4f3feedc0b10bd4855e8d656b031c
parenteb0208ec42d319bc09fead0e1afe2bc0c28aeca0
ice: Implement ethtool hook for RSS switch

This patch implements ethtool hook for enabling/disabling
RSS. While disabling RSS, the LUT should be cleared. And
the LUT should be reconfigured while enabling RSS.

Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_lib.h
drivers/net/ethernet/intel/ice/ice_main.c