aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_i225.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <[email protected]>2024-12-03 06:58:14 +0000
committerTony Nguyen <[email protected]>2025-02-05 17:04:57 +0000
commita8c2d3932c1106af2764cc6869b29bcf3cb5bc47 (patch)
treebb3786a9867d3366cd489eada53c842711ba94d6 /drivers/net/ethernet/intel/igc/igc_i225.c
parentice, irdma: move interrupts code to irdma (diff)
downloadkernel-a8c2d3932c1106af2764cc6869b29bcf3cb5bc47.tar.gz
kernel-a8c2d3932c1106af2764cc6869b29bcf3cb5bc47.zip
ice: treat dyn_allowed only as suggestion
It can be needed to have some MSI-X allocated as static and rest as dynamic. For example on PF VSI. We want to always have minimum one MSI-X on it, because of that it is allocated as a static one, rest can be dynamic if it is supported. Change the ice_get_irq_res() to allow using static entries if they are free even if caller wants dynamic one. Adjust limit values to the new approach. Min and max in limit means the values that are valid, so decrease max and num_static by one. Set vsi::irq_dyn_alloc if dynamic allocation is supported. Reviewed-by: Jacob Keller <[email protected]> Reviewed-by: Wojciech Drewek <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> Signed-off-by: Michal Swiatkowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_i225.c')
0 files changed, 0 insertions, 0 deletions