[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXDtMngE1Pcf9KBmRpb5sZK4EJj6qgPgt1ioYW4QC9W3g@mail.gmail.com>
Date: Mon, 27 Jan 2025 20:25:09 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, jiri@...nulli.us,
quanglex97@...il.com, mincho@...ori.io, Cong Wang <cong.wang@...edance.com>
Subject: Re: [Patch net v2 2/4] selftests/tc-testing: Add a test case for
pfifo_head_drop qdisc when limit==0
On Mon, Jan 27, 2025 at 5:08 PM Cong Wang <xiyou.wangcong@...il.com> wrote:
>
> On Mon, Jan 27, 2025 at 8:57 AM Jakub Kicinski <kuba@...nel.org> wrote:
> >
> > On Sat, 25 Jan 2025 20:12:22 -0800 Cong Wang wrote:
> > > From: Quang Le <quanglex97@...il.com>
> > >
> > > When limit == 0, pfifo_tail_enqueue() must drop new packet and
> > > increase dropped packets count of the qdisc.
> > >
> > > All test results:
> > >
> > > 1..16
> > > ok 1 a519 - Add bfifo qdisc with system default parameters on egress
> > > ok 2 585c - Add pfifo qdisc with system default parameters on egress
> > > ok 3 a86e - Add bfifo qdisc with system default parameters on egress with handle of maximum value
> > > ok 4 9ac8 - Add bfifo qdisc on egress with queue size of 3000 bytes
> > > ok 5 f4e6 - Add pfifo qdisc on egress with queue size of 3000 packets
> > > ok 6 b1b1 - Add bfifo qdisc with system default parameters on egress with invalid handle exceeding maximum value
> > > ok 7 8d5e - Add bfifo qdisc on egress with unsupported argument
> > > ok 8 7787 - Add pfifo qdisc on egress with unsupported argument
> > > ok 9 c4b6 - Replace bfifo qdisc on egress with new queue size
> > > ok 10 3df6 - Replace pfifo qdisc on egress with new queue size
> > > ok 11 7a67 - Add bfifo qdisc on egress with queue size in invalid format
> > > ok 12 1298 - Add duplicate bfifo qdisc on egress
> > > ok 13 45a0 - Delete nonexistent bfifo qdisc
> > > ok 14 972b - Add prio qdisc on egress with invalid format for handles
> > > ok 15 4d39 - Delete bfifo qdisc twice
> > > ok 16 d774 - Check pfifo_head_drop qdisc enqueue behaviour when limit == 0
> >
> > Same problem as on v1:
> >
> > # Could not match regex pattern. Verify command output:
> > # qdisc pfifo_head_drop 1: root refcnt 2 limit 0p
> > # Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
> > # backlog 0b 0p requeues 0
> >
> > https://github.com/p4tc-dev/tc-executor/blob/storage/artifacts/966506/1-tdc-sh/stdout
> >
> > Did you run the full suite? I wonder if some other test leaks an
> > interface with a 10.x network.
>
> No, I only ran the tests shown above, I will run all the TDC tests.
Hmm, I just got another error which prevents me from starting all the tests:
# -----> prepare stage *** Could not execute: "$TC qdisc replace dev
$ETH handle 8001: parent root stab overhead 24 taprio num_tc 8 map 0 1
2 3 4 5 6 7 queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 base-time 0
sched-entry S ff 20000000 flags 0x2"
#
# -----> prepare stage *** Error message: "Error: Device does not have
a PTP clock.
# "
#
# -----> prepare stage *** Aborting test run.
Let me see if I can workaround it before looking into it.
Thanks.
Powered by blists - more mailing lists