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

	return IGC_SUCCESS;
}
/**
 *  igc_validate_mdi_setting - Ensures valid MDI/MDIX SW state
 *  @hw: pointer to the HW structure
 *
 *  Ensures that the MDI/MDIX SW state is valid.
 **/
Ensures valid MDI/MDIX SW state
@hw: pointer to the HW structure

Ensures that the MDI/MDIX SW state is valid.
Ensures valid MDI / MDIX SW state @hw : pointer to the HW structure Ensures that the MDI / MDIX SW state is valid .
s32 igc_validate_mdi_setting(struct igc_hw *hw)
{
	if (hw->mac.ops.validate_mdi_setting)
		return hw->mac.ops.validate_mdi_setting(hw);
	return IGC_SUCCESS;
}
s32 igc_validate_mdi_setting ( struct igc_hw * hw ) { if ( hw -> mac . ops . validate_mdi_setting ) return hw -> mac . ops . validate_mdi_setting ( hw ) ; return IGC_SUCCESS ; }
igc_validate_mdi_setting - Ensures valid MDI/MDIX SW state
  @hw: pointer to the HW structure
igc_validate_mdi_setting - Ensures valid MDI / MDIX SW state @hw : pointer to the HW structure