From: Davide Caratti <dcaratti@redhat.com>
To: Victor Nogueira <victor@mojatatu.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>,
Cong Wang <xiyou.wangcong@gmail.com>,
Jiri Pirko <jiri@resnulli.us>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Lion Ackermann <nnamrec@gmail.com>,
Petr Machata <petrm@mellanox.com>,
netdev@vger.kernel.org, Ivan Vecera <ivecera@redhat.com>,
Li Shuang <shuali@redhat.com>
Subject: Re: [PATCH net] net/sched: ets: use old 'nbands' while purging unused classes
Date: Mon, 11 Aug 2025 09:49:15 +0200 [thread overview]
Message-ID: <aJmge28EVB0jKOLF@dcaratti.users.ipa.redhat.com> (raw)
In-Reply-To: <8d76538b-678f-4a98-9308-d7209b5ebee9@mojatatu.com>
On Fri, Aug 08, 2025 at 03:15:13PM -0300, Victor Nogueira wrote:
> On 8/7/25 12:48, Davide Caratti wrote:
[...]
> > Fixes: 103406b38c60 ("net/sched: Always pass notifications when child class becomes empty")
> > Fixes: c062f2a0b04d ("net/sched: sch_ets: don't remove idle classes from the round-robin list")
> > Fixes: dcc68b4d8084 ("net: sch_ets: Add a new Qdisc")
> > Reported-by: Li Shuang <shuali@redhat.com>
> > Closes: https://issues.redhat.com/browse/RHEL-108026
> > Co-developed-by: Ivan Vecera <ivecera@redhat.com>
> > Signed-off-by: Ivan Vecera <ivecera@redhat.com>
> > Signed-off-by: Davide Caratti <dcaratti@redhat.com>
>
> Can you submit a tdc test case for this bug?
hello Victor,
Thanks for looking at this!
At a first look: TDC is not the correct tool here, because it doesn't
allow changing the qdisc tree while the scapy plugin emits traffic.
Maybe it's better to extend sch_ets.sh from net/forwarding instead?
If so, I can follow-up on net-next with a patch that adds a new
test-case that includes the 3-lines in [1] - while this patch can go
as-is in 'net' (and eventually in stable). In alternative, I can
investigate on TDC adding "sch_plug" to the qdisc tree in a way
that DWRR never deplete, and the crash would then happen with "verifyCmd".
WDYT?
--
davide
[1] https://lore.kernel.org/netdev/e08c7f4a6882f260011909a868311c6e9b54f3e4.1639153474.git.dcaratti@redhat.com/
next prev parent reply other threads:[~2025-08-11 7:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-07 15:48 [PATCH net] net/sched: ets: use old 'nbands' while purging unused classes Davide Caratti
2025-08-08 11:44 ` Petr Machata
2025-08-08 18:15 ` Victor Nogueira
2025-08-11 7:49 ` Davide Caratti [this message]
2025-08-11 9:53 ` Victor Nogueira
2025-08-11 13:52 ` Victor Nogueira
2025-08-11 16:09 ` Davide Caratti
2025-08-11 17:35 ` Victor Nogueira
2025-08-12 1:26 ` Jakub Kicinski
2025-08-12 11:21 ` Davide Caratti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aJmge28EVB0jKOLF@dcaratti.users.ipa.redhat.com \
--to=dcaratti@redhat.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=ivecera@redhat.com \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nnamrec@gmail.com \
--cc=pabeni@redhat.com \
--cc=petrm@mellanox.com \
--cc=shuali@redhat.com \
--cc=victor@mojatatu.com \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox