diff options
| author | 2024-08-21 17:10:01 +0200 | |
|---|---|---|
| committer | 2024-08-23 13:04:34 +0100 | |
| commit | 17194be4c8e1e82d8b484e58cdcb495c0714d1fd (patch) | |
| tree | 0690cfcf8e3797e13ea983f85e53423a804540bc /drivers/fpga/xilinx-selectmap.c | |
| parent | netlink: specs: add phy-index as a header parameter (diff) | |
| download | wireguard-linux-17194be4c8e1e82d8b484e58cdcb495c0714d1fd.tar.xz wireguard-linux-17194be4c8e1e82d8b484e58cdcb495c0714d1fd.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>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions
