netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how many msi (msi-x) vectors can be setup?
@ 2010-05-19 15:18 zhou rui
  2010-05-19 20:33 ` Yinghai Lu
  0 siblings, 1 reply; 4+ messages in thread
From: zhou rui @ 2010-05-19 15:18 UTC (permalink / raw)
  To: netdev

hi there:
how many msi (msi-x) vectors can be setup?
the number is limited by hardware resource(nic), or kernel ?
I found that the driver (broadcom 57711 ver 1.5.12) tried to request
16 queues on my kernel2.6.27,but only 2  available
will it be increased if I update the driver or kernel?
and there is a limitiation in the system? if the other devices have
already occupied too many MSI vectors then it is not enough.


thanks
rui

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how many msi (msi-x) vectors can be setup?
  2010-05-19 15:18 how many msi (msi-x) vectors can be setup? zhou rui
@ 2010-05-19 20:33 ` Yinghai Lu
  2010-05-20  2:04   ` zhou rui
  0 siblings, 1 reply; 4+ messages in thread
From: Yinghai Lu @ 2010-05-19 20:33 UTC (permalink / raw)
  To: zhou rui; +Cc: netdev

On Wed, May 19, 2010 at 8:18 AM, zhou rui <wirelesser@gmail.com> wrote:
> hi there:
> how many msi (msi-x) vectors can be setup?
> the number is limited by hardware resource(nic), or kernel ?
> I found that the driver (broadcom 57711 ver 1.5.12) tried to request
> 16 queues on my kernel2.6.27,but only 2  available
> will it be increased if I update the driver or kernel?
> and there is a limitiation in the system? if the other devices have
> already occupied too many MSI vectors then it is not enough.

from kernel 2.6.19 x86_64, there is per-cpu vector irq support.

depends your system : CPU num? 64bit or 32bit.

YH

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how many msi (msi-x) vectors can be setup?
  2010-05-19 20:33 ` Yinghai Lu
@ 2010-05-20  2:04   ` zhou rui
  2010-05-20  2:53     ` Yinghai
  0 siblings, 1 reply; 4+ messages in thread
From: zhou rui @ 2010-05-20  2:04 UTC (permalink / raw)
  To: Yinghai Lu; +Cc: netdev

it is kernel2.6.27, Intel(R) Xeon(R) CPU           E5540,64bit,16
processors.,so there should be 16 vectors?



On Thu, May 20, 2010 at 4:33 AM, Yinghai Lu <yinghai@kernel.org> wrote:
> On Wed, May 19, 2010 at 8:18 AM, zhou rui <wirelesser@gmail.com> wrote:
>> hi there:
>> how many msi (msi-x) vectors can be setup?
>> the number is limited by hardware resource(nic), or kernel ?
>> I found that the driver (broadcom 57711 ver 1.5.12) tried to request
>> 16 queues on my kernel2.6.27,but only 2  available
>> will it be increased if I update the driver or kernel?
>> and there is a limitiation in the system? if the other devices have
>> already occupied too many MSI vectors then it is not enough.
>
> from kernel 2.6.19 x86_64, there is per-cpu vector irq support.
>
> depends your system : CPU num? 64bit or 32bit.
>
> YH
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how many msi (msi-x) vectors can be setup?
  2010-05-20  2:04   ` zhou rui
@ 2010-05-20  2:53     ` Yinghai
  0 siblings, 0 replies; 4+ messages in thread
From: Yinghai @ 2010-05-20  2:53 UTC (permalink / raw)
  To: zhou rui; +Cc: netdev

On 05/19/2010 07:04 PM, zhou rui wrote:
> it is kernel2.6.27, Intel(R) Xeon(R) CPU           E5540,64bit,16
> processors.,so there should be 16 vectors?

are you using sles 11 and x2apic?

YH

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-20  2:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 15:18 how many msi (msi-x) vectors can be setup? zhou rui
2010-05-19 20:33 ` Yinghai Lu
2010-05-20  2:04   ` zhou rui
2010-05-20  2:53     ` Yinghai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).