netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 iproute2-next 0/1] DualPI2 iproute2 patch
@ 2025-03-16 15:39 chia-yu.chang
  2025-03-16 15:39 ` [PATCH v4 iproute2-next 1/1] tc: add dualpi2 scheduler module chia-yu.chang
  0 siblings, 1 reply; 8+ messages in thread
From: chia-yu.chang @ 2025-03-16 15:39 UTC (permalink / raw)
  To: netdev, dave.taht, pabeni, jhs, kuba, stephen, xiyou.wangcong,
	jiri, davem, edumazet, horms, andrew+netdev, donald.hunter, ast,
	liuhangbin, shuah, linux-kselftest, ij, ncardwell,
	koen.de_schepper, g.white, ingemar.s.johansson, mirja.kuehlewind,
	cheshire, rs.ietf, Jason_Livingood, vidhi_goel
  Cc: Chia-Yu Chang

From: Chia-Yu Chang <chia-yu.chang@nokia-bell-labs.com>

Hello,

  Please find DUALPI2 iproute2 patch v4.

v4
- Add min_qlen_step to dualpi2 attribute as the minimum queue length in number of packets in the L-queue to start step amrking.
 
v3
- Add memlimit to dualpi2 attribute, and add memory_used, max_memory_used, memory_limit in dualpi2 stats (Dave Taht <dave.taht@gmail.com>)
- Update manual to align latest implementation and clarify the queue naming and default unit
- Use common "get_scaled_alpha_beta" and clean print_opt for Dualpi2

v2
- Rename get_float in dualpi2 to get_float_min_max in utils.c
- Move get_float from iplink_can.c in utils.c (Stephen Hemminger <stephen@networkplumber.org>)
- Add print function for JSON of dualpi2 (Stephen Hemminger <stephen@networkplumber.org>)

For more details of DualPI2, plesae refer IETF RFC9332
(https://datatracker.ietf.org/doc/html/rfc9332).

Best Regards,
Chia-Yu

Chia-Yu Chang (1):
  tc: add dualpi2 scheduler module

 bash-completion/tc             |  11 +-
 include/uapi/linux/pkt_sched.h |  39 +++
 include/utils.h                |   2 +
 ip/iplink_can.c                |  14 -
 lib/utils.c                    |  30 ++
 man/man8/tc-dualpi2.8          | 249 ++++++++++++++++
 tc/Makefile                    |   1 +
 tc/q_dualpi2.c                 | 508 +++++++++++++++++++++++++++++++++
 8 files changed, 839 insertions(+), 15 deletions(-)
 create mode 100644 man/man8/tc-dualpi2.8
 create mode 100644 tc/q_dualpi2.c

-- 
2.34.1


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

end of thread, other threads:[~2025-03-18 12:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-16 15:39 [PATCH v4 iproute2-next 0/1] DualPI2 iproute2 patch chia-yu.chang
2025-03-16 15:39 ` [PATCH v4 iproute2-next 1/1] tc: add dualpi2 scheduler module chia-yu.chang
2025-03-17 13:33   ` Stephen Hemminger
2025-03-18 12:55     ` Chia-Yu Chang (Nokia)
2025-03-17 13:36   ` Stephen Hemminger
2025-03-18 12:55     ` Chia-Yu Chang (Nokia)
2025-03-17 13:40   ` Stephen Hemminger
2025-03-18 12:51     ` Chia-Yu Chang (Nokia)

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).