kernel: backport flow offload fixes
[openwrt/openwrt.git] / target / linux / generic / backport-5.10 / 711-v5.12-sfp-add-support-for-100-base-x-SFPs.patch
index 7d06c235d9a57da8268084cf7f70470cb18067c9..0c87532e13254fbaab241f1b59278b9ad2795a38 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/drivers/net/phy/sfp-bus.c
 +++ b/drivers/net/phy/sfp-bus.c
-@@ -280,6 +280,12 @@ void sfp_parse_support(struct sfp_bus *b
+@@ -286,6 +286,12 @@ void sfp_parse_support(struct sfp_bus *b
            br_min <= 1300 && br_max >= 1200)
                phylink_set(modes, 1000baseX_Full);
  
@@ -28,7 +28,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
        /* For active or passive cables, select the link modes
         * based on the bit rates and the cable compliance bytes.
         */
-@@ -399,6 +405,9 @@ phy_interface_t sfp_select_interface(str
+@@ -405,6 +411,9 @@ phy_interface_t sfp_select_interface(str
        if (phylink_test(link_modes, 1000baseX_Full))
                return PHY_INTERFACE_MODE_1000BASEX;