src/dpdk/drivers/net/txgbe/base/txgbe_hw.c
s32 txgbe_start_hw_raptor(struct txgbe_hw *hw)
{
	s32 err = 0;

	DEBUGFUNC("txgbe_start_hw_raptor");

	err = txgbe_start_hw(hw);
	if (err != 0)
		goto out;

	err = txgbe_start_hw_gen2(hw);
	if (err != 0)
		goto out;

	/* We need to run link autotry after the driver loads */
	hw->mac.autotry_restart = true;

out:
	return err;
}
/**
 *  txgbe_start_hw_raptor - Prepare hardware for Tx/Rx
 *  @hw: pointer to hardware structure
 *
 *  Starts the hardware using the generic start_hw function
 *  and the generation start_hw function.
 *  Then performs revision-specific operations, if any.
 **/
Prepare hardware for Tx/Rx
@hw: pointer to hardware structure

Starts the hardware using the generic start_hw function
and the generation start_hw function.
Then performs revision-specific operations, if any.
Prepare hardware for Tx / Rx @hw : pointer to hardware structure Starts the hardware using the generic start_hw function and the generation start_hw function . Then performs revision - specific operations if any .
s32 txgbe_start_hw_raptor(struct txgbe_hw *hw)
{
	s32 err = 0;
	DEBUGFUNC("txgbe_start_hw_raptor");
	err = txgbe_start_hw(hw);
	if (err != 0)
		goto out;
	err = txgbe_start_hw_gen2(hw);
	if (err != 0)
		goto out;
	hw->mac.autotry_restart = true;
out:
	return err;
}
s32 txgbe_start_hw_raptor ( struct txgbe_hw * hw ) { s32 err = 0 ; DEBUGFUNC ( " " ) ; err = txgbe_start_hw ( hw ) ; if ( err != 0 ) goto out ; err = txgbe_start_hw_gen2 ( hw ) ; if ( err != 0 ) goto out ; hw -> mac . autotry_restart = true ; out : return err ; }
txgbe_start_hw_raptor - Prepare hardware for Tx/Rx
  @hw: pointer to hardware structure
txgbe_start_hw_raptor - Prepare hardware for Tx / Rx @hw : pointer to hardware structure
/* We need to run link autotry after the driver loads */