net/ixgbe/base: add link block check for KR
When setting up link on x550 KR devices, should check if there are constraints on link from manageability, which may result in link loss. Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
This commit is contained in:
parent
f8687bd0b2
commit
90a02fce70
@ -2663,6 +2663,9 @@ s32 ixgbe_setup_kr_x550em(struct ixgbe_hw *hw)
|
||||
if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL)
|
||||
return IXGBE_SUCCESS;
|
||||
|
||||
if (ixgbe_check_reset_blocked(hw))
|
||||
return 0;
|
||||
|
||||
return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user