Hi Garrett,

Thanks for the reply!!

Just out of curiosity,
1) what could be the reasons/usecases for supporting odd values for MSIX
vectors from the os perspective?
2) also why the limitation of power of 2 is for MSI and might not be there
for MSI-X?

- Shriosu


On Mon, Aug 8, 2011 at 10:50 PM, Garrett D'Amore <[email protected]> wrote:

> **
> 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 
> [email protected]http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>
>
>
> _______________________________________________
> 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