lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5194439C.2050509@linux.vnet.ibm.com>
Date:	Thu, 16 May 2013 10:25:32 +0800
From:	Mike Qiu <qiudayu@...ux.vnet.ibm.com>
To:	Ben Hutchings <bhutchings@...arflare.com>
CC:	Michael Chan <mchan@...adcom.com>, eilong@...adcom.com,
	mcarlson@...adcom.com, zambrano@...adcom.com,
	jeffrey.t.kirsher@...el.com, netdev@...r.kernel.org
Subject: Re: BCM5719(tg3) use multiple MSI with RSS

于 2013/5/15 23:52, Ben Hutchings 写道:
> On Wed, 2013-05-15 at 08:08 -0700, Michael Chan wrote:
>> On Wed, 2013-05-15 at 15:56 +0800, Mike Qiu wrote:
>>> Hi all
>>>
>>> Currently, I need to enable multiple MSI on BCM5719 network card.
>>> But I look in to the spec of 5719 from Broadcom, it seems
>>> that RSS just enable with MSI-X, so I'm not sure if multiple
>>> MSI can use RSS.
>>>
>> MSI can only support one IRQ source and cannot support RSS.
> It is possible for an MSI capability to have multiple MSIs, but they
> will use the same address and consecutive data values.
Yes, it should be this.
> On x86, if you can find a large enough block of free IRQs on an IOAPIC,
> it is possible to implement RSS this way.  Linux supports this on
> systems with an x2apic.
But, I see the tg3 spec, and it seems the RSS is just for MSI-X(and IOV).
And I try to enable RSS use multiple MSI for 4 irqs, the system
alloc 4 consecutive irqs to tg3, and each one can be test pass using 
interrupt test.
But the last 3 interrupts seems not to be triggered as "cat /proc/interrups"
shows after the driver loaded. Only the first irq can be triggered for
only sometimes. The network surely not work.
> Now, maybe tg3 hardware doesn't support this (and really, why bother
> when there is MSI-X?) but the option does exist.
Actually, I try to enable the multiple MSI feature, and needs tg3 card to
support this feature. For some old PCI device, it may only support 
multiple MSI

Thanks
Mike
>
> Ben.
>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ