Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcq.c62 res->u.cq.iqid = cpu_to_be32(cq->cqid); in destroy_cq()
74 c4iw_put_cqid(rdev, cq->cqid, uctx); in destroy_cq()
89 cq->cqid = c4iw_get_cqid(rdev, uctx); in create_cq()
90 if (!cq->cqid) { in create_cq()
132 res->u.cq.iqid = cpu_to_be32(cq->cqid); in create_cq()
162 cq->bar2_va = c4iw_bar2_addrs(rdev, cq->cqid, T4_BAR2_QTYPE_INGRESS, in create_cq()
167 pci_name(rdev->lldi.pdev), cq->cqid); in create_cq()
178 c4iw_put_cqid(rdev, cq->cqid, uctx); in create_cq()
346 PDBG("%s cqid 0x%x\n", __func__, chp->cq.cqid); in c4iw_flush_hw_cq()
663 __func__, cq, cq->cqid, cq->sw_cidx); in poll_cq()
[all …]
Dev.c122 u32 cqid; in c4iw_ev_dispatch() local
138 cqid = qhp->attr.scq; in c4iw_ev_dispatch()
140 cqid = qhp->attr.rcq; in c4iw_ev_dispatch()
141 chp = get_chp(dev, cqid); in c4iw_ev_dispatch()
145 cqid, CQE_QPID(err_cqe), in c4iw_ev_dispatch()
Duser.h48 __u32 cqid; member
Dt4.h552 u32 cqid; member
572 writel(val | INGRESSQID_V(cq->cqid), cq->gts); in write_gts()
600 PDBG("%s cxgb4 sw cq overflow cqid %u\n", __func__, cq->cqid); in t4_swcq_produce()
650 printk(KERN_ERR MOD "cq overflow cqid %u\n", cq->cqid); in t4_next_hw_cqe()
666 PDBG("%s cxgb4 sw cq overflow cqid %u\n", __func__, cq->cqid); in t4_next_sw_cqe()
Dqp.c319 FW_RI_RES_WR_IQID_V(scq->cqid)); in create_qp()
343 FW_RI_RES_WR_IQID_V(rcq->cqid)); in create_qp()
1642 schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid); in c4iw_create_qp()
1643 rchp = get_chp(rhp, ((struct c4iw_cq *)attrs->recv_cq)->cq.cqid); in c4iw_create_qp()
1693 qhp->attr.scq = ((struct c4iw_cq *) attrs->send_cq)->cq.cqid; in c4iw_create_qp()
1694 qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid; in c4iw_create_qp()
Diw_cxgb4.h278 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) in get_chp() argument
280 return idr_find(&rhp->cqidr, cqid); in get_chp()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch_user.h50 __u32 cqid; member
56 __u32 cqid; member
Diwch.h137 static inline struct iwch_cq *get_chp(struct iwch_dev *rhp, u32 cqid) in get_chp() argument
139 return idr_find(&rhp->cqidr, cqid); in get_chp()
Diwch_ev.c112 u32 cqid = RSPQ_CQID(rsp_msg); in iwch_ev_dispatch() local
117 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()
125 static int cxio_hal_clear_cq_ctx(struct cxio_rdev *rdev_p, u32 cqid) in cxio_hal_clear_cq_ctx() argument
128 setup.id = cqid; in cxio_hal_clear_cq_ctx()
164 cq->cqid = cxio_hal_get_cqid(rdev_p->rscp); in cxio_create_cq()
165 if (!cq->cqid) in cxio_create_cq()
180 setup.id = cq->cqid; in cxio_create_cq()
196 setup.id = cq->cqid; in cxio_resize_cq()
326 err = cxio_hal_clear_cq_ctx(rdev_p, cq->cqid); in cxio_destroy_cq()
332 cxio_hal_put_cqid(rdev_p->rscp, cq->cqid); in cxio_destroy_cq()
432 PDBG("%s cq %p cqid 0x%x\n", __func__, cq, cq->cqid); in cxio_flush_hw_cq()
[all …]
Diwch_provider.c136 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in iwch_destroy_cq()
205 if (insert_handle(rhp, &rhp->cqidr, chp, chp->cq.cqid)) { in iwch_create_cq()
219 uresp.cqid = chp->cq.cqid; in iwch_create_cq()
249 chp->cq.cqid, chp, (1 << chp->cq.size_log2), in iwch_create_cq()
294 chp->cq.cqid = oldcq.cqid; in iwch_resize_cq()
305 oldcq.cqid = newcq.cqid; in iwch_resize_cq()
349 chp->cq.cqid); in iwch_arm_cq()
935 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp()
936 rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid); in iwch_create_qp()
991 qhp->attr.scq = ((struct iwch_cq *) attrs->send_cq)->cq.cqid; in iwch_create_qp()
[all …]
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.c71 credit, chp->cq.cqid); in iwch_poll_cq_one()
Dcxio_wr.h716 u32 cqid; member
/linux-4.4.14/include/linux/
Dnvme.h457 __le16 cqid; member
474 __le16 cqid; member
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c685 u16 cqid = cqe->cqvalid_cqid & OCRDMA_AE_MCQE_CQID_MASK; in ocrdma_dispatch_ibevent() local
703 if (cqid < dev->attr.max_cq) in ocrdma_dispatch_ibevent()
704 cq = dev->cq_tbl[cqid]; in ocrdma_dispatch_ibevent()
707 dev->id, cqid); in ocrdma_dispatch_ibevent()
/linux-4.4.14/drivers/nvme/host/
Dpci.c1162 c.create_cq.cqid = cpu_to_le16(qid); in adapter_alloc_cq()
1186 c.create_sq.cqid = cpu_to_le16(qid); in adapter_alloc_sq()
1191 static int adapter_delete_cq(struct nvme_dev *dev, u16 cqid) in adapter_delete_cq() argument
1193 return adapter_delete_queue(dev, nvme_admin_delete_cq, cqid); in adapter_delete_cq()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_sli.c12061 uint16_t cqid; in lpfc_sli4_sp_handle_eqe() local
12064 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_sp_handle_eqe()
12067 if (childq->queue_id == cqid) { in lpfc_sli4_sp_handle_eqe()
12076 "(%d) does not exist\n", cqid); in lpfc_sli4_sp_handle_eqe()
12303 uint16_t cqid; in lpfc_sli4_hba_handle_eqe() local
12316 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_hba_handle_eqe()
12319 if (unlikely(cqid != phba->sli4_hba.fcp_cq_map[qidx])) { in lpfc_sli4_hba_handle_eqe()
12340 if (unlikely(cqid != cq->queue_id)) { in lpfc_sli4_hba_handle_eqe()
12344 cqid, cq->queue_id); in lpfc_sli4_hba_handle_eqe()
12406 uint16_t cqid; in lpfc_sli4_fof_handle_eqe() local
[all …]