diff options
| author | Brett Creeley <[email protected]> | 2019-11-08 14:23:23 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-11-22 21:15:04 +0000 |
| commit | e25f9152bc07de534b2b590ce6c052ea25dd8900 (patch) | |
| tree | fa0ca381a50a43abcb762b35cbf83324f9b11475 /drivers/net/ethernet/intel/ice/ice_dcb_lib.c | |
| parent | ice: Only disable VF state when freeing each VF resources (diff) | |
| download | kernel-e25f9152bc07de534b2b590ce6c052ea25dd8900.tar.gz kernel-e25f9152bc07de534b2b590ce6c052ea25dd8900.zip | |
ice: Fix setting coalesce to handle DCB configuration
Currently there can be a case where a DCB map is applied and there are
more interrupt vectors (vsi->num_q_vectors) than Rx queues (vsi->num_rxq)
and Tx queues (vsi->num_txq). If we try to set coalesce settings in this
case it will report a false failure. Fix this by checking if vector index
is valid with respect to the number of Tx and Rx queues configured.
Signed-off-by: Brett Creeley <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions
