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(-)
--
2.9.5