Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_base.c873 ring->q_handle = ice_eswitch_calc_txq_handle(ring); in ice_vsi_cfg_txq()
875 if (ring->q_handle == ICE_INVAL_Q_INDEX) in ice_vsi_cfg_txq()
878 ring->q_handle = ice_calc_txq_handle(vsi, ring, tc); in ice_vsi_cfg_txq()
883 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
887 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
1034 txq_meta->tc, 1, &txq_meta->q_handle, in ice_vsi_stop_tx_ring()
1079 txq_meta->q_handle = ring->q_handle; in ice_fill_txq_meta()
H A 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);
H A Dice_sched.h134 u16 q_handle, enum ice_rl_type rl_type, u32 bw);
137 u16 q_handle, enum ice_rl_type rl_type);
H A Dice_sched.c583 q_ctx[idx].q_handle = ICE_INVAL_Q_HANDLE; in ice_alloc_lan_q_ctx()
605 q_ctx[idx].q_handle = ICE_INVAL_Q_HANDLE; in ice_alloc_lan_q_ctx()
3825 u16 q_handle, enum ice_rl_type rl_type, u32 bw) in ice_sched_set_q_bw_lmt() argument
3834 q_ctx = ice_get_lan_q_ctx(pi->hw, vsi_handle, tc, q_handle); in ice_sched_set_q_bw_lmt()
3888 u16 q_handle, enum ice_rl_type rl_type, u32 bw) in ice_cfg_q_bw_lmt() argument
3890 return ice_sched_set_q_bw_lmt(pi, vsi_handle, tc, q_handle, rl_type, in ice_cfg_q_bw_lmt()
3906 u16 q_handle, enum ice_rl_type rl_type) in ice_cfg_q_bw_dflt_lmt() argument
3908 return ice_sched_set_q_bw_lmt(pi, vsi_handle, tc, q_handle, rl_type, in ice_cfg_q_bw_dflt_lmt()
H A Dice_common.c4612 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle) in ice_get_lan_q_ctx() argument
4620 if (q_handle >= vsi->num_lan_q_entries[tc]) in ice_get_lan_q_ctx()
4625 return &q_ctx[q_handle]; in ice_get_lan_q_ctx()
4642 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, in ice_ena_vsi_txq() argument
4665 q_ctx = ice_get_lan_q_ctx(hw, vsi_handle, tc, q_handle); in ice_ena_vsi_txq()
4668 q_handle); in ice_ena_vsi_txq()
4718 q_ctx->q_handle = q_handle; in ice_ena_vsi_txq()
4793 if (q_ctx->q_handle != q_handles[i]) { in ice_dis_vsi_txq()
4795 q_ctx->q_handle, q_handles[i]); in ice_dis_vsi_txq()
4807 q_ctx->q_handle = ICE_INVAL_Q_HANDLE; in ice_dis_vsi_txq()
H A Dice_txrx.h364 u16 q_handle; /* Queue handle per TC */ member
H A 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()
H A Dice.h230 u16 q_handle; /* Relative index of Tx queue within TC */ member
H A Dice_type.h607 u16 q_handle; member
H A Dice_main.c5854 u16 q_handle; in ice_set_tx_maxrate() local
5865 q_handle = vsi->tx_rings[queue_index]->q_handle; in ice_set_tx_maxrate()
5878 q_handle, ICE_MAX_BW); in ice_set_tx_maxrate()
5881 q_handle, ICE_MAX_BW, maxrate * 1000); in ice_set_tx_maxrate()
H A Dice_adminq_cmd.h1960 __le16 q_handle; member
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c240 uintptr_t q_handle; in clean_nq() local
263 q_handle = le32_to_cpu(nqcne->cq_handle_low); in clean_nq()
264 q_handle |= (u64)le32_to_cpu(nqcne->cq_handle_high) in clean_nq()
266 if ((unsigned long)cq == q_handle) { in clean_nq()
304 uintptr_t q_handle; in bnxt_qplib_service_nq() local
327 q_handle = le32_to_cpu(nqcne->cq_handle_low); in bnxt_qplib_service_nq()
328 q_handle |= (u64)le32_to_cpu(nqcne->cq_handle_high) in bnxt_qplib_service_nq()
330 cq = (struct bnxt_qplib_cq *)(unsigned long)q_handle; in bnxt_qplib_service_nq()
350 q_handle = le32_to_cpu(nqsrqe->srq_handle_low); in bnxt_qplib_service_nq()
351 q_handle |= (u64)le32_to_cpu(nqsrqe->srq_handle_high) in bnxt_qplib_service_nq()
[all …]