exynos-linux-stable/drivers/net/ethernet/intel
Cambda Zhu f0b9cdde41 ixgbe: Fix calculation of queue with VFs and flow director on interface flap
[ Upstream commit 4fad78ad6422d9bca62135bbed8b6abc4cbb85b8 ]

This patch fixes the calculation of queue when we restore flow director
filters after resetting adapter. In ixgbe_fdir_filter_restore(), filter's
vf may be zero which makes the queue outside of the rx_ring array.

The calculation is changed to the same as ixgbe_add_ethtool_fdir_entry().

Signed-off-by: Cambda Zhu <cambda@linux.alibaba.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-05 13:05:50 +00:00
..
e1000 e1000: fix memory leaks 2019-11-12 19:16:07 +01:00
e1000e e1000e: add workaround for possible stalled packet 2019-10-05 12:30:27 +02:00
fm10k fm10k: Fix a potential NULL pointer dereference 2019-05-02 09:32:04 +02:00
i40e i40e: Prevent deleting MAC address from VF when set by PF 2019-11-25 09:52:05 +01:00
i40evf i40evf: fix merge error in older patch 2018-04-13 19:48:14 +02:00
igb igb: shorten maximum PHC timecounter update interval 2019-11-28 18:28:51 +01:00
igbvf igbvf: Use smp_rmb rather than read_barrier_depends 2017-11-30 08:39:08 +00:00
ixgb
ixgbe ixgbe: Fix calculation of queue with VFs and flow director on interface flap 2020-02-05 13:05:50 +00:00
ixgbevf ixgbevf: Remove limit of 10 entries for unicast filter list 2020-02-05 13:05:50 +00:00
e100.c e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait 2019-12-21 10:42:14 +01:00
Kconfig ixgbe: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile