]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'net-phylink-simplify-sfp-phy-attachment'
authorJakub Kicinski <kuba@kernel.org>
Tue, 29 Oct 2024 18:57:35 +0000 (11:57 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 29 Oct 2024 18:57:35 +0000 (11:57 -0700)
commitb62607870b291d72ca4a07b24fa298dcb2762b79
treec32f1b415d47af554eb6b125366cf4bc6c2f239d
parente0e918494c3cfdc589c9ede49183046a42cdff39
parent25391e82ffe2247a0eb39cc50ac486fd89996f31
Merge branch 'net-phylink-simplify-sfp-phy-attachment'

Russell King says:

====================
net: phylink: simplify SFP PHY attachment

These two patches simplify how we attach SFP PHYs.

The first patch notices that at the two sites where we call
sfp_select_interface(), if that fails, we always print the same error.
Move this into its own function.

The second patch adds an additional level of validation, checking that
the returned interface is one that is supported by the MAC/PCS.

The last patch simplifies how SFP PHYs are attached, reducing the
number of times that we do validation in this path.
====================

Link: https://patch.msgid.link/Zxj8_clRmDA_G7uH@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>