src/dpdk/drivers/net/ice/base/ice_common.c
bool ice_fw_supports_report_dflt_cfg(struct ice_hw *hw)
{
	if (hw->api_maj_ver == ICE_FW_API_REPORT_DFLT_CFG_MAJ) {
		if (hw->api_min_ver > ICE_FW_API_REPORT_DFLT_CFG_MIN)
			return true;
		if (hw->api_min_ver == ICE_FW_API_REPORT_DFLT_CFG_MIN &&
		    hw->api_patch >= ICE_FW_API_REPORT_DFLT_CFG_PATCH)
			return true;
	} else if (hw->api_maj_ver > ICE_FW_API_REPORT_DFLT_CFG_MAJ) {
		return true;
	}
	return false;
}
/**
 * ice_fw_supports_report_dflt_cfg
 * @hw: pointer to the hardware structure
 *
 * Checks if the firmware supports report default configuration
 */
ice_fw_supports_report_dflt_cfg
@hw: pointer to the hardware structure

Checks if the firmware supports report default configuration
ice_fw_supports_report_dflt_cfg @hw : pointer to the hardware structure Checks if the firmware supports report default configuration
bool ice_fw_supports_report_dflt_cfg(struct ice_hw *hw)
{
	if (hw->api_maj_ver == ICE_FW_API_REPORT_DFLT_CFG_MAJ) {
		if (hw->api_min_ver > ICE_FW_API_REPORT_DFLT_CFG_MIN)
			return true;
		if (hw->api_min_ver == ICE_FW_API_REPORT_DFLT_CFG_MIN &&
		    hw->api_patch >= ICE_FW_API_REPORT_DFLT_CFG_PATCH)
			return true;
	} else if (hw->api_maj_ver > ICE_FW_API_REPORT_DFLT_CFG_MAJ) {
		return true;
	}
	return false;
}
bool ice_fw_supports_report_dflt_cfg ( struct ice_hw * hw ) { if ( hw -> api_maj_ver == ICE_FW_API_REPORT_DFLT_CFG_MAJ ) { if ( hw -> api_min_ver > ICE_FW_API_REPORT_DFLT_CFG_MIN ) return true ; if ( hw -> api_min_ver == ICE_FW_API_REPORT_DFLT_CFG_MIN && hw -> api_patch >= ICE_FW_API_REPORT_DFLT_CFG_PATCH ) return true ; } else if ( hw -> api_maj_ver > ICE_FW_API_REPORT_DFLT_CFG_MAJ ) { return true ; } return false ; }
ice_fw_supports_report_dflt_cfg
 @hw: pointer to the hardware structure
ice_fw_supports_report_dflt_cfg @hw : pointer to the hardware structure