diff options
-rw-r--r-- | drivers/net/ixgbe/ixgbe_82599.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c index d189ba7e8f15..38c384031c4c 100644 --- a/drivers/net/ixgbe/ixgbe_82599.c +++ b/drivers/net/ixgbe/ixgbe_82599.c | |||
@@ -642,6 +642,7 @@ static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, | |||
642 | s32 i, j; | 642 | s32 i, j; |
643 | bool link_up = false; | 643 | bool link_up = false; |
644 | u32 autoc_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC); | 644 | u32 autoc_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC); |
645 | struct ixgbe_adapter *adapter = hw->back; | ||
645 | 646 | ||
646 | hw_dbg(hw, "ixgbe_setup_mac_link_smartspeed.\n"); | 647 | hw_dbg(hw, "ixgbe_setup_mac_link_smartspeed.\n"); |
647 | 648 | ||
@@ -726,6 +727,10 @@ static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, | |||
726 | autoneg_wait_to_complete); | 727 | autoneg_wait_to_complete); |
727 | 728 | ||
728 | out: | 729 | out: |
730 | if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) | ||
731 | netif_info(adapter, hw, adapter->netdev, "Smartspeed has" | ||
732 | " downgraded the link speed from the maximum" | ||
733 | " advertised\n"); | ||
729 | return status; | 734 | return status; |
730 | } | 735 | } |
731 | 736 | ||