Skip to content

couple of net/sched fixes+improvements

Jiri Pirko netdev 5 versions – Applied

Status from this message: Applied to 'net' and queued up for -stable, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 27 repliesApplied
  2. v411 patches 2 repliesSuperseded
  3. v311 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v211 patches3 repliesSuperseded
v17 patches8 repliesSuperseded

Changes in v5 from the cover letter

- added patch "sch_api: introduce qdisc_watchdog_schedule_ns()"
- remove bogus patch "tbf: fix value set for q->ptokens"
- fixed watchdog scheduling
(patch "tbf: improved accuracy at high rates")
- fixed q->mtu handling
(patch "tbf: improved accuracy at high rates")
- added gso skb checks to "peak" branches
(patch "tbf: take into account gso skbs" and
patch "act_police: remove <=mtu check for gso skbs")

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/11htb: use PSCHED_TICKS2NS()net/sched/sch_htb.c+2 -21 reply
2/11htb: fix values in opt dumpnet/sched/sch_htb.c+2 -21 reply
3/11htb: remove pointless first initialization of buffer and cbuffernet/sched/sch_htb.c+0 -31 reply
4/11htb: initialize cl->tokens and cl->ctokens correctlynet/sched/sch_htb.c+2 -21 reply
5/11sch: make htb_rate_cfg and functions around that genericinclude/net/sch_generic.h net/sched/sch_generic.c net/sched/sch_htb.c+65 -561 reply
6/11sch_api: introduce qdisc_watchdog_schedule_ns()include/net/pkt_sched.h net/sched/sch_api.c+11 -52 replies
7/11tbf: improved accuracy at high ratesnet/sched/sch_tbf.c+37 -392 replies
8/11act_police: move struct tcf_police to act_police.cinclude/net/act_api.h net/sched/act_police.c+15 -153 replies
9/11act_police: improved accuracy at high ratesnet/sched/act_police.c+53 -463 replies
10/11tbf: take into account gso skbsnet/sched/sch_tbf.c+2 -211 replies
11/11act_police: remove <=mtu check for gso skbsnet/sched/act_police.c+2 -21 reply

Reviews trailers per patch

8 of 11 patches have a Reviewed-by or Acked-by.

PatchEric DumazetJamal Hadi Salim
1/11A-b
2/11A-b
3/11A-b
4/11A-b
5/11A-b
6/11A-b
7/11A-b
8/11A-b A-b
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [patch net-next v5 00/11] couple of net/sched fixes+improvements

v4->v5:
- added patch "sch_api: introduce qdisc_watchdog_schedule_ns()"
- remove bogus patch "tbf: fix value set for q->ptokens"
- fixed watchdog scheduling
(patch "tbf: improved accuracy at high rates")
- fixed q->mtu handling
(patch "tbf: improved accuracy at high rates")
- added gso skb checks to "peak" branches
(patch "tbf: take into account gso skbs" and
patch "act_police: remove <=mtu check for gso skbs")

v3->v4:
- cache mtu_ptokens value instead of compute in by psched_l2t_ns in fast path (patch "act_police: improved accuracy at high rates" and

    patch "tbf: fix value set for q->ptokens")

v2->v3:
- fixed schedule while atomic issue
(patch "act_police: improved accuracy at high rates")

v1->v2:
- made struct psched_ratecfg const in params of couple of inline functions (patch "sch: make htb_rate_cfg and functions around that generic")
- fixes misspelled "peak"
(patch "tbf: improved accuracy at high rates")
- added last 4 patches to this set

Jiri Pirko (11):
htb: use PSCHED_TICKS2NS()
htb: fix values in opt dump
htb: remove pointless first initialization of buffer and cbuffer
htb: initialize cl->tokens and cl->ctokens correctly
sch: make htb_rate_cfg and functions around that generic
sch_api: introduce qdisc_watchdog_schedule_ns()
tbf: improved accuracy at high rates
act_police: move struct tcf_police to act_police.c
act_police: improved accuracy at high rates
tbf: take into account gso skbs
act_police: remove <=mtu check for gso skbs

 include/net/act_api.h     |  15 -------
 include/net/pkt_sched.h   |  10 ++++-
 include/net/sch_generic.h |  19 +++++++++
 net/sched/act_police.c    | 102 ++++++++++++++++++++++++++++------------------
 net/sched/sch_api.c       |   6 +--
 net/sched/sch_generic.c   |  37 +++++++++++++++++
 net/sched/sch_htb.c       |  80 +++++++-----------------------------
 net/sched/sch_tbf.c       |  78 +++++++++++++++++------------------
 8 files changed, 182 insertions(+), 165 deletions(-)
Signature · 1 line
1.8.1.2