netdev: support dumping a single netdev in qstats
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
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | netdev: support dumping a single netdev in qstatsDocumentation/ net/ net/ | +41 | 6 replies | Applied |
| 2/4 | netlink: move extack writing helpersnet/ | +63 | 1 reply | Applied |
| 3/4 | netlink: support all extack types in dumpsnet/ | +10 | 1 reply | Applied |
| 4/4 | selftests: drv-net: test dumping qstats per devicetools/ tools/ | +77 | 0 replies | Applied |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern | Eric Dumazet |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 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 0/4] netdev: support dumping a single netdev in qstats
I was writing a test for page pool which depended on qstats, and got tired of having to filter dumps in user space. Add support for dumping stats for a single netdev.
To get there we first need to add full support for extack in dumps (and fix a dump error handling bug in YNL, sent separately to the net tree).
Jakub Kicinski (4):
netdev: support dumping a single netdev in qstats
netlink: move extack writing helpers
netlink: support all extack types in dumps
selftests: drv-net: test dumping qstats per device
Documentation/netlink/specs/netdev.yaml | 1 + net/core/netdev-genl-gen.c | 1 + net/core/netdev-genl.c | 52 +++++-- net/netlink/af_netlink.c | 135 ++++++++++--------- tools/testing/selftests/drivers/net/stats.py | 62 ++++++++- tools/testing/selftests/net/lib/py/ksft.py | 18 +++ 6 files changed, 188 insertions(+), 81 deletions(-)
Signature · 1 line
2.44.0