Skip to content

Multiple transmit/receive queue kernel

Kok, Auke lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NET: Multiple queue network device supportinclude/linux/netdevice.h include/net/sch_generic.h net/Kconfig +3 more+364 -613 replies
2/2e1000: Implement the new kernel API for multiqueue TX support.drivers/net/Kconfig drivers/net/e1000/e1000.h drivers/net/e1000/e1000_ethtool.c +1 more+304 -441 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2 REVIEW] Multiple transmit/receive queue kernel

Hi,

The following two patches are submitted for review. Please provide feedback and comments as usual.

This set of patches implements a generic API for multiqueue-capable devices to have network stack support to assign multiple flows into each queue on the NIC. It provides an interface for non-multiqueue devices to coexist in a machine running with both types of devices, as well as providing a modified queuing discipline to assign multiple flows in the stack to individual queues on the NIC. This is necessary to alleviate more head-of-line-blocking issues with different priority flows, where today QoS only prevents HOLB within the stack, but not in the device.

Some Intel PRO/1000 adapters support this hardware feature, so this series includes a patch to the e1000 driver to enable this hardware feature for those devices. You will need to setup the queue's using tc. Limited queue statistics are available through ethtool for devices that support multiple queues.

Regards,

Auke Kok
Peter Waskiewicz Jr.

---
These patches apply against commit b892afd1e60132a981b963929e352eabf3306ba2 of branch 'master' from torvalds/linux-2.6.

You can pull these patches through git:

git-pull git://lost.foo-projects.org/~ahkok/git/netdev-2.6 multiqueue

---
Summary:
Peter Waskiewicz Jr <[email protected]>:
NET: Multiple queue network device support
e1000: Implement the new kernel API for multiqueue TX support.

---
 drivers/net/Kconfig               |   13 +
 drivers/net/e1000/e1000.h         |   23 +++
 drivers/net/e1000/e1000_ethtool.c |   43 ++++++
 drivers/net/e1000/e1000_main.c    |  269 +++++++++++++++++++++++++++++++-------
 include/linux/netdevice.h         |   73 ++++++++++
 include/net/sch_generic.h         |    3 
 net/Kconfig                       |   20 ++
 net/core/dev.c                    |   51 +++++++
 net/sched/sch_generic.c           |  117 ++++++++++++++++
 net/sched/sch_prio.c              |  106 ++++++++++++++
 10 files changed, 668 insertions(+), 50 deletions(-)