lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240420023543.3300306-1-kuba@kernel.org>
Date: Fri, 19 Apr 2024 19:35:38 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
	edumazet@...gle.com,
	pabeni@...hat.com,
	shuah@...nel.org,
	sdf@...gle.com,
	amritha.nambiar@...el.com,
	linux-kselftest@...r.kernel.org,
	dsahern@...il.com,
	Jakub Kicinski <kuba@...nel.org>
Subject: [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(-)

-- 
2.44.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ