[PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Oct 9 15:24:08 EST 2013


On Tue, 2013-10-08 at 20:55 -0700, H. Peter Anvin wrote:
> Why not add a minimum number to pci_enable_msix(), i.e.:
> 
> pci_enable_msix(pdev, msix_entries, nvec, minvec)
> 
> ... which means "nvec" is the number of interrupts *requested*, and
> "minvec" is the minimum acceptable number (otherwise fail).

Which is exactly what Ben (the other Ben :-) suggested and that I
supports...

Cheers,
Ben.




More information about the Linuxppc-dev mailing list