Messages in this thread |  | | From | "Nguyen, Tom L" <> | Subject | RE: RFC Proposal to enable MSI support in Linux kernel | Date | Mon, 19 May 2003 14:46:59 -0700 |
| |
By default, one single message (MSI) is assigned to any MSI/MSI-X capable device regardless of whether the device is capable of handling a single or multiple messages. Due the current implementation of assigning vector in Linux, the PCI subsystem assigns one single message to the device, which implements the MSI capability structure. However, for the device implementing the MSI-X capability structure, the device driver can request for additional messages by calling the API:
int msi_alloc_vectors(void* dev_id, int *vector, int nvec)
Thanks, Tom
-----Original Message----- From: Zwane Mwaikambo [mailto:zwane@linuxpower.ca] Sent: Wednesday, May 14, 2003 12:06 PM To: Nguyen, Tom L Cc: linux-kernel@vger.kernel.org; Saxena, Sunil; Mallick, Asit K; Nakajima, Jun; Carbonari, Steven Subject: Re: RFC Proposal to enable MSI support in Linux kernel
Do you require mulitple vectors per device? Can't you assign one and then multiplex in your handler? Or is there some mode of operation i've not taken into account?
Zwane -- function.linuxpower.ca - 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/
|  |