diff options
author | 2025-01-10 07:05:11 +0100 | |
---|---|---|
committer | 2025-01-14 11:44:19 +0100 | |
commit | fe55b1d401c697c2ef126fe3ebbcaa6885fced5a (patch) | |
tree | ff444ef09a754687d1efdc23bda1b66e8bfdda5e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: microchip_t1: depend on PTP_1588_CLOCK_OPTIONAL (diff) | |
download | wireguard-linux-fe55b1d401c697c2ef126fe3ebbcaa6885fced5a.tar.xz wireguard-linux-fe55b1d401c697c2ef126fe3ebbcaa6885fced5a.zip |
ethtool: linkstate: migrate linkstate functions to support multi-PHY setups
Adapt linkstate_get_sqi() and linkstate_get_sqi_max() to take a
phy_device argument directly, enabling support for setups with
multiple PHYs. The previous assumption of a single PHY attached to
a net_device no longer holds.
Use ethnl_req_get_phydev() to identify the appropriate PHY device
for the operation. Update linkstate_prepare_data() and related
logic to accommodate this change, ensuring compatibility with
multi-PHY configurations.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions