src/dpdk/drivers/net/ice/base/ice_sched.c
static enum ice_status
ice_sched_save_q_bw(struct ice_q_ctx *q_ctx, enum ice_rl_type rl_type, u32 bw)
{
	switch (rl_type) {
	case ICE_MIN_BW:
		ice_set_clear_cir_bw(&q_ctx->bw_t_info, bw);
		break;
	case ICE_MAX_BW:
		ice_set_clear_eir_bw(&q_ctx->bw_t_info, bw);
		break;
	case ICE_SHARED_BW:
		ice_set_clear_shared_bw(&q_ctx->bw_t_info, bw);
		break;
	default:
		return ICE_ERR_PARAM;
	}
	return ICE_SUCCESS;
}
/**
 * ice_sched_save_q_bw - save queue node's BW information
 * @q_ctx: queue context structure
 * @rl_type: rate limit type min, max, or shared
 * @bw: bandwidth in Kbps - Kilo bits per sec
 *
 * Save BW information of queue type node for post replay use.
 */
save queue node's BW information
@q_ctx: queue context structure
@rl_type: rate limit type min, max, or shared
@bw: bandwidth in Kbps - Kilo bits per sec

Save BW information of queue type node for post replay use.
save queue node ' s BW information @q_ctx : queue context structure @rl_type : rate limit type min max or shared @bw : bandwidth in Kbps - Kilo bits per sec Save BW information of queue type node for post replay use .
static enum ice_status
ice_sched_save_q_bw(struct ice_q_ctx *q_ctx, enum ice_rl_type rl_type, u32 bw)
{
	switch (rl_type) {
	case ICE_MIN_BW:
		ice_set_clear_cir_bw(&q_ctx->bw_t_info, bw);
		break;
	case ICE_MAX_BW:
		ice_set_clear_eir_bw(&q_ctx->bw_t_info, bw);
		break;
	case ICE_SHARED_BW:
		ice_set_clear_shared_bw(&q_ctx->bw_t_info, bw);
		break;
	default:
		return ICE_ERR_PARAM;
	}
	return ICE_SUCCESS;
}
static enum ice_status ice_sched_save_q_bw ( struct ice_q_ctx * q_ctx , enum ice_rl_type rl_type , u32 bw ) { switch ( rl_type ) { case ICE_MIN_BW : ice_set_clear_cir_bw ( & q_ctx -> bw_t_info , bw ) ; break ; case ICE_MAX_BW : ice_set_clear_eir_bw ( & q_ctx -> bw_t_info , bw ) ; break ; case ICE_SHARED_BW : ice_set_clear_shared_bw ( & q_ctx -> bw_t_info , bw ) ; break ; default : return ICE_ERR_PARAM ; } return ICE_SUCCESS ; }
ice_sched_save_q_bw - save queue node's BW information
 @q_ctx: queue context structure
 @rl_type: rate limit type min, max, or shared
 @bw: bandwidth in Kbps - Kilo bits per sec
ice_sched_save_q_bw - save queue node ' s BW information @q_ctx : queue context structure @rl_type : rate limit type min max or shared @bw : bandwidth in Kbps - Kilo bits per sec