[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <23059ce6-54b9-4788-bde5-013a6781e57f@mojatatu.com>
Date: Sun, 27 Jul 2025 11:17:45 -0300
From: Victor Nogueira <victor@...atatu.com>
To: William Liu <will@...lsroot.io>, netdev@...r.kernel.org
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, pabeni@...hat.com,
kuba@...nel.org, jiri@...nulli.us, davem@...emloft.net, edumazet@...gle.com,
horms@...nel.org, savy@...t3mfailure.io
Subject: Re: [PATCH net v3 2/2] selftests/tc-testing: Check backlog stats in
gso_skb case
On 7/26/25 20:50, William Liu wrote:
> Add tests to ensure proper backlog accounting in hhf, codel, pie, fq,
> fq_pie, and fq_codel qdiscs. For hhf, codel, and pie, we check for
> the correct packet count and packet size. For fq, fq_pie, and fq_codel,
> we check to make sure the backlog statistics do not underflow in tbf
> after removing those qdiscs, which was an original bug symptom.
>
> Signed-off-by: William Liu <will@...lsroot.io>
> Reviewed-by: Savino Dicanosa <savy@...t3mfailure.io>
> ---
> v2 -> v3:
> - Simplify ping command in test cases
> ---
> .../tc-testing/tc-tests/infra/qdiscs.json | 195 ++++++++++++++++++
> 1 file changed, 195 insertions(+)
It seems like some test cases broke in this new iteration:
# not ok 670 34c0 - Test TBF with HHF Backlog Accounting in gso_skb case
# Could not match regex pattern. Verify command output:
# qdisc tbf 1: root refcnt 2 rate 8bit burst 100b lat 0us
# Sent 98 bytes 1 pkt (dropped 0, overlimits 1 requeues 0)
# backlog 98b 1p requeues 0
# qdisc hhf 2: parent 1:1 limit 1p quantum 1514b hh_limit 2048
reset_timeout 40ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 2
# Sent 196 bytes 2 pkt (dropped 0, overlimits 0 requeues 0)
# backlog 98b 1p requeues 0
# drop_overlimit 0 hh_overlimit 0 tot_hh 0 cur_hh 0
#
# not ok 671 fd68 - Test TBF with CODEL Backlog Accounting in gso_skb
case# not ok 671 fd68 - Test TBF with CODEL Backlog Accounting in
gso_skb case
# Could not match regex pattern. Verify command output:
# qdisc tbf 1: root refcnt 2 rate 8bit burst 100b lat 0us
# Sent 98 bytes 1 pkt (dropped 0, overlimits 1 requeues 0)
# backlog 98b 1p requeues 0
# qdisc codel 2: parent 1:1 limit 1p target 5ms interval 100ms
# Sent 196 bytes 2 pkt (dropped 0, overlimits 0 requeues 0)
# backlog 98b 1p requeues 0
# count 0 lastcount 0 ldelay 1us drop_next 0us
# maxpacket 98 ecn_mark 0 drop_overlimit 0
#
# not ok 672 514e - Test TBF with PIE Backlog Accounting in gso_skb
case# not ok 672 514e - Test TBF with PIE Backlog Accounting in gso_skb case
# Could not match regex pattern. Verify command output:
# qdisc tbf 1: root refcnt 2 rate 8bit burst 100b lat 0us
# Sent 98 bytes 1 pkt (dropped 0, overlimits 1 requeues 0)
# backlog 98b 1p requeues 0
# qdisc pie 2: parent 1:1 limit 1p target 15ms tupdate 15ms alpha 2 beta 20
# Sent 196 bytes 2 pkt (dropped 0, overlimits 0 requeues 0)
# backlog 98b 1p requeues 0
# prob 0 delay 0us
# pkts_in 2 overlimit 0 dropped 0 maxq 0 ecn_mark 0
cheers,
Victor
Powered by blists - more mailing lists