summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2025-03-07 20:36:03 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 11:03:11 +0300
commitdbcd85b05c5ba520b75dbf51d0b48b5a366b6c68 (patch)
tree0c31e9701aac53fc7b6f04c8262d66c8838a2dd5 /net/lapb/lapb_subr.c
parent87b22ce312350170af5e970c5abfb2bb87e39964 (diff)
downloadlinux-dbcd85b05c5ba520b75dbf51d0b48b5a366b6c68.tar.xz
net: phy: phy_caps: Implement link_capabilities lookup by linkmode
In several occasions, phylib needs to lookup a set of matching speed and duplex against a given linkmode set. Instead of relying on the phy_settings array and thus iterate over the whole linkmodes list, use the link_capabilities array to lookup these matches, as we aren't interested in the actual link setting that matches but rather the speed and duplex for that setting. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20250307173611.129125-7-maxime.chevallier@bootlin.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions