diff options
| author | Cambda Zhu <cambda@linux.alibaba.com> | 2019-11-27 17:03:55 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-05 13:03:42 +0000 |
| commit | 3864a2a1fbb6714fe37e409e35886b3f5a053e6e (patch) | |
| tree | 340dd7ba45159714d6f08e38043a77d4742496bf /fs/jbd2/commit.c | |
| parent | aa3971194e4a99f6fe42b856c872ebfcf0204276 (diff) | |
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
