diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2024-08-21 18:10:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-23 15:04:34 +0300 |
commit | 17194be4c8e1e82d8b484e58cdcb495c0714d1fd (patch) | |
tree | 0690cfcf8e3797e13ea983f85e53423a804540bc /LICENSES | |
parent | 9af0e89d6c2433afd3e5e7cc52c7592ef23526c0 (diff) | |
download | linux-17194be4c8e1e82d8b484e58cdcb495c0714d1fd.tar.xz |
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 'LICENSES')
0 files changed, 0 insertions, 0 deletions