net/ixgbe/base: remove default advertising for x550 2.5G/5G
authorGuinan Sun <guinanx.sun@intel.com>
Thu, 9 Jul 2020 08:00:43 +0000 (08:00 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
We are seeing interoperability issues with switches when 2.5G and 5G
in x550 are advertised by default, so default to off.

Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/ixgbe/base/ixgbe_phy.c

index f859b15..8d4d9bb 100644 (file)
@@ -915,10 +915,6 @@ static s32 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw)
                hw->phy.speeds_supported |= IXGBE_LINK_SPEED_100_FULL;
 
        switch (hw->mac.type) {
-       case ixgbe_mac_X550:
-               hw->phy.speeds_supported |= IXGBE_LINK_SPEED_2_5GB_FULL;
-               hw->phy.speeds_supported |= IXGBE_LINK_SPEED_5GB_FULL;
-               break;
        case ixgbe_mac_X550EM_x:
        case ixgbe_mac_X550EM_a:
                hw->phy.speeds_supported &= ~IXGBE_LINK_SPEED_100_FULL;