Files
linux/drivers/net
Cambda Zhu 4e5ba53d2a ixgbe: Fix calculation of queue with VFs and flow director on interface flap
[ Upstream commit 4fad78ad64 ]

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>
2023-05-15 16:54:42 +09:00
..
2016-06-15 22:06:06 -07:00
2023-05-15 14:32:27 +09:00
2016-05-09 00:00:28 -04:00
2018-03-22 09:17:57 +01:00
2023-05-15 16:32:48 +09:00