[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM0EoMmi0KE6+Nr6E=HqsnMee=8uia57mv0Go8Uu_uNrsVw9Dw@mail.gmail.com>
Date: Thu, 18 Apr 2024 06:23:27 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Toke Høiland-Jørgensen <toke@...hat.com>,
Cong Wang <xiyou.wangcong@...il.com>, Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH v2 net-next 00/14] net_sched: first series for RTNL-less
qdisc dumps
On Thu, Apr 18, 2024 at 3:32 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> 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.
>
For the series:
Reviewed-by: Jamal Hadi Salim<jhs@...atatu.com>
Not a show-stopper, we'll run the tdc tests after (and use this as an
opportunity to add more tests if needed).
For your next series we'll try to do that after you post.
cheers,
jamal
> 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
>
Powered by blists - more mailing lists