Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Xiang Mei <xmei5@asu.edu>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: security@kernel.org, netdev@vger.kernel.org, toke@toke.dk,
	cake@lists.bufferbloat.net, bestswngs@gmail.com
Subject: [Cake] Re: [PATCH net v6 2/2] selftests/tc-testing: Check Cake Scheduler when enqueue drops packets
Date: Wed, 26 Nov 2025 12:48:25 -0700	[thread overview]
Message-ID: <CAPpSM+TZoqTUYvy=NjNJVN5QaScJ+YuCGghikAW5nxCr1R0VLw@mail.gmail.com> (raw)
In-Reply-To: <aSZ9QhUImq0nH8mi@pop-os.localdomain>

Thanks for the tips. I have sent the new patch: I moved the test to
qdisc.json and tested it with the patch in 1/2. Appreciate your
review.

Best,
Xiang


On Tue, Nov 25, 2025 at 9:08 PM Cong Wang <xiyou.wangcong@gmail.com> wrote:
>
> On Tue, Nov 25, 2025 at 03:02:13PM -0700, Xiang Mei wrote:
> > Add tests that trigger packet drops in cake_enqueue(). The tests use
> > CAKE under a QFQ parent/class, then replace CAKE with NETEM to exercise
> > the previously fixed bug where cake_enqueue() drops a packet in the
> > same flow and returns NET_XMIT_CN.
> >
> > Signed-off-by: Xiang Mei <xmei5@asu.edu>
> > ---
> >  .../tc-testing/tc-tests/qdiscs/cake.json      | 28 +++++++++++++++++++
> >  1 file changed, 28 insertions(+)
> >
>
> Usually tools/testing/selftests/tc-testing/tc-tests/infra/qdiscs.json
> is a better place for testing Qdisc combinations.
>
> Regards,
> Cong

  reply	other threads:[~2025-11-26 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-25 22:02 [Cake] [PATCH net v6 1/2] net/sched: sch_cake: Fix incorrect qlen reduction in cake_drop Xiang Mei
2025-11-25 22:02 ` [Cake] [PATCH net v6 2/2] selftests/tc-testing: Check Cake Scheduler when enqueue drops packets Xiang Mei
2025-11-26  4:08   ` [Cake] " Cong Wang
2025-11-26 19:48     ` Xiang Mei [this message]
2025-11-26  4:31 ` [Cake] Re: [PATCH net v6 1/2] net/sched: sch_cake: Fix incorrect qlen reduction in cake_drop Cong Wang

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

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPpSM+TZoqTUYvy=NjNJVN5QaScJ+YuCGghikAW5nxCr1R0VLw@mail.gmail.com' \
    --to=xmei5@asu.edu \
    --cc=bestswngs@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=netdev@vger.kernel.org \
    --cc=security@kernel.org \
    --cc=toke@toke.dk \
    --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