Skip to content

critical ingress path performance improvements

Pablo Neira Ayuso netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: kill useless net_*_ingress_queue() definitions when NET_CLS_ACT is unsetinclude/linux/rtnetlink.h+0 -81 reply
2/2net: move qdisc ingress filtering code where it belongsinclude/linux/netdevice.h include/linux/rtnetlink.h net/core/dev.c +1 more+55 -3728 replies

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 net-next] critical ingress path performance improvements

This patch improves performance of the super-critical ingress path by moving the qdisc ingress code to sch_ingress, where this really belongs.

This patchset also removes the Qdisc->enqueue() indirection since this does not enqueue anything.

This is roughly 92199pps, ~0.42% more performance on my old box.

As it's been stated before, most users don't need this:

24824a09 ("net: dynamic ingress_queue allocation")

So getting the code inlined into the core introduces a penalty to everyone in this world.

Please apply, thanks!

Pablo Neira Ayuso (2):
net: kill useless net_*_ingress_queue() definitions when NET_CLS_ACT is unset
net: move qdisc ingress filtering code where it belongs

 include/linux/netdevice.h |    3 +++
 include/linux/rtnetlink.h |    9 +--------
 net/core/dev.c            |   45 ++++++++++++---------------------------------
 net/sched/sch_ingress.c   |   43 +++++++++++++++++++++++++++++++++++++++----
 4 files changed, 55 insertions(+), 45 deletions(-)
Signature · 1 line
1.7.10.4