From: Guinan Sun Date: Thu, 9 Jul 2020 08:00:43 +0000 (+0000) Subject: net/ixgbe/base: remove default advertising for x550 2.5G/5G X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=13de2444449e0c9a48438eb888175144f84114e9;p=dpdk.git net/ixgbe/base: remove default advertising for x550 2.5G/5G 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 Signed-off-by: Guinan Sun Reviewed-by: Wei Zhao --- diff --git a/drivers/net/ixgbe/base/ixgbe_phy.c b/drivers/net/ixgbe/base/ixgbe_phy.c index f859b152ec..8d4d9bbfef 100644 --- a/drivers/net/ixgbe/base/ixgbe_phy.c +++ b/drivers/net/ixgbe/base/ixgbe_phy.c @@ -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;