Skip to content

RFC Automatic XPS mapping

Ben Hutchings netdev 1 version In review

Get series with b4
b4 am 1298045607.2570.17.camel@bwh-desktop

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: XPS: Allow driver to provide a default mapping of CPUs to TX queuesinclude/linux/netdevice.h net/Kconfig net/core/dev.c+42 -260 replies
2/2sfc: Add CPU queue mapping for XPSdrivers/net/sfc/efx.c+41 -180 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH net-next-2.6 0/2] Automatic XPS mapping

In the same way that we maintain a mapping CPUs to RX queues for RFS acceleration based on current IRQ affinity and the CPU topology, we can maintain a mapping of CPUs to TX queues for queue selection in XPS. (In fact this may be the same mapping.)

Questions:
- Does this make a real difference to performance?
(I've only barely tested this.)
- Should there be a way to disable it?
- Should the automatic mapping be made visible?
(This applies RFS acceleration too.)
- Should different mappings be allowed for different traffic classes, in case they have separate sets of TX interrupts with different affinity?
(This applies to manual XPS configuration too.)

Ben Hutchings (2):
net: XPS: Allow driver to provide a default mapping of CPUs to TX
queues
sfc: Add CPU queue mapping for XPS

 drivers/net/sfc/efx.c     |   59 +++++++++++++++++++++++++++++++-------------
 include/linux/netdevice.h |   10 +++++--
 net/Kconfig               |   17 +++++++++----
 net/core/dev.c            |   41 +++++++++++++++++-------------
 4 files changed, 83 insertions(+), 44 deletions(-)
Signature · 7 lines
1.7.3.4


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