diff options
author | Cambda Zhu <cambda@linux.alibaba.com> | 2019-11-27 17:03:55 +0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-01-09 09:21:40 -0800 |
commit | 4fad78ad6422d9bca62135bbed8b6abc4cbb85b8 (patch) | |
tree | 944ff322274f58fbba53bea6a9104599fcdc9e34 /fs | |
parent | aa604651d523b1493988d0bf6710339f3ee60272 (diff) | |
download | linux-4fad78ad6422d9bca62135bbed8b6abc4cbb85b8.tar.bz2 |
ixgbe: Fix calculation of queue with VFs and flow director on interface flap
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions