> -----Original Message-----
> From: Nipun Gupta <[email protected]>
> Sent: Thursday, May 25, 2023 3:38 PM
> To: [email protected]; [email protected]; [email protected];
> Harman Kalra <[email protected]>; [email protected];
> [email protected]
> Cc: [email protected]; [email protected];
> [email protected]; Nipun Gupta <[email protected]>
> Subject: [EXT] [PATCH v5 3/5] eal/interrupts: add IRQ count in interrupt
> handle
> 
> External Email
> 
> ----------------------------------------------------------------------
> Have total number of IRQ count support in interrupt handle.
> In case of VFIO this IRQ count is returned when
> VFIO_DEVICE_GET_IRQ_INFO ioctl is invoked. This IRQ_count can used by
> the devices to store/provide total number of interrupts available and to
> enable or disable these interrupts.
> 

Hi Nipun,

We already have "max_intr" field for the same purpose and its respective APIs
plt_intr_max_intr_set()/plt_intr_max_intr_get()

Thanks
Harman

Reply via email to