> -----Original Message-----
> From: Michal Swiatkowski <[email protected]> 
> Sent: Friday, September 11, 2026 5:49 AM
> To: [email protected]
> Cc: [email protected]; Michal Swiatkowski 
> <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>
> Subject: [PATCH iwl-next v2 08/10] ice: use libie_irq for interrupts managing
> 
> Change interrupts code to fit the libie_irq calls.
> 
> There is not many difference. Bool for dynamic alloc in libie is changed to 
> enum for static and dynamic. Rest code is the same. Instead of custom 
> ice_irq_tracker there is libie_irq that tracks the interrupts.
> 
> Code fallback to static when there is not more dynamic. Previously it first 
> used static part. Getting dynamic first better fit the lib code. It isn't 
> breaking current driver code.
> 
> Dynamic alloc is always set to true if there is support. In libie_irq code 
> check for dynamic support is done inside. LIBIE_IRQ_ANY can be always pass in 
> case of getting interrupts for VSI. If there is no platform support it is 
> changed to LIBIE_IRQ_STATIC inside libie code.
> 
> Reviewed-by: Aleksandr Loktionov <[email protected]>
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
>  drivers/net/ethernet/intel/Kconfig        |   1 +
>  drivers/net/ethernet/intel/ice/ice.h      |   5 +-
>  drivers/net/ethernet/intel/ice/ice_base.c |   4 +-
>  drivers/net/ethernet/intel/ice/ice_idc.c  |   4 +-
>  drivers/net/ethernet/intel/ice/ice_irq.c  | 181 ++--------------------  
> drivers/net/ethernet/intel/ice/ice_irq.h  |  14 --
>  drivers/net/ethernet/intel/ice/ice_lib.c  |   3 -
>  drivers/net/ethernet/intel/ice/ice_main.c |  15 +-
>  drivers/net/ethernet/intel/libie/irq.c    |  30 +++-
>  include/linux/net/intel/libie/irq.h       |   2 +
>  10 files changed, 51 insertions(+), 208 deletions(-)

Tested-by: Alexander Nowlin <[email protected]>

Reply via email to