Home
last modified time | relevance | path

Searched refs:cqid (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/drivers/nvme/host/
Dtrace.c27 u16 cqid = get_unaligned_le16(cdw10 + 6); in nvme_trace_create_sq() local
31 sqid, qsize, sq_flags, cqid); in nvme_trace_create_sq()
40 u16 cqid = get_unaligned_le16(cdw10); in nvme_trace_delete_cq() local
42 trace_seq_printf(p, "cqid=%u", cqid); in nvme_trace_delete_cq()
51 u16 cqid = get_unaligned_le16(cdw10); in nvme_trace_create_cq() local
57 cqid, qsize, cq_flags, irq_vector); in nvme_trace_create_cq()
Dpci.c1138 c.create_cq.cqid = cpu_to_le16(qid); in adapter_alloc_cq()
1171 c.create_sq.cqid = cpu_to_le16(qid); in adapter_alloc_sq()
1176 static int adapter_delete_cq(struct nvme_dev *dev, u16 cqid) in adapter_delete_cq() argument
1178 return adapter_delete_queue(dev, nvme_admin_delete_cq, cqid); in adapter_delete_cq()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dev.c124 u32 cqid; in c4iw_ev_dispatch() local
139 cqid = qhp->attr.scq; in c4iw_ev_dispatch()
141 cqid = qhp->attr.rcq; in c4iw_ev_dispatch()
142 chp = get_chp(dev, cqid); in c4iw_ev_dispatch()
145 cqid, CQE_QPID(err_cqe), in c4iw_ev_dispatch()
Dcq.c58 res->u.cq.iqid = cpu_to_be32(cq->cqid); in destroy_cq()
67 c4iw_put_cqid(rdev, cq->cqid, uctx); in destroy_cq()
85 cq->cqid = c4iw_get_cqid(rdev, uctx); in create_cq()
86 if (!cq->cqid) { in create_cq()
136 res->u.cq.iqid = cpu_to_be32(cq->cqid); in create_cq()
163 cq->bar2_va = c4iw_bar2_addrs(rdev, cq->cqid, CXGB4_BAR2_QTYPE_INGRESS, in create_cq()
168 pci_name(rdev->lldi.pdev), cq->cqid); in create_cq()
179 c4iw_put_cqid(rdev, cq->cqid, uctx); in create_cq()
342 pr_debug("cqid 0x%x\n", chp->cq.cqid); in c4iw_flush_hw_cq()
744 cq, cq->cqid, cq->sw_cidx); in poll_cq()
[all …]
Dt4.h703 u32 cqid; member
724 writel(val | INGRESSQID_V(cq->cqid), cq->gts); in write_gts()
753 __func__, cq->cqid); in t4_swcq_produce()
808 pr_err("cq overflow cqid %u\n", cq->cqid); in t4_next_hw_cqe()
824 __func__, cq->cqid); in t4_next_sw_cqe()
Diw_cxgb4.h349 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) in get_chp() argument
351 return xa_load(&rhp->cqs, cqid); in get_chp()
Dqp.c337 FW_RI_RES_WR_IQID_V(scq->cqid)); in create_qp()
367 FW_RI_RES_WR_IQID_V(rcq->cqid)); in create_qp()
2134 schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid); in c4iw_create_qp()
2135 rchp = get_chp(rhp, ((struct c4iw_cq *)attrs->recv_cq)->cq.cqid); in c4iw_create_qp()
2197 qhp->attr.scq = ((struct c4iw_cq *) attrs->send_cq)->cq.cqid; in c4iw_create_qp()
2198 qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid; in c4iw_create_qp()
Drestrack.c276 if (rdma_nl_put_driver_u32(msg, "cqid", cq->cqid)) in fill_cq()
/Linux-v5.4/include/uapi/rdma/
Dcxgb3-abi.h53 __u32 cqid; member
59 __u32 cqid; member
Dbnxt_re-abi.h84 __u32 cqid; member
Dcxgb4-abi.h61 __u32 cqid; member
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch.h136 static inline struct iwch_cq *get_chp(struct iwch_dev *rhp, u32 cqid) in get_chp() argument
138 return xa_load(&rhp->cqs, cqid); in get_chp()
Diwch_ev.c113 u32 cqid = RSPQ_CQID(rsp_msg); in iwch_ev_dispatch() local
118 chp = get_chp(rnicp, cqid); in iwch_ev_dispatch()
122 cqid, CQE_QPID(rsp_msg->cqe), in iwch_ev_dispatch()
Dcxio_hal.c79 setup.id = cq->cqid; in cxio_hal_cq_op()
124 static int cxio_hal_clear_cq_ctx(struct cxio_rdev *rdev_p, u32 cqid) in cxio_hal_clear_cq_ctx() argument
127 setup.id = cqid; in cxio_hal_clear_cq_ctx()
162 cq->cqid = cxio_hal_get_cqid(rdev_p->rscp); in cxio_create_cq()
163 if (!cq->cqid) in cxio_create_cq()
177 setup.id = cq->cqid; in cxio_create_cq()
307 cxio_hal_clear_cq_ctx(rdev_p, cq->cqid); in cxio_destroy_cq()
313 cxio_hal_put_cqid(rdev_p->rscp, cq->cqid); in cxio_destroy_cq()
410 pr_debug("%s cq %p cqid 0x%x\n", __func__, cq, cq->cqid); in cxio_flush_hw_cq()
1295 __func__, cq, cq->cqid, cq->sw_rptr); in cxio_poll_cq()
[all …]
Diwch_provider.c98 xa_erase_irq(&chp->rhp->cqs, chp->cq.cqid); in iwch_destroy_cq()
156 if (xa_store_irq(&rhp->cqs, chp->cq.cqid, chp, GFP_KERNEL)) { in iwch_create_cq()
171 uresp.cqid = chp->cq.cqid; in iwch_create_cq()
200 chp->cq.cqid, chp, (1 << chp->cq.size_log2), in iwch_create_cq()
231 pr_err("Error %d rearming CQID 0x%x\n", err, chp->cq.cqid); in iwch_arm_cq()
713 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp()
714 rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid); in iwch_create_qp()
770 qhp->attr.scq = ((struct iwch_cq *) attrs->send_cq)->cq.cqid; in iwch_create_qp()
771 qhp->attr.rcq = ((struct iwch_cq *) attrs->recv_cq)->cq.cqid; in iwch_create_qp()
Dcxio_resource.h55 extern void cxio_hal_put_cqid(struct cxio_hal_resource *rscp, u32 cqid);
Dcxio_resource.c227 void cxio_hal_put_cqid(struct cxio_hal_resource *rscp, u32 cqid) in cxio_hal_put_cqid() argument
229 cxio_hal_put_resource(&rscp->cqid_fifo, &rscp->cqid_fifo_lock, cqid); in cxio_hal_put_cqid()
Diwch_cq.c49 credit, chp->cq.cqid); in __iwch_poll_cq_one()
Dcxio_wr.h716 u32 cqid; member
/Linux-v5.4/include/linux/
Dnvme.h947 __le16 cqid; member
964 __le16 cqid; member
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c688 u16 cqid = cqe->cqvalid_cqid & OCRDMA_AE_MCQE_CQID_MASK; in ocrdma_dispatch_ibevent() local
706 if (cqid < dev->attr.max_cq) in ocrdma_dispatch_ibevent()
707 cq = dev->cq_tbl[cqid]; in ocrdma_dispatch_ibevent()
710 dev->id, cqid); in ocrdma_dispatch_ibevent()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_sli.c13515 uint16_t cqid; in lpfc_sli4_sp_handle_eqe() local
13518 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_sp_handle_eqe()
13521 if (childq->queue_id == cqid) { in lpfc_sli4_sp_handle_eqe()
13530 "(%d) does not exist\n", cqid); in lpfc_sli4_sp_handle_eqe()
13541 cqid, cq->queue_id, raw_smp_processor_id()); in lpfc_sli4_sp_handle_eqe()
14027 uint16_t cqid, id; in lpfc_sli4_hba_handle_eqe() local
14039 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_hba_handle_eqe()
14042 if (cqid <= phba->sli4_hba.cq_max) { in lpfc_sli4_hba_handle_eqe()
14043 cq = phba->sli4_hba.cq_lookup[cqid]; in lpfc_sli4_hba_handle_eqe()
14051 if ((cqid >= id) && (cqid < (id + phba->cfg_nvmet_mrq))) { in lpfc_sli4_hba_handle_eqe()
[all …]
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2614 resp.cqid = cq->qplib_cq.id; in bnxt_re_create_cq()