critical ingress path performance improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 29 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: kill useless net_*_ingress_queue() definitions when NET_CLS_ACT is unsetinclude/ | +0 | 1 reply | |
| 2/2 | net: move qdisc ingress filtering code where it belongsinclude/ include/ net/ +1 more | +55 | 28 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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