diff options
author | Cambda Zhu <[email protected]> | 2019-11-27 17:03:55 +0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2020-01-09 09:21:40 -0800 |
commit | 4fad78ad6422d9bca62135bbed8b6abc4cbb85b8 (patch) | |
tree | 944ff322274f58fbba53bea6a9104599fcdc9e34 /drivers/fpga/fpga-mgr.c | |
parent | aa604651d523b1493988d0bf6710339f3ee60272 (diff) |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions