mbox series

[net-next,0/4] netdev: support dumping a single netdev in qstats

Message ID 20240420023543.3300306-1-kuba@kernel.org (mailing list archive)
Headers show
Series netdev: support dumping a single netdev in qstats | expand

Message

Jakub Kicinski April 20, 2024, 2:35 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 23, 2024, 5:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 19 Apr 2024 19:35:38 -0700 you wrote:
> 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).
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] netdev: support dumping a single netdev in qstats
    https://git.kernel.org/netdev/net-next/c/ce05d0f20368
  - [net-next,2/4] netlink: move extack writing helpers
    https://git.kernel.org/netdev/net-next/c/652332e3f1d6
  - [net-next,3/4] netlink: support all extack types in dumps
    https://git.kernel.org/netdev/net-next/c/8af4f60472fc
  - [net-next,4/4] selftests: drv-net: test dumping qstats per device
    https://git.kernel.org/netdev/net-next/c/237109259283

You are awesome, thank you!