netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net 0/2] net_sched: Fix HFSC qlen/backlog accounting bug and add selftest
@ 2025-05-18 22:20 Cong Wang
  2025-05-18 22:20 ` [Patch net 1/2] sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() Cong Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Cong Wang @ 2025-05-18 22:20 UTC (permalink / raw)
  To: netdev; +Cc: jiri, jhs, Cong Wang

This series addresses a long-standing bug in the HFSC qdisc where queue length
and backlog accounting could become inconsistent if a packet is dropped during
a peek-induced dequeue operation, and adds a corresponding selftest to tc-testing.

---
Cong Wang (2):
  sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()
  selftests/tc-testing: Add an HFSC qlen accounting test

 net/sched/sch_hfsc.c                          |  6 ++---
 .../tc-testing/tc-tests/infra/qdiscs.json     | 27 +++++++++++++++++++
 2 files changed, 30 insertions(+), 3 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-05-22  9:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-18 22:20 [Patch net 0/2] net_sched: Fix HFSC qlen/backlog accounting bug and add selftest Cong Wang
2025-05-18 22:20 ` [Patch net 1/2] sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() Cong Wang
2025-05-21  9:18   ` Simon Horman
2025-05-18 22:20 ` [Patch net 2/2] selftests/tc-testing: Add an HFSC qlen accounting test Cong Wang
2025-05-21  9:18   ` Simon Horman
2025-05-21 11:07 ` [Patch net 0/2] net_sched: Fix HFSC qlen/backlog accounting bug and add selftest Jamal Hadi Salim
2025-05-22  9:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).