src/dpdk/drivers/net/ixgbe/base/ixgbe_82599.c
void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw)
{
	DEBUGFUNC("ixgbe_flap_tx_laser_multispeed_fiber");

	/* Blocked by MNG FW so bail */
	if (ixgbe_check_reset_blocked(hw))
		return;

	if (hw->mac.autotry_restart) {
		ixgbe_disable_tx_laser_multispeed_fiber(hw);
		ixgbe_enable_tx_laser_multispeed_fiber(hw);
		hw->mac.autotry_restart = false;
	}
}
/**
 * ixgbe_flap_tx_laser_multispeed_fiber - Flap Tx laser
 * @hw: pointer to hardware structure
 *
 * When the driver changes the link speeds that it can support,
 * it sets autotry_restart to true to indicate that we need to
 * initiate a new autotry session with the link partner.  To do
 * so, we set the speed then disable and re-enable the Tx laser, to
 * alert the link partner that it also needs to restart autotry on its
 * end.  This is consistent with true clause 37 autoneg, which also
 * involves a loss of signal.
 **/
Flap Tx laser
@hw: pointer to hardware structure

When the driver changes the link speeds that it can support,
it sets autotry_restart to true to indicate that we need to
initiate a new autotry session with the link partner.  To do
so, we set the speed then disable and re-enable the Tx laser, to
alert the link partner that it also needs to restart autotry on its
end.  This is consistent with true clause 37 autoneg, which also
involves a loss of signal.
Flap Tx laser @hw : pointer to hardware structure When the driver changes the link speeds that it can support it sets autotry_restart to true to indicate that we need to initiate a new autotry session with the link partner . To do so we set the speed then disable and re - enable the Tx laser to alert the link partner that it also needs to restart autotry on its end . This is consistent with true clause 37 autoneg which also involves a loss of signal .
void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw)
{
	DEBUGFUNC("ixgbe_flap_tx_laser_multispeed_fiber");
	if (ixgbe_check_reset_blocked(hw))
		return;
	if (hw->mac.autotry_restart) {
		ixgbe_disable_tx_laser_multispeed_fiber(hw);
		ixgbe_enable_tx_laser_multispeed_fiber(hw);
		hw->mac.autotry_restart = false;
	}
}
void ixgbe_flap_tx_laser_multispeed_fiber ( struct ixgbe_hw * hw ) { DEBUGFUNC ( " " ) ; if ( ixgbe_check_reset_blocked ( hw ) ) return ; if ( hw -> mac . autotry_restart ) { ixgbe_disable_tx_laser_multispeed_fiber ( hw ) ; ixgbe_enable_tx_laser_multispeed_fiber ( hw ) ; hw -> mac . autotry_restart = false ; } }
ixgbe_flap_tx_laser_multispeed_fiber - Flap Tx laser
 @hw: pointer to hardware structure
ixgbe_flap_tx_laser_multispeed_fiber - Flap Tx laser @hw : pointer to hardware structure
/* Blocked by MNG FW so bail */