Re: [PATCH 1/2] ixgbe: Avoid to write the RETA table when unnecessary.

2018-01-23 Thread Jeff Kirsher
On Tue, 2018-01-23 at 07:24 -0800, Tonghao Zhang wrote: > 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 > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 3 ++- > 1 file changed, 2 i

[PATCH 1/2] ixgbe: Avoid to write the RETA table when unnecessary.

2018-01-23 Thread Tonghao Zhang
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 --- drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/i