mbox series

[net-next,00/14] net_sched: first series for RTNL-less qdisc dumps

Message ID 20240415132054.3822230-1-edumazet@google.com (mailing list archive)
Headers show
Series net_sched: first series for RTNL-less qdisc dumps | expand

Message

Eric Dumazet April 15, 2024, 1:20 p.m. UTC
Medium term goal is to implement "tc qdisc show" without needing
to acquire RTNL.

This first series makes the requested changes in 14 qdisc.

Eric Dumazet (14):
  net_sched: sch_fq: implement lockless fq_dump()
  net_sched: cake: implement lockless cake_dump()
  net_sched: sch_cbs: implement lockless cbs_dump()
  net_sched: sch_choke: implement lockless choke_dump()
  net_sched: sch_codel: implement lockless codel_dump()
  net_sched: sch_tfs: implement lockless etf_dump()
  net_sched: sch_ets: implement lockless ets_dump()
  net_sched: sch_fifo: implement lockless __fifo_dump()
  net_sched: sch_fq_codel: implement lockless fq_codel_dump()
  net_sched: sch_fq_pie: implement lockless fq_pie_dump()
  net_sched: sch_hfsc: implement lockless accesses to q->defcls
  net_sched: sch_hhf: implement lockless hhf_dump()
  net_sched: sch_pie: implement lockless pie_dump()
  net_sched: sch_skbprio: implement lockless skbprio_dump()

 include/net/red.h        | 10 ++--
 net/sched/sch_cake.c     | 98 ++++++++++++++++++++++------------------
 net/sched/sch_cbs.c      | 20 ++++----
 net/sched/sch_choke.c    | 23 +++++-----
 net/sched/sch_codel.c    | 29 +++++++-----
 net/sched/sch_etf.c      | 10 ++--
 net/sched/sch_ets.c      | 25 +++++-----
 net/sched/sch_fifo.c     | 13 +++---
 net/sched/sch_fq.c       | 96 ++++++++++++++++++++++++---------------
 net/sched/sch_fq_codel.c | 57 ++++++++++++++---------
 net/sched/sch_fq_pie.c   | 61 ++++++++++++++-----------
 net/sched/sch_hfsc.c     |  9 ++--
 net/sched/sch_hhf.c      | 35 ++++++++------
 net/sched/sch_pie.c      | 39 ++++++++--------
 net/sched/sch_skbprio.c  |  8 ++--
 15 files changed, 306 insertions(+), 227 deletions(-)