Skip to content

net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath

Jiri Pirko netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyIn review
  2. v32 patches 8 repliesSuperseded
  3. v21 patch 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Changes in v4 from the cover letter

- rebased to be applicable on top of the current net-next v2->v3:
- Using head change callback to replace miniq pointer every time tp head changes. This eliminates one rcu dereference and makes the claim "without added overhead" valid.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: sched: introduce chain_head_change callbackinclude/net/pkt_cls.h include/net/sch_generic.h net/sched/cls_api.c +1 more+62 -470 replies
2/2net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpathinclude/linux/netdevice.h include/net/sch_generic.h net/core/dev.c +2 more+109 -180 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [patch net-next v4 0/2] net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath

From: Jiri Pirko <[email protected]>

This patchset's main patch is patch number 2. It carries the description. Patch 1 is just a dependency.

---
v3->v4:
- rebased to be applicable on top of the current net-next v2->v3:
- Using head change callback to replace miniq pointer every time tp head changes. This eliminates one rcu dereference and makes the claim "without added overhead" valid.
v1->v2:
- Use dev instead of skb->dev in sch_handle_egress as pointed out by Daniel
- Fixed synchronize_rcu_bh() in mini_qdisc_disable and commented

Jiri Pirko (2):
net: sched: introduce chain_head_change callback
net: core: introduce mini_Qdisc and eliminate usage of tp->q for
clsact fastpath

 include/linux/netdevice.h |  9 +++++---
 include/net/pkt_cls.h     | 14 ++++++------
 include/net/sch_generic.h | 37 +++++++++++++++++++++++++++++++-
 net/core/dev.c            | 21 +++++++++---------
 net/sched/cls_api.c       | 54 ++++++++++++++++++++++++++++-------------------
 net/sched/sch_generic.c   | 46 ++++++++++++++++++++++++++++++++++++++++
 net/sched/sch_ingress.c   | 45 +++++++++++++++++++++++++--------------
 7 files changed, 166 insertions(+), 60 deletions(-)
Signature · 1 line
2.9.5