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: <D5C1322C3E673F459512FB59E0DDC32904CA4A45@orsmsx414.amr.corp.intel.com>
Date:	Mon, 31 Mar 2008 11:33:07 -0700
From:	"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>
To:	"Randy Macleod" <macleodr@...tel.com>, <netdev@...r.kernel.org>
Cc:	<afleming@...escale.com>
Subject: RE: gianfar: multiqueue, vlan pbits -> qos?

> Has anyone done this already?

Take a look at the ixgbe driver (multiple Tx queues, multiple Rx with
RSS queues) in the net-2.6.26 tree.

> I'm also poking at the multi-queue work that has been done and
wondering how that might fit into a solution.
> I haven't read the e1000 multiqueue driver yet...

E1000 was my original target for multiqueue, but ixgbe made more sense
while the e1000/e1000e driver split was happening.  Basically the way
the multiqueue kernel side works is to use a multiqueue-aware qdisc
(prio or round-robin).  When you filter (via tc, iptables and tc), the
packet's skb->queue_mapping field is populated.  Then use that field in
your driver to select which Tx queue to use.

As for Rx, you'll need some sort of hardware support to truly filter off
the wire without heavy driver lifting.  Look at e1000, e1000e, igb, or
ixgbe, for the RSS setup for Rx.  I'm not sure what your hardware
supports, but this might be there already.

Hope this helps.  Feel free to ping me about the Tx multiqueue stuff if
you have additional questions,

Cheers,
-PJ Waskiewicz
--
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