Skip to content

net/sched: tc_dump_qdisc() optimizations

Eric Dumazet netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesApplied 4/4
  2. v24 patches 2 repliesSuperseded
  3. v14 patches 9 repliesSuperseded

Patches in v3 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net/sched: propagate tc_fill_tclass() errornet/sched/sch_api.c+17 -140 repliesApplied
2/4net/sched: tc_dump_qdisc_root() refactornet/sched/sch_api.c+15 -140 repliesApplied
3/4net/sched: switch tc_dump_qdisc() to for_each_netdev_dump()net/sched/sch_api.c+28 -320 repliesApplied
4/4net/sched: speedup tc_dump_qdisc() when tcm_ifindex is providednet/sched/sch_api.c+7 -00 repliesApplied

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 net-next 0/4] net/sched: tc_dump_qdisc() optimizations

Before converting tc_dump_qdisc() to RCU, we make the following changes:

- Use for_each_netdev_dump() instead of for_each_netdev()

- Only dump qdiscs of a single device at user space request.

v2 and v3: addressed Jakub feedback (thanks!)

Eric Dumazet (4):
net/sched: propagate tc_fill_tclass() error net/sched: tc_dump_qdisc_root() refactor
net/sched: switch tc_dump_qdisc() to for_each_netdev_dump() net/sched: speedup tc_dump_qdisc() when tcm_ifindex is provided

 net/sched/sch_api.c | 127 +++++++++++++++++++++++---------------------
 1 file changed, 67 insertions(+), 60 deletions(-)
Signature · 1 line
2.54.0.545.g6539524ca2-goog