On 08/08/2011 02:50 AM, s p wrote:

Hi,

Is it possible for ddi_intr_alloc() to return an odd value (Eg: 3,5, 7, etc) for *actualp (which is pointer to the number of interrupts actually allocated) for MSIX?
Or would it always return a value which is power of 2?

The implementation today always returns a power of 2, last I looked. (Hmm... that might have been for MSI rather than MSI-X.)

I would not depend on that though.  It could change.

    - Garrett


Thanks,
- Shriosu


_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to