src/dpdk/drivers/net/ixgbe/base/ixgbe_x550.c
s32 ixgbe_setup_kr_x550em(struct ixgbe_hw *hw)
{
	/* leave link alone for 2.5G */
	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);
}
/**
 * ixgbe_setup_kr_x550em - Configure the KR PHY.
 * @hw: pointer to hardware structure
 **/
Configure the KR PHY.
@hw: pointer to hardware structure
Configure the KR PHY . @hw : pointer to hardware structure
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);
}
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 ) ; }
ixgbe_setup_kr_x550em - Configure the KR PHY.
ixgbe_setup_kr_x550em - Configure the KR PHY .
/* leave link alone for 2.5G */