diff options
| author | Michal Swiatkowski <[email protected]> | 2024-12-03 06:58:11 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-02-05 17:04:57 +0000 |
| commit | 79d97b8cf9a8500e2a18bb37f96268b17b7e7dd5 (patch) | |
| tree | 51d738ae8b92c230f05edeb4ec8364e48d48d0ce /drivers/net/ethernet/intel/ice/ice.h | |
| parent | ice: devlink PF MSI-X max and min parameter (diff) | |
| download | kernel-79d97b8cf9a8500e2a18bb37f96268b17b7e7dd5.tar.gz kernel-79d97b8cf9a8500e2a18bb37f96268b17b7e7dd5.zip | |
ice: remove splitting MSI-X between features
With dynamic approach to alloc MSI-X there is no sense to statically
split MSI-X between PF features.
Splitting was also calculating needed MSI-X. Move this part to separate
function and use as max value.
Remove ICE_ESWITCH_MSIX, as there is no need for additional MSI-X for
switchdev.
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/ice/ice.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h index d041b04ff324..c78bd45cf016 100644 --- a/drivers/net/ethernet/intel/ice/ice.h +++ b/drivers/net/ethernet/intel/ice/ice.h @@ -98,8 +98,6 @@ #define ICE_MIN_MSIX (ICE_MIN_LAN_TXRX_MSIX + ICE_MIN_LAN_OICR_MSIX) #define ICE_FDIR_MSIX 2 #define ICE_RDMA_NUM_AEQ_MSIX 4 -#define ICE_MIN_RDMA_MSIX 2 -#define ICE_ESWITCH_MSIX 1 #define ICE_NO_VSI 0xffff #define ICE_VSI_MAP_CONTIG 0 #define ICE_VSI_MAP_SCATTER 1 |
