src/dpdk/drivers/net/ixgbe/base/ixgbe_x550.c
static s32 ixgbe_setup_eee_fw(struct ixgbe_hw *hw, bool enable_eee)
{
	if (!!hw->phy.eee_speeds_advertised == enable_eee)
		return IXGBE_SUCCESS;
	if (enable_eee)
		hw->phy.eee_speeds_advertised = hw->phy.eee_speeds_supported;
	else
		hw->phy.eee_speeds_advertised = 0;
	return hw->phy.ops.setup_link(hw);
}
/**
 * ixgbe_setup_eee_fw - Enable/disable EEE support
 * @hw: pointer to the HW structure
 * @enable_eee: boolean flag to enable EEE
 *
 * Enable/disable EEE based on enable_eee flag.
 * This function controls EEE for firmware-based PHY implementations.
 */
Enable/disable EEE support
@hw: pointer to the HW structure
@enable_eee: boolean flag to enable EEE

Enable/disable EEE based on enable_eee flag.
This function controls EEE for firmware-based PHY implementations.
Enable / disable EEE support @hw : pointer to the HW structure @enable_eee : boolean flag to enable EEE Enable / disable EEE based on enable_eee flag . This function controls EEE for firmware - based PHY implementations .
static s32 ixgbe_setup_eee_fw(struct ixgbe_hw *hw, bool enable_eee)
{
	if (!!hw->phy.eee_speeds_advertised == enable_eee)
		return IXGBE_SUCCESS;
	if (enable_eee)
		hw->phy.eee_speeds_advertised = hw->phy.eee_speeds_supported;
	else
		hw->phy.eee_speeds_advertised = 0;
	return hw->phy.ops.setup_link(hw);
}
static s32 ixgbe_setup_eee_fw ( struct ixgbe_hw * hw , bool enable_eee ) { if ( ! ! hw -> phy . eee_speeds_advertised == enable_eee ) return IXGBE_SUCCESS ; if ( enable_eee ) hw -> phy . eee_speeds_advertised = hw -> phy . eee_speeds_supported ; else hw -> phy . eee_speeds_advertised = 0 ; return hw -> phy . ops . setup_link ( hw ) ; }
ixgbe_setup_eee_fw - Enable/disable EEE support
 @hw: pointer to the HW structure
 @enable_eee: boolean flag to enable EEE
ixgbe_setup_eee_fw - Enable / disable EEE support @hw : pointer to the HW structure @enable_eee : boolean flag to enable EEE