src/dpdk/drivers/net/ice/base/ice_sched.c
static void
ice_set_clear_eir_bw_alloc(struct ice_bw_type_info *bw_t_info, u16 bw_alloc)
{
	bw_t_info->eir_bw.bw_alloc = bw_alloc;
	if (bw_t_info->eir_bw.bw_alloc)
		ice_set_bit(ICE_BW_TYPE_EIR_WT, bw_t_info->bw_t_bitmap);
	else
		ice_clear_bit(ICE_BW_TYPE_EIR_WT, bw_t_info->bw_t_bitmap);
}
/**
 * ice_set_clear_eir_bw_alloc - set or clear EIR BW alloc information
 * @bw_t_info: bandwidth type information structure
 * @bw_alloc: Bandwidth allocation information
 *
 * Save or clear EIR BW alloc information (bw_alloc) in the passed param
 * bw_t_info.
 */
set or clear EIR BW alloc information
@bw_t_info: bandwidth type information structure
@bw_alloc: Bandwidth allocation information

Save or clear EIR BW alloc information (bw_alloc) in the passed param
bw_t_info.
set or clear EIR BW alloc information @bw_t_info : bandwidth type information structure @bw_alloc : Bandwidth allocation information Save or clear EIR BW alloc information ( bw_alloc ) in the passed param bw_t_info .
static void
ice_set_clear_eir_bw_alloc(struct ice_bw_type_info *bw_t_info, u16 bw_alloc)
{
	bw_t_info->eir_bw.bw_alloc = bw_alloc;
	if (bw_t_info->eir_bw.bw_alloc)
		ice_set_bit(ICE_BW_TYPE_EIR_WT, bw_t_info->bw_t_bitmap);
	else
		ice_clear_bit(ICE_BW_TYPE_EIR_WT, bw_t_info->bw_t_bitmap);
}
static void ice_set_clear_eir_bw_alloc ( struct ice_bw_type_info * bw_t_info , u16 bw_alloc ) { bw_t_info -> eir_bw . bw_alloc = bw_alloc ; if ( bw_t_info -> eir_bw . bw_alloc ) ice_set_bit ( ICE_BW_TYPE_EIR_WT , bw_t_info -> bw_t_bitmap ) ; else ice_clear_bit ( ICE_BW_TYPE_EIR_WT , bw_t_info -> bw_t_bitmap ) ; }
ice_set_clear_eir_bw_alloc - set or clear EIR BW alloc information
 @bw_t_info: bandwidth type information structure
 @bw_alloc: Bandwidth allocation information
ice_set_clear_eir_bw_alloc - set or clear EIR BW alloc information @bw_t_info : bandwidth type information structure @bw_alloc : Bandwidth allocation information