src/dpdk/drivers/net/ice/base/ice_sched.c
enum ice_status
ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx)
{
	struct ice_sched_node *q_node;

	/* Following also checks the presence of node in tree */
	q_node = ice_sched_find_node_by_teid(pi->root, q_ctx->q_teid);
	if (!q_node)
		return ICE_ERR_PARAM;
	return ice_sched_replay_node_bw(pi->hw, q_node, &q_ctx->bw_t_info);
}
/**
 * ice_sched_replay_q_bw - replay queue type node BW
 * @pi: port information structure
 * @q_ctx: queue context structure
 *
 * This function replays queue type node bandwidth. This function needs to be
 * called with scheduler lock held.
 */
replay queue type node BW
@pi: port information structure
@q_ctx: queue context structure

This function replays queue type node bandwidth. This function needs to be
called with scheduler lock held.
replay queue type node BW @pi : port information structure @q_ctx : queue context structure This function replays queue type node bandwidth . This function needs to be called with scheduler lock held .
enum ice_status
ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx)
{
	struct ice_sched_node *q_node;
	q_node = ice_sched_find_node_by_teid(pi->root, q_ctx->q_teid);
	if (!q_node)
		return ICE_ERR_PARAM;
	return ice_sched_replay_node_bw(pi->hw, q_node, &q_ctx->bw_t_info);
}
enum ice_status ice_sched_replay_q_bw ( struct ice_port_info * pi , struct ice_q_ctx * q_ctx ) { struct ice_sched_node * q_node ; q_node = ice_sched_find_node_by_teid ( pi -> root , q_ctx -> q_teid ) ; if ( ! q_node ) return ICE_ERR_PARAM ; return ice_sched_replay_node_bw ( pi -> hw , q_node , & q_ctx -> bw_t_info ) ; }
ice_sched_replay_q_bw - replay queue type node BW
 @pi: port information structure
 @q_ctx: queue context structure
ice_sched_replay_q_bw - replay queue type node BW @pi : port information structure @q_ctx : queue context structure
/* Following also checks the presence of node in tree */