Lines Matching defs:q_ctx
599 struct ice_q_ctx *q_ctx;
607 ice_calloc(hw, new_numqs, sizeof(*q_ctx));
617 q_ctx = (struct ice_q_ctx *)
618 ice_calloc(hw, new_numqs, sizeof(*q_ctx));
619 if (!q_ctx)
621 ice_memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc],
622 prev_num * sizeof(*q_ctx), ICE_DMA_TO_NONDMA);
624 vsi_ctx->lan_q_ctx[tc] = q_ctx;
641 struct ice_q_ctx *q_ctx;
649 ice_calloc(hw, new_numqs, sizeof(*q_ctx));
659 q_ctx = (struct ice_q_ctx *)
660 ice_calloc(hw, new_numqs, sizeof(*q_ctx));
661 if (!q_ctx)
663 ice_memcpy(q_ctx, vsi_ctx->rdma_q_ctx[tc],
664 prev_num * sizeof(*q_ctx), ICE_DMA_TO_NONDMA);
666 vsi_ctx->rdma_q_ctx[tc] = q_ctx;
4568 * @q_ctx: queue context structure
4575 ice_sched_save_q_bw(struct ice_q_ctx *q_ctx, enum ice_rl_type rl_type, u32 bw)
4579 ice_set_clear_cir_bw(&q_ctx->bw_t_info, bw);
4582 ice_set_clear_eir_bw(&q_ctx->bw_t_info, bw);
4585 ice_set_clear_shared_bw(&q_ctx->bw_t_info, bw);
4609 struct ice_q_ctx *q_ctx;
4615 q_ctx = ice_get_lan_q_ctx(pi->hw, vsi_handle, tc, q_handle);
4616 if (!q_ctx)
4618 node = ice_sched_find_node_by_teid(pi->root, q_ctx->q_teid);
4649 status = ice_sched_save_q_bw(q_ctx, rl_type, bw);
5956 * @q_ctx: queue context structure
5962 ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx)
5967 q_node = ice_sched_find_node_by_teid(pi->root, q_ctx->q_teid);
5970 return ice_sched_replay_node_bw(pi->hw, q_node, &q_ctx->bw_t_info);