tools: ynl: turn the page-pool sample into a real tool
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 3 repliesApplied 4/4
- v15 patches 4 repliesSuperseded 1 of 5 applied
Changes in v2 from the cover letter
- patch 1 was applied already
- [patch 1 (was 2)] use kernel version
- [patch 2 (was 3)] Makefile cleanup
v1: https://lore.kernel.org/[email protected]
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools: ynltool: create skeleton for the C commandtools/ tools/ tools/ +4 more | +720 | 2 replies | Applied |
| 2/4 | tools: ynltool: add page-pool statstools/ tools/ tools/ +2 more | +473 | 0 replies | Applied |
| 3/4 | tools: ynltool: add qstats supporttools/ tools/ tools/ | +333 | 0 replies | Applied |
| 4/4 | tools: ynltool: add traffic distribution balancetools/ tools/ | +293 | 0 replies | Applied |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Stanislav Fomichev |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/4] tools: ynl: turn the page-pool sample into a real tool
The page-pool YNL sample is quite useful. It's helps calculate recycling rate and memory consumption. Since we still haven't figured out a way to integrate with iproute2 (not for the lack of thinking how to solve it) - create a ynltool command in ynl.
Add page-pool and qstats support.
Most commands can use the Python YNL CLI directly but low level stats often need aggregation or some math on top to be useful. Specifically in this patch set:
- page pool stats are aggregated and recycling rate computed
- per-queue stats are used to compute traffic balance across queues
v2:
- patch 1 was applied already
- [patch 1 (was 2)] use kernel version
- [patch 2 (was 3)] Makefile cleanup
v1: https://lore.kernel.org/[email protected]
Jakub Kicinski (4):
tools: ynltool: create skeleton for the C command
tools: ynltool: add page-pool stats
tools: ynltool: add qstats support
tools: ynltool: add traffic distribution balance
tools/net/ynl/Makefile | 3 +- tools/net/ynl/ynltool/Makefile | 55 +++ tools/net/ynl/ynltool/json_writer.h | 75 ++++ tools/net/ynl/ynltool/main.h | 66 +++ tools/net/ynl/samples/page-pool.c | 149 ------- tools/net/ynl/ynltool/json_writer.c | 288 +++++++++++++ tools/net/ynl/ynltool/main.c | 242 +++++++++++ tools/net/ynl/ynltool/page-pool.c | 461 +++++++++++++++++++++ tools/net/ynl/ynltool/qstats.c | 621 ++++++++++++++++++++++++++++ tools/net/ynl/ynltool/.gitignore | 1 + 10 files changed, 1811 insertions(+), 150 deletions(-) create mode 100644 tools/net/ynl/ynltool/Makefile create mode 100644 tools/net/ynl/ynltool/json_writer.h create mode 100644 tools/net/ynl/ynltool/main.h delete mode 100644 tools/net/ynl/samples/page-pool.c create mode 100644 tools/net/ynl/ynltool/json_writer.c create mode 100644 tools/net/ynl/ynltool/main.c create mode 100644 tools/net/ynl/ynltool/page-pool.c create mode 100644 tools/net/ynl/ynltool/qstats.c create mode 100644 tools/net/ynl/ynltool/.gitignore
Signature · 1 line
2.51.1