mbox series

[v3,iproute2-next,0/1] DualPI2 iproute2 patch

Message ID 20250222101702.27909-1-chia-yu.chang@nokia-bell-labs.com (mailing list archive)
Headers show
Series DualPI2 iproute2 patch | expand

Message

Chia-Yu Chang (Nokia) Feb. 22, 2025, 10:17 a.m. UTC
From: Chia-Yu Chang <chia-yu.chang@nokia-bell-labs.com>

Hello,

  Please find DUALPI2 iproute2 patch v3.

v3
- Add memlimit in 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).

--
Chia-Yu

Olga Albisser (1):
  tc: add dualpi2 scheduler module

 bash-completion/tc             |   9 +-
 include/uapi/linux/pkt_sched.h |  38 +++
 include/utils.h                |   2 +
 ip/iplink_can.c                |  14 -
 lib/utils.c                    |  30 ++
 man/man8/tc-dualpi2.8          | 240 ++++++++++++++++
 tc/Makefile                    |   1 +
 tc/q_dualpi2.c                 | 494 +++++++++++++++++++++++++++++++++
 8 files changed, 813 insertions(+), 15 deletions(-)
 create mode 100644 man/man8/tc-dualpi2.8
 create mode 100644 tc/q_dualpi2.c