struct ice_irq_entry { unsignedint index; bool dynamic; /* allocation type flag */
};
struct ice_irq_tracker { struct xarray entries;
u16 num_entries; /* total vectors available */
u16 num_static; /* preallocated entries */
};
struct ice_virt_irq_tracker { unsignedlong *bm; /* bitmap to track irq usage */
u32 num_entries; /* First MSIX vector used by SR-IOV VFs. Calculated by subtracting the * number of MSIX vectors needed for all SR-IOV VFs from the number of * MSIX vectors allowed on this PF.
*/
u32 base;
};
int ice_init_interrupt_scheme(struct ice_pf *pf); void ice_clear_interrupt_scheme(struct ice_pf *pf);