lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250804122019.57829-1-chia-yu.chang@nokia-bell-labs.com>
Date: Mon,  4 Aug 2025 14:20:16 +0200
From: chia-yu.chang@...ia-bell-labs.com
To: dsahern@...nel.org,
	alok.a.tiwari@...cle.com,
	donald.hunter@...il.com,
	xandfury@...il.com,
	netdev@...r.kernel.org,
	dave.taht@...il.com,
	pabeni@...hat.com,
	jhs@...atatu.com,
	kuba@...nel.org,
	stephen@...workplumber.org,
	xiyou.wangcong@...il.com,
	jiri@...nulli.us,
	davem@...emloft.net,
	edumazet@...gle.com,
	horms@...nel.org,
	andrew+netdev@...n.ch,
	ast@...erby.net,
	liuhangbin@...il.com,
	shuah@...nel.org,
	linux-kselftest@...r.kernel.org,
	ij@...nel.org,
	ncardwell@...gle.com,
	koen.de_schepper@...ia-bell-labs.com,
	g.white@...lelabs.com,
	ingemar.s.johansson@...csson.com,
	mirja.kuehlewind@...csson.com,
	cheshire@...le.com,
	rs.ietf@....at,
	Jason_Livingood@...cast.com,
	vidhi_goel@...le.com
Cc: Chia-Yu Chang <chia-yu.chang@...ia-bell-labs.com>
Subject: [PATCH v12 iproute2-next 0/3] DUALPI2 iproute2 patch

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

Hello,

Please find DUALPI2 iproute2 patch v12.

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

Best Regards,
Chia-Yu

---
v12 (04-Aug-2025)
- Split into 3 patches: one move get_float(), one add get_float_min_max(), one for dualpi2 (David Ahern <dsahern@...nel.org>)
- Repalce matches() with strcmp() within get_packets() (David Ahern <dsahern@...nel.org>)
- Apply reverse xmas tree listing of variables (David Ahern <dsahern@...nel.org>)

v11 (18-Jul-2025)
- Replace TCA_DUALPI2 prefix with TC_DUALPI2 prefix for enums (Jakub Kicinski <kuba@...nel.org>)

v10 (02-Jul-2025)
- Replace STEP_THRESH and STEP_PACKETS w/ STEP_THRESH_PKTS and STEP_THRESH_US of net-next patch (Jakub Kicinski <kuba@...nel.org>)

v9 (13-Jun-2025)
- Fix space issue and typos (ALOK TIWARI <alok.a.tiwari@...cle.com>)
- Change 'rtt_typical' to 'typical_rtt' in tc/q_dualpi2.c (ALOK TIWARI <alok.a.tiwari@...cle.com>)
- Add the num of enum used by DualPI2 in pkt_sched.h

v8 (09-May-2025)
- Update pkt_sched.h with the one in nex-next
- Correct a typo in the comment within pkt_sched.h (ALOK TIWARI <alok.a.tiwari@...cle.com>)
- Update manual content in man/man8/tc-dualpi2.8 (ALOK TIWARI <alok.a.tiwari@...cle.com>)
- Update tc/q_dualpi2.c to fix missing blank lines and add missing case (ALOK TIWARI <alok.a.tiwari@...cle.com>)

v7 (05-May-2025)
- Align pkt_sched.h with the v14 version of net-next due to spec modification in tc.yaml
- Reorganize dualpi2_print_opt() to match the order in tc.yaml
- Remove credit-queue in PRINT_JSON

v6 (26-Apr-2025)
- Update JSON file output due to spec modification in tc.yaml of net-next

v5 (25-Mar-2025)
- Use matches() to replace current strcmp() (Stephen Hemminger <stephen@...workplumber.org>)
- Use general parse_percent() for handling scaled percentage values (Stephen Hemminger <stephen@...workplumber.org>)
- Add print function for JSON of dualpi2 stats (Stephen Hemminger <stephen@...workplumber.org>)

v4 (16-Mar-2025)
- Add min_qlen_step to the dualpi2 attribute as the minimum queue length in number of packets in the L-queue to start step marking.

v3 (21-Feb-2025)
- Add memlimit to the dualpi2 attribute, and add memory_used, max_memory_used, and memory_limit in dualpi2 stats (Dave Taht <dave.taht@...il.com>)
- Update the manual to align with the 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-2024)
- 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@...workplumber.org>)
- Add print function for JSON of dualpi2 (Stephen Hemminger <stephen@...workplumber.org>)

---
Chia-Yu Chang (3):
  Move get_float() from ip/iplink_can.c to lib/utils.c
  Add get_float_min_max() in lib/utils.c
  tc: add dualpi2 scheduler module

 bash-completion/tc    |  11 +-
 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        | 535 ++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 827 insertions(+), 15 deletions(-)
 create mode 100644 man/man8/tc-dualpi2.8
 create mode 100644 tc/q_dualpi2.c

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ