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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.44.0





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux