[PATCH iproute2-next v5 0/3] tc: fq_pie: add per-flow class statistics support
From: Hemendra M. Naik <hidden>
Date: 2026-09-02 04:02:36
Also in:
lkml
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/20260902035231.81866-1-hemendranaik@gmail.com/ (local) --- Changelog: v5: - Addressed Sashiko review comments (folded into patch 1/3): - Dropped empty tc_fq_pie_xqd_stats placeholder; class_stats is now a direct struct member in the UAPI header. v4: https://lore.kernel.org/netdev/20260727165028.106817-1-hemendranaik@gmail.com/ (local) - 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@gmail.com/ (local) - Moved print_nl() into each xstats type block to preserve output formatting. v2: https://lore.kernel.org/netdev/20260614130729.10076-1-hemendranaik@gmail.com/ (local) - Addressed ABI backward compatibility issue. v1: https://lore.kernel.org/netdev/20260531131411.28213-1-hemendranaik@gmail.com/ (local) - 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 | 21 ++++++++++-- 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, 80 insertions(+), 24 deletions(-) -- 2.34.1