[PATCH iproute2-next v4 0/3] tc: fq_pie: add per-flow class statistics support
From: Hemendra M. Naik
Date: Mon Jul 27 2026 - 13:02:35 EST
FQ-PIE exposes no per-flow AQM state in userspace today. This series
adds tc support for printing per-flow statistics via
'tc -s class show', matching the kernel fq_pie class ops series.
The corresponding kernel series can be viewed here:
https://lore.kernel.org/netdev/20260727164056.106203-1-hemendranaik@xxxxxxxxx/
---
Changelog:
v4:
- Split into 3 patches: fq_pie class stats, pie avg_dq_rate
formatting, and tc_pie_xstats comment fixes.
v3: https://lore.kernel.org/netdev/20260630184453.171410-1-hemendranaik@xxxxxxxxx/
- Moved print_nl() into each xstats type block to preserve output
formatting.
v2: https://lore.kernel.org/netdev/20260614130729.10076-1-hemendranaik@xxxxxxxxx/
- Addressed ABI backward compatibility issue.
v1: https://lore.kernel.org/netdev/20260531131411.28213-1-hemendranaik@xxxxxxxxx/
- Initial submission
Hemendra M. Naik (3):
tc: fq_pie: add support for printing per-flow PIE statistics
tc: pie: print avg_dq_rate in human-readable format
tc: correct tc_pie_xstats field documentation
include/uapi/linux/pkt_sched.h | 29 +++++++++++++++--
man/man8/tc-fq_pie.8 | 18 +++++++++++
man/man8/tc-pie.8 | 2 +-
tc/q_fq_pie.c | 59 +++++++++++++++++++++++-----------
tc/q_pie.c | 4 +--
5 files changed, 88 insertions(+), 24 deletions(-)
--
2.34.1