]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Improve MSI-X fallback logic
authorTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 27 Jan 2021 00:22:17 +0000 (16:22 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 9 Feb 2021 00:27:01 +0000 (16:27 -0800)
commit6ec278cfcc2ebf47afbfcdf6109d5c908b4876d3
treef77ddc65943ccc59f640eecd7150fc4f40cfef2a
parent1350967f694728e6cb7dfad9ada5a10e28a3fa5c
ice: Improve MSI-X fallback logic

Currently if the driver is unable to get all the MSI-X vectors it wants, it
falls back to the minimum configuration which equates to a single Tx/Rx
traffic queue pair. Instead of using the minimum configuration, if given
more vectors than the minimum, utilize those vectors for additional traffic
queues after accounting for other interrupts.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c