Home
last modified time | relevance | path

Searched refs:q_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.c578 struct ice_q_ctx *q_ctx; in ice_alloc_lan_q_ctx() local
586 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs, in ice_alloc_lan_q_ctx()
587 sizeof(*q_ctx), GFP_KERNEL); in ice_alloc_lan_q_ctx()
588 if (!q_ctx) in ice_alloc_lan_q_ctx()
592 q_ctx[idx].q_handle = ICE_INVAL_Q_HANDLE; in ice_alloc_lan_q_ctx()
593 q_ctx[idx].q_teid = ICE_INVAL_TEID; in ice_alloc_lan_q_ctx()
596 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx()
604 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs, in ice_alloc_lan_q_ctx()
605 sizeof(*q_ctx), GFP_KERNEL); in ice_alloc_lan_q_ctx()
606 if (!q_ctx) in ice_alloc_lan_q_ctx()
[all …]
H A Dice_common.c4953 struct ice_q_ctx *q_ctx; in ice_get_lan_q_ctx() local
4962 q_ctx = vsi->lan_q_ctx[tc]; in ice_get_lan_q_ctx()
4963 return &q_ctx[q_handle]; in ice_get_lan_q_ctx()
4986 struct ice_q_ctx *q_ctx; in ice_ena_vsi_txq() local
5003 q_ctx = ice_get_lan_q_ctx(hw, vsi_handle, tc, q_handle); in ice_ena_vsi_txq()
5004 if (!q_ctx) { in ice_ena_vsi_txq()
5056 q_ctx->q_handle = q_handle; in ice_ena_vsi_txq()
5057 q_ctx->q_teid = le32_to_cpu(node.node_teid); in ice_ena_vsi_txq()
5062 status = ice_sched_replay_q_bw(pi, q_ctx); in ice_ena_vsi_txq()
5092 struct ice_q_ctx *q_ctx; in ice_dis_vsi_txq() local
[all …]
H A Dice_sched.h178 int ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);