netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* alloc_netdev_mq() and multiqueues
@ 2010-11-09 18:33 Kevin Wilson
  2010-11-09 18:40 ` Ben Hutchings
  2010-11-09 18:42 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Kevin Wilson @ 2010-11-09 18:33 UTC (permalink / raw)
  To: netdev

Hello,
I have a short question about multiqueues  and I will appreciate if
somebody can answer shortly in 2-3 sentences.
When talking about multiqueues  I refer for example, to
http://nfws.edenwall.com/nfws_userday/David-Miller_Linux-Multiqueue-Networking.pdf,
alloc_netdev_mq() and friends.

1) Does an ordinary network driver code can be adjusted to use
multiqueues ? or do we need some
special hardware feature ?
2) How can I know if a certain device support multiqueus?\

3) Can anybody name some network cards which support  multiqueues?

Regards,
Kevin

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

* Re: alloc_netdev_mq() and multiqueues
  2010-11-09 18:33 alloc_netdev_mq() and multiqueues Kevin Wilson
@ 2010-11-09 18:40 ` Ben Hutchings
  2010-11-09 18:42 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Hutchings @ 2010-11-09 18:40 UTC (permalink / raw)
  To: Kevin Wilson; +Cc: netdev

On Tue, 2010-11-09 at 20:33 +0200, Kevin Wilson wrote:
> Hello,
> I have a short question about multiqueues  and I will appreciate if
> somebody can answer shortly in 2-3 sentences.
> When talking about multiqueues  I refer for example, to
> http://nfws.edenwall.com/nfws_userday/David-Miller_Linux-Multiqueue-Networking.pdf,
> alloc_netdev_mq() and friends.
> 
> 1) Does an ordinary network driver code can be adjusted to use
> multiqueues ? or do we need some
> special hardware feature ?

This feature is only useful if the hardware has multiple transmit
queues.

> 2) How can I know if a certain device support multiqueus?\

Read the hardware specs.

> 3) Can anybody name some network cards which support  multiqueues?

'git grep -l dev_mq drivers/net' will show you which drivers do.  I have
no knowledge beyond this of which hardware has multiple queues.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


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

* Re: alloc_netdev_mq() and multiqueues
  2010-11-09 18:33 alloc_netdev_mq() and multiqueues Kevin Wilson
  2010-11-09 18:40 ` Ben Hutchings
@ 2010-11-09 18:42 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2010-11-09 18:42 UTC (permalink / raw)
  To: wkevils; +Cc: netdev

From: Kevin Wilson <wkevils@gmail.com>
Date: Tue, 9 Nov 2010 20:33:53 +0200

> I have a short question about multiqueues  and I will appreciate if
> somebody can answer shortly in 2-3 sentences.

When you want help from volunteers, and then you dictacte exactly how
people should give you help, you usually receive no help at all.

Just FYI..

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

end of thread, other threads:[~2010-11-09 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 18:33 alloc_netdev_mq() and multiqueues Kevin Wilson
2010-11-09 18:40 ` Ben Hutchings
2010-11-09 18:42 ` David Miller

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).