diff options
author | 2023-12-21 19:00:40 +0100 | |
---|---|---|
committer | 2024-01-01 18:38:57 +0000 | |
commit | 63d5eaf35ac36cad00cfb3809d794ef0078c822b (patch) | |
tree | 0760bec6f78c17f0549a8f5ef43f0883d2e0e50d /tools/testing/selftests/bpf/progs/exceptions.c | |
parent | netlink: specs: add phy-index as a header parameter (diff) | |
download | wireguard-linux-63d5eaf35ac36cad00cfb3809d794ef0078c822b.tar.xz wireguard-linux-63d5eaf35ac36cad00cfb3809d794ef0078c822b.zip |
net: ethtool: Introduce a command to list PHYs on an interface
As we have the ability to track the PHYs connected to a net_device
through the link_topology, we can expose this list to userspace. This
allows userspace to use these identifiers for phy-specific commands and
take the decision of which PHY to target by knowing the link topology.
Add PHY_GET and PHY_DUMP, which can be a filtered DUMP operation to list
devices on only one interface.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/exceptions.c')
0 files changed, 0 insertions, 0 deletions