From: Chia-Yu Chang chia-yu.chang@nokia-bell-labs.com
Hello,
Please find DUALPI2 iproute2 patch v4.
v5 (25-Mar-25) - Use matches() to replace current strcmp() (Stephen Hemminger stephen@networkplumber.org) - Use general parse_percent() for handling scaled percentage values (Stephen Hemminger stephen@networkplumber.org) - Add print function for JSON of dualpi2 stats (Stephen Hemminger stephen@networkplumber.org)
v4 (16-Mar-25) - 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 (21-Feb-25) - 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 (23-Oct-24) - 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 | 519 +++++++++++++++++++++++++++++++++ 8 files changed, 850 insertions(+), 15 deletions(-) create mode 100644 man/man8/tc-dualpi2.8 create mode 100644 tc/q_dualpi2.c