All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 net-next 00/14] net_sched: first series for RTNL-less qdisc dumps
@ 2024-04-18  7:32 Eric Dumazet
  2024-04-18  7:32 ` [PATCH v2 net-next 01/14] net_sched: sch_fq: implement lockless fq_dump() Eric Dumazet
                   ` (15 more replies)
  0 siblings, 16 replies; 29+ messages in thread
From: Eric Dumazet @ 2024-04-18  7:32 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Jamal Hadi Salim, Simon Horman, Toke Høiland-Jørgensen,
	Cong Wang, Jiri Pirko, netdev, eric.dumazet, Eric Dumazet

Medium term goal is to implement "tc qdisc show" without needing
to acquire RTNL.

This first series makes the requested changes in 14 qdisc.

Notes :

 - RTNL is still held in "tc qdisc show", more changes are needed.

 - Qdisc returning many attributes might want/need to provide
   a consistent set of attributes. If that is the case, their
   dump() method could acquire the qdisc spinlock, to pair the
   spinlock acquision in their change() method.

V2: Addressed Simon feedback (Thanks a lot Simon)

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        |  12 ++---
 net/sched/sch_cake.c     | 110 ++++++++++++++++++++++-----------------
 net/sched/sch_cbs.c      |  20 +++----
 net/sched/sch_choke.c    |  21 ++++----
 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       | 108 ++++++++++++++++++++++++--------------
 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, 323 insertions(+), 234 deletions(-)

-- 
2.44.0.683.g7961c838ac-goog


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2024-04-22 18:34 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18  7:32 [PATCH v2 net-next 00/14] net_sched: first series for RTNL-less qdisc dumps Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 01/14] net_sched: sch_fq: implement lockless fq_dump() Eric Dumazet
2024-04-18 13:55   ` Simon Horman
2024-04-18  7:32 ` [PATCH v2 net-next 02/14] net_sched: cake: implement lockless cake_dump() Eric Dumazet
2024-04-18 13:57   ` Simon Horman
2024-04-18 15:20   ` Toke Høiland-Jørgensen
2024-04-18  7:32 ` [PATCH v2 net-next 03/14] net_sched: sch_cbs: implement lockless cbs_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 04/14] net_sched: sch_choke: implement lockless choke_dump() Eric Dumazet
2024-04-18 13:58   ` Simon Horman
2024-04-18  7:32 ` [PATCH v2 net-next 05/14] net_sched: sch_codel: implement lockless codel_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 06/14] net_sched: sch_tfs: implement lockless etf_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 07/14] net_sched: sch_ets: implement lockless ets_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 08/14] net_sched: sch_fifo: implement lockless __fifo_dump() Eric Dumazet
2024-04-18 15:04   ` Simon Horman
2024-04-18  7:32 ` [PATCH v2 net-next 09/14] net_sched: sch_fq_codel: implement lockless fq_codel_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 10/14] net_sched: sch_fq_pie: implement lockless fq_pie_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 11/14] net_sched: sch_hfsc: implement lockless accesses to q->defcls Eric Dumazet
2024-04-18 15:04   ` Simon Horman
2024-04-18  7:32 ` [PATCH v2 net-next 12/14] net_sched: sch_hhf: implement lockless hhf_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 13/14] net_sched: sch_pie: implement lockless pie_dump() Eric Dumazet
2024-04-18  7:32 ` [PATCH v2 net-next 14/14] net_sched: sch_skbprio: implement lockless skbprio_dump() Eric Dumazet
2024-04-18 15:04   ` Simon Horman
2024-04-18 10:23 ` [PATCH v2 net-next 00/14] net_sched: first series for RTNL-less qdisc dumps Jamal Hadi Salim
2024-04-18 15:08   ` tdc [Was: Re: [PATCH v2 net-next 00/14] net_sched: first series for RTNL-less] " Simon Horman
2024-04-18 23:05     ` Jamal Hadi Salim
2024-04-19  7:18       ` Simon Horman
2024-04-19 14:24         ` Jamal Hadi Salim
2024-04-22 18:34           ` Simon Horman
2024-04-19 10:40 ` [PATCH v2 net-next 00/14] net_sched: first series for RTNL-less " patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.