diff options
author | 2025-05-02 10:52:39 +0200 | |
---|---|---|
committer | 2025-05-05 17:17:40 -0700 | |
commit | 172265b44cd3c90b76f2153a15abf64520d70e4a (patch) | |
tree | 997afd447dee5a810841f44d3991fca36ab0d4a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: iou-zcrx: Clean up build warnings for error format (diff) | |
download | wireguard-linux-172265b44cd3c90b76f2153a15abf64520d70e4a.tar.xz wireguard-linux-172265b44cd3c90b76f2153a15abf64520d70e4a.zip |
net: ethtool: Introduce per-PHY DUMP operations
ethnl commands that target a phy_device need a DUMP implementation that
will fill the reply for every PHY behind a netdev. We therefore need to
iterate over the dev->topo to list them.
When multiple PHYs are behind the same netdev, it's also useful to
perform DUMP with a filter on a given netdev, to get the capability of
every PHY.
Implement dedicated genl ->start(), ->dumpit() and ->done() operations
for PHY-targetting command, allowing filtered dumps and using a dump
context that keep track of the PHY iteration for multi-message dump.
PSE-PD and PLCA are converted to this new set of ops along the way.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250502085242.248645-2-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions