]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ice: Allow 100M speed for E825C SGMII device
authorGrzegorz Nitka <grzegorz.nitka@intel.com>
Mon, 24 Feb 2025 20:59:24 +0000 (21:59 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 29 Oct 2025 20:55:22 +0000 (13:55 -0700)
Add E825C 10GbE SGMII device to the list of devices supporting 100Mbit
link mode. Without that change, 100Mbit link mode is ignored in ethtool
interface. This change was missed while adding the support for E825C
devices family.

Testing hints (please note, for previous version, 100baseT/Full entry
was missing):
[root@localhost]# ethtool eth3
Settings for eth3:
        Supported ports: [ TP ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: None
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
...

Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c

index b097cc8b175cb2476e38791868d2ebb573d430f7..83f5217bce9f6bf288a1a52a425ba62369a5ea03 100644 (file)
@@ -3392,6 +3392,7 @@ bool ice_is_100m_speed_supported(struct ice_hw *hw)
        case ICE_DEV_ID_E822L_SGMII:
        case ICE_DEV_ID_E823L_1GBE:
        case ICE_DEV_ID_E823C_SGMII:
+       case ICE_DEV_ID_E825C_SGMII:
                return true;
        default:
                return false;