]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Avoid to write the RETA table when unnecessary
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Sun, 28 Jan 2018 11:53:37 +0000 (03:53 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 26 Feb 2018 17:09:15 +0000 (09:09 -0800)
commit9d622fd2007c04670e0b6825eceee83891b1ae9b
treed928c1ba62d84892eb0dd6575d1689e7d14ca104
parentf3554f0b1bce20c9270d956ff2ac87679118343f
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