src/dpdk/drivers/net/txgbe/base/txgbe_hw.c
static s32 txgbe_setup_copper_link_raptor(struct txgbe_hw *hw,
					 u32 speed,
					 bool autoneg_wait_to_complete)
{
	s32 status;

	DEBUGFUNC("txgbe_setup_copper_link_raptor");

	/* Setup the PHY according to input speed */
	status = hw->phy.setup_link_speed(hw, speed,
					      autoneg_wait_to_complete);
	/* Set up MAC */
	txgbe_start_mac_link_raptor(hw, autoneg_wait_to_complete);

	return status;
}
/**
 *  txgbe_setup_copper_link_raptor - Set the PHY autoneg advertised field
 *  @hw: pointer to hardware structure
 *  @speed: new link speed
 *  @autoneg_wait_to_complete: true if waiting is needed to complete
 *
 *  Restarts link on PHY and MAC based on settings passed in.
 **/
Set the PHY autoneg advertised field
@hw: pointer to hardware structure
@speed: new link speed
@autoneg_wait_to_complete: true if waiting is needed to complete

Restarts link on PHY and MAC based on settings passed in.
Set the PHY autoneg advertised field @hw : pointer to hardware structure @speed : new link speed @autoneg_wait_to_complete : true if waiting is needed to complete Restarts link on PHY and MAC based on settings passed in .
static s32 txgbe_setup_copper_link_raptor(struct txgbe_hw *hw,
					 u32 speed,
					 bool autoneg_wait_to_complete)
{
	s32 status;
	DEBUGFUNC("txgbe_setup_copper_link_raptor");
	status = hw->phy.setup_link_speed(hw, speed,
					      autoneg_wait_to_complete);
	txgbe_start_mac_link_raptor(hw, autoneg_wait_to_complete);
	return status;
}
static s32 txgbe_setup_copper_link_raptor ( struct txgbe_hw * hw , u32 speed , bool autoneg_wait_to_complete ) { s32 status ; DEBUGFUNC ( " " ) ; status = hw -> phy . setup_link_speed ( hw , speed , autoneg_wait_to_complete ) ; txgbe_start_mac_link_raptor ( hw , autoneg_wait_to_complete ) ; return status ; }
txgbe_setup_copper_link_raptor - Set the PHY autoneg advertised field
  @hw: pointer to hardware structure
  @speed: new link speed
  @autoneg_wait_to_complete: true if waiting is needed to complete
txgbe_setup_copper_link_raptor - Set the PHY autoneg advertised field @hw : pointer to hardware structure @speed : new link speed @autoneg_wait_to_complete : true if waiting is needed to complete
/* Setup the PHY according to input speed */ /* Set up MAC */