Home
last modified time | relevance | path

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

/linux-4.1.27/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()
161 u32 off = (cq->cqid << rdev->cqshift) & PAGE_MASK; in create_cq()
168 u32 off = ((cq->cqid << rdev->cqshift) & PAGE_MASK) + 12; in create_cq()
180 c4iw_put_cqid(rdev, cq->cqid, uctx); in create_cq()
348 PDBG("%s cqid 0x%x\n", __func__, chp->cq.cqid); in c4iw_flush_hw_cq()
665 __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()
Dt4.h541 u32 cqid; member
567 INGRESSQID_V(cq->cqid & cq->qid_mask); in t4_arm_cq()
572 INGRESSQID_V(cq->cqid & cq->qid_mask); in t4_arm_cq()
582 PDBG("%s cxgb4 sw cq overflow cqid %u\n", __func__, cq->cqid); in t4_swcq_produce()
605 INGRESSQID_V(cq->cqid & cq->qid_mask); in t4_hwcq_consume()
633 printk(KERN_ERR MOD "cq overflow cqid %u\n", cq->cqid); in t4_next_hw_cqe()
649 PDBG("%s cxgb4 sw cq overflow cqid %u\n", __func__, cq->cqid); in t4_next_sw_cqe()
Duser.h48 __u32 cqid; member
Dqp.c294 FW_RI_RES_WR_IQID_V(scq->cqid)); in create_qp()
318 FW_RI_RES_WR_IQID_V(rcq->cqid)); in create_qp()
1629 schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid); in c4iw_create_qp()
1630 rchp = get_chp(rhp, ((struct c4iw_cq *)attrs->recv_cq)->cq.cqid); in c4iw_create_qp()
1680 qhp->attr.scq = ((struct c4iw_cq *) attrs->send_cq)->cq.cqid; in c4iw_create_qp()
1681 qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid; in c4iw_create_qp()
Diw_cxgb4.h280 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) in get_chp() argument
282 return idr_find(&rhp->cqidr, cqid); in get_chp()
/linux-4.1.27/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.c132 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in iwch_destroy_cq()
196 if (insert_handle(rhp, &rhp->cqidr, chp, chp->cq.cqid)) { in iwch_create_cq()
210 uresp.cqid = chp->cq.cqid; in iwch_create_cq()
240 chp->cq.cqid, chp, (1 << chp->cq.size_log2), in iwch_create_cq()
285 chp->cq.cqid = oldcq.cqid; in iwch_resize_cq()
296 oldcq.cqid = newcq.cqid; in iwch_resize_cq()
340 chp->cq.cqid); in iwch_arm_cq()
906 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp()
907 rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid); in iwch_create_qp()
962 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.1.27/include/uapi/linux/
Dnvme.h397 __le16 cqid; member
414 __le16 cqid; member
/linux-4.1.27/drivers/block/
Dnvme-core.c1121 c.create_cq.cqid = cpu_to_le16(qid); in adapter_alloc_cq()
1141 c.create_sq.cqid = cpu_to_le16(qid); in adapter_alloc_sq()
1146 static int adapter_delete_cq(struct nvme_dev *dev, u16 cqid) in adapter_delete_cq() argument
1148 return adapter_delete_queue(dev, nvme_admin_delete_cq, cqid); in adapter_delete_cq()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_sli.c12079 uint16_t cqid; in lpfc_sli4_sp_handle_eqe() local
12082 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_sp_handle_eqe()
12085 if (childq->queue_id == cqid) { in lpfc_sli4_sp_handle_eqe()
12094 "(%d) does not exist\n", cqid); in lpfc_sli4_sp_handle_eqe()
12321 uint16_t cqid; in lpfc_sli4_hba_handle_eqe() local
12334 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_hba_handle_eqe()
12337 if (unlikely(cqid != phba->sli4_hba.fcp_cq_map[qidx])) { in lpfc_sli4_hba_handle_eqe()
12358 if (unlikely(cqid != cq->queue_id)) { in lpfc_sli4_hba_handle_eqe()
12362 cqid, cq->queue_id); in lpfc_sli4_hba_handle_eqe()
12424 uint16_t cqid; in lpfc_sli4_fof_handle_eqe() local
[all …]