diff options
author | 2025-03-07 18:36:02 +0100 | |
---|---|---|
committer | 2025-03-18 09:03:11 +0100 | |
commit | 87b22ce312350170af5e970c5abfb2bb87e39964 (patch) | |
tree | faab5b91ee30e4fdf0d154448a622d08b4ef8600 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: phy_caps: Move __set_linkmode_max_speed to phy_caps (diff) | |
download | wireguard-linux-87b22ce312350170af5e970c5abfb2bb87e39964.tar.xz wireguard-linux-87b22ce312350170af5e970c5abfb2bb87e39964.zip |
net: phy: phy_caps: Introduce phy_caps_valid
With the link_capabilities array, it's trivial to validate a given mask
againts a <speed, duplex> tuple. Create a helper for that purpose, and
use it to replace a phy_settings lookup in phy_check_valid();
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250307173611.129125-6-maxime.chevallier@bootlin.com
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