src/dpdk/drivers/net/igc/base/igc_api.c
s32 igc_check_for_link(struct igc_hw *hw)
{
	if (hw->mac.ops.check_for_link)
		return hw->mac.ops.check_for_link(hw);

	return -IGC_ERR_CONFIG;
}
/**
 *  igc_check_for_link - Check/Store link connection
 *  @hw: pointer to the HW structure
 *
 *  This checks the link condition of the adapter and stores the
 *  results in the hw->mac structure. This is a function pointer entry
 *  point called by drivers.
 **/
Check/Store link connection
@hw: pointer to the HW structure

This checks the link condition of the adapter and stores the
results in the hw->mac structure. This is a function pointer entry
point called by drivers.
Check / Store link connection @hw : pointer to the HW structure This checks the link condition of the adapter and stores the results in the hw - > mac structure . This is a function pointer entry point called by drivers .
s32 igc_check_for_link(struct igc_hw *hw)
{
	if (hw->mac.ops.check_for_link)
		return hw->mac.ops.check_for_link(hw);
	return -IGC_ERR_CONFIG;
}
s32 igc_check_for_link ( struct igc_hw * hw ) { if ( hw -> mac . ops . check_for_link ) return hw -> mac . ops . check_for_link ( hw ) ; return - IGC_ERR_CONFIG ; }
igc_check_for_link - Check/Store link connection
  @hw: pointer to the HW structure
igc_check_for_link - Check / Store link connection @hw : pointer to the HW structure