Home
last modified time | relevance | path

Searched refs:q_handle (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_base.c845 ring->q_handle = ice_eswitch_calc_txq_handle(ring); in ice_vsi_cfg_txq()
847 if (ring->q_handle == ICE_INVAL_Q_INDEX) in ice_vsi_cfg_txq()
850 ring->q_handle = ice_calc_txq_handle(vsi, ring, tc); in ice_vsi_cfg_txq()
855 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
859 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
1006 txq_meta->tc, 1, &txq_meta->q_handle, in ice_vsi_stop_tx_ring()
1051 txq_meta->q_handle = ring->q_handle; in ice_fill_txq_meta()
Dice_common.h179 u16 *q_handle, u16 *q_ids, u32 *q_teids,
186 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
197 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
Dice_sched.h134 u16 q_handle, enum ice_rl_type rl_type, u32 bw);
137 u16 q_handle, enum ice_rl_type rl_type);
Dice_sched.c585 q_ctx[idx].q_handle = ICE_INVAL_Q_HANDLE; in ice_alloc_lan_q_ctx()
607 q_ctx[idx].q_handle = ICE_INVAL_Q_HANDLE; in ice_alloc_lan_q_ctx()
3827 u16 q_handle, enum ice_rl_type rl_type, u32 bw) in ice_sched_set_q_bw_lmt() argument
3836 q_ctx = ice_get_lan_q_ctx(pi->hw, vsi_handle, tc, q_handle); in ice_sched_set_q_bw_lmt()
3890 u16 q_handle, enum ice_rl_type rl_type, u32 bw) in ice_cfg_q_bw_lmt() argument
3892 return ice_sched_set_q_bw_lmt(pi, vsi_handle, tc, q_handle, rl_type, in ice_cfg_q_bw_lmt()
3908 u16 q_handle, enum ice_rl_type rl_type) in ice_cfg_q_bw_dflt_lmt() argument
3910 return ice_sched_set_q_bw_lmt(pi, vsi_handle, tc, q_handle, rl_type, in ice_cfg_q_bw_dflt_lmt()
Dice_common.c4589 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle) in ice_get_lan_q_ctx() argument
4597 if (q_handle >= vsi->num_lan_q_entries[tc]) in ice_get_lan_q_ctx()
4602 return &q_ctx[q_handle]; in ice_get_lan_q_ctx()
4619 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, in ice_ena_vsi_txq() argument
4642 q_ctx = ice_get_lan_q_ctx(hw, vsi_handle, tc, q_handle); in ice_ena_vsi_txq()
4645 q_handle); in ice_ena_vsi_txq()
4695 q_ctx->q_handle = q_handle; in ice_ena_vsi_txq()
4770 if (q_ctx->q_handle != q_handles[i]) { in ice_dis_vsi_txq()
4772 q_ctx->q_handle, q_handles[i]); in ice_dis_vsi_txq()
4784 q_ctx->q_handle = ICE_INVAL_Q_HANDLE; in ice_dis_vsi_txq()
Dice_txrx.h363 u16 q_handle; /* Queue handle per TC */ member
Dice_lag.c336 if (q_ctx->q_handle == ICE_INVAL_Q_HANDLE) { in ice_lag_qbuf_recfg()
342 qid = pf->vsi[vsi_num]->txq_map[q_ctx->q_handle]; in ice_lag_qbuf_recfg()
343 qbuf->queue_info[count].q_handle = cpu_to_le16(qid); in ice_lag_qbuf_recfg()
Dice.h229 u16 q_handle; /* Relative index of Tx queue within TC */ member
Dice_type.h606 u16 q_handle; member
Dice_main.c5817 u16 q_handle; in ice_set_tx_maxrate() local
5828 q_handle = vsi->tx_rings[queue_index]->q_handle; in ice_set_tx_maxrate()
5841 q_handle, ICE_MAX_BW); in ice_set_tx_maxrate()
5844 q_handle, ICE_MAX_BW, maxrate * 1000); in ice_set_tx_maxrate()
Dice_adminq_cmd.h1959 __le16 q_handle; member
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c241 uintptr_t q_handle; in clean_nq() local
266 q_handle = le32_to_cpu(nqcne->cq_handle_low); in clean_nq()
267 q_handle |= (u64)le32_to_cpu(nqcne->cq_handle_high) in clean_nq()
269 if ((unsigned long)cq == q_handle) { in clean_nq()
307 uintptr_t q_handle; in bnxt_qplib_service_nq() local
331 q_handle = le32_to_cpu(nqcne->cq_handle_low); in bnxt_qplib_service_nq()
332 q_handle |= (u64)le32_to_cpu(nqcne->cq_handle_high) in bnxt_qplib_service_nq()
334 cq = (struct bnxt_qplib_cq *)(unsigned long)q_handle; in bnxt_qplib_service_nq()
354 q_handle = le32_to_cpu(nqsrqe->srq_handle_low); in bnxt_qplib_service_nq()
355 q_handle |= (u64)le32_to_cpu(nqsrqe->srq_handle_high) in bnxt_qplib_service_nq()
[all …]