Skip to content

RFC RFS hardware acceleration

Ben Hutchings lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4IRQ: IRQ groups for multiqueue devicesinclude/linux/irq.h kernel/irq/manage.c+201 -06 replies
2/4net: RPS: Enable hardware accelerationinclude/linux/netdevice.h net/core/dev.c+108 -90 replies
3/4sfc: Implement RFS accelerationdrivers/net/sfc/efx.c drivers/net/sfc/efx.h drivers/net/sfc/filter.c+149 -90 replies
4/4sfc/RFS/irq_group debug outputdrivers/net/sfc/filter.c kernel/irq/manage.c+31 -10 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 0/4] RFS hardware acceleration

Tom,

This patch series extends RFS to use hardware RX filters where available. Depending on the number of hardware RX queues and their IRQs' affinity, this should reduce the need for IPIs or at least get packets delivered to the right NUMA node.

I've implemented the driver side of this for our hardware, though I don't know whether you have any of that to test on. I would be very interested to know how much this can help in the sort of cases where you use RFS.

Ben.

Ben Hutchings (4):
IRQ: IRQ groups for multiqueue devices
net: RPS: Enable hardware acceleration
sfc: Implement RFS acceleration
sfc/RFS/irq_group debug output

 drivers/net/sfc/efx.c     |   49 +++++++++++---
 drivers/net/sfc/efx.h     |    9 +++
 drivers/net/sfc/filter.c  |  109 +++++++++++++++++++++++++++++
 include/linux/irq.h       |   52 ++++++++++++++
 include/linux/netdevice.h |   29 +++++++-
 kernel/irq/manage.c       |  170 +++++++++++++++++++++++++++++++++++++++++++++
 net/core/dev.c            |   88 ++++++++++++++++++++++--
 7 files changed, 488 insertions(+), 18 deletions(-)
Signature · 7 lines
1.7.2.1


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