diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2024-04-04 12:29:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-06 20:25:14 +0300 |
commit | 841942bc62122c59f654f799c2d00ce3fda93efa (patch) | |
tree | ceeb19f9bb2bf74edce1cfaceea5e8de70c09f3c /tools/testing/selftests/net/lib/py/utils.py | |
parent | fdd353965b52de7580795824de7010a73ff98f30 (diff) | |
download | linux-841942bc62122c59f654f799c2d00ce3fda93efa.tar.xz |
net: ethtool: Allow passing a phy index for some commands
Some netlink commands are target towards ethernet PHYs, to control some
of their features. As there's several such commands, add the ability to
pass a PHY index in the ethnl request, which will populate the generic
ethnl_req_info with the relevant phydev when the command targets a PHY.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions