Greg> Hm, or does it really help for the driver to specify Greg> different numbers of msi-x vectors? Greg> Roland, any ideas here? You seem to be the only one who has Greg> actually used the msix code so far. Yes, I think that the driver definitely needs to be in control of how many MSI-X interrupts it gets. The current mthca driver knows that it has three different event queues -- one for firmware command events, one for async events such as link up/down, and one for actual tx/rx completions -- and uses a separate MSI-X message for each one. Pretty soon I'm going to want to split the tx/rx event queue into one event queue per CPU, so that applications can have their completions events delivered to the same CPU where they're running, so I'll want to bump up the number of MSI-X entries I request. I'm sure other MSI-X capable devices can slice and dice things differently. - R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Andi Kleen <ak@suse.de>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Grant Grundler <grundler@parisc-linux.org>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- References:
- [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Greg KH <gregkh@suse.de>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Andrew Vasquez <andrew.vasquez@qlogic.com>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Greg KH <gregkh@suse.de>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Greg KH <gregkh@suse.de>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- From: Greg KH <gregkh@suse.de>
- [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- Prev by Date: Re: Kernel 2.6.12-rc6-mm1 & Chelsio driver
- Next by Date: Re: Bizarre oops after suspend to RAM (was: Re: [ACPI] Resume from Suspend to RAM)
- Previous by thread: Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- Next by thread: Re: [RFC PATCH] PCI: remove access to pci_[enable|disable]_msi() for drivers
- Index(es):
![]() |