ixgbe: Avoid to write the RETA table when unnecessary
commit60f4b645492592501868c4b7a361f3f972b73196
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Sun, 28 Jan 2018 11:53:37 +0000 (28 03:53 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 26 Feb 2018 17:09:15 +0000 (26 09:09 -0800)
treed928c1ba62d84892eb0dd6575d1689e7d14ca104
parent8f611fb046126eeee4a768a6ad50956f2aea9194
ixgbe: Avoid to write the RETA table when unnecessary

If indir == 0 in the ixgbe_set_rxfh(), it is unnecessary
to write the HW. Because redirection table is not changed.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c