From: Jakub Kicinski Date: Tue, 29 Oct 2024 18:57:35 +0000 (-0700) Subject: Merge branch 'net-phylink-simplify-sfp-phy-attachment' X-Git-Tag: v6.13-rc1~135^2~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b62607870b291d72ca4a07b24fa298dcb2762b79;p=thirdparty%2Fkernel%2Flinux.git 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 --- b62607870b291d72ca4a07b24fa298dcb2762b79