]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ixgbe: Fix reporting of 100Mb capability
authorTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 11 Nov 2016 00:00:33 +0000 (16:00 -0800)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 16 Jun 2017 06:01:22 +0000 (23:01 -0700)
BaseT adapters that are capable of supporting 100Mb are not reporting this
capability.  This patch corrects the reporting so that 100Mb is shown as
supported on those adapters.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Orabug: 26242766
(cherry picked from commit f215266470dfe86196a31fe0725a86cea77f9a18)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c

index 7d11e89658b790dbf155c478fa95f5fb98899e3c..3097b9551d9a1a1956b8515e0de97d87d64a352e 100644 (file)
@@ -199,7 +199,7 @@ static int ixgbe_get_settings(struct net_device *netdev,
        if (supported_link & IXGBE_LINK_SPEED_100_FULL)
                ecmd->supported |= ixgbe_isbackplane(hw->phy.media_type) ?
                                   SUPPORTED_1000baseKX_Full :
-                                  SUPPORTED_1000baseT_Full;
+                                  SUPPORTED_100baseT_Full;
 
        /* default advertised speed if phy.autoneg_advertised isn't set */
        ecmd->advertising = ecmd->supported;