Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/cxgb4/
Dev.c85 u32 cqid; in c4iw_ev_dispatch() local
101 cqid = qhp->attr.scq; in c4iw_ev_dispatch()
103 cqid = qhp->attr.rcq; in c4iw_ev_dispatch()
104 chp = get_chp(dev, cqid); in c4iw_ev_dispatch()
108 cqid, CQE_QPID(err_cqe), in c4iw_ev_dispatch()
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->cqid << rdev->cqshift); in create_cq()
172 c4iw_put_cqid(rdev, cq->cqid, uctx); in create_cq()
254 PDBG("%s cq %p cqid 0x%x\n", __func__, cq, cq->cqid); in c4iw_flush_hw_cq()
546 __func__, cq, cq->cqid, cq->sw_cidx); in poll_cq()
550 __func__, cq, cq->cqid, cq->cidx); in poll_cq()
[all …]
Dt4.h462 u32 cqid; member
479 INGRESSQID(cq->cqid); in t4_arm_cq()
484 INGRESSQID(cq->cqid); in t4_arm_cq()
511 INGRESSQID(cq->cqid); in t4_hwcq_consume()
539 printk(KERN_ERR MOD "cq overflow cqid %u\n", cq->cqid); in t4_next_hw_cqe()
Duser.h48 __u32 cqid; member
Dqp.c221 V_FW_RI_RES_WR_IQID(scq->cqid)); in create_qp()
244 V_FW_RI_RES_WR_IQID(rcq->cqid)); in create_qp()
1407 schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid); in c4iw_create_qp()
1408 rchp = get_chp(rhp, ((struct c4iw_cq *)attrs->recv_cq)->cq.cqid); in c4iw_create_qp()
1453 qhp->attr.scq = ((struct c4iw_cq *) attrs->send_cq)->cq.cqid; in c4iw_create_qp()
1454 qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid; in c4iw_create_qp()
Diw_cxgb4.h199 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) in get_chp() argument
201 return idr_find(&rhp->cqidr, cqid); in get_chp()
/linux-3.4.99/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()
239 chp->cq.cqid, chp, (1 << chp->cq.size_log2), in iwch_create_cq()
284 chp->cq.cqid = oldcq.cqid; in iwch_resize_cq()
295 oldcq.cqid = newcq.cqid; in iwch_resize_cq()
339 chp->cq.cqid); in iwch_arm_cq()
907 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp()
908 rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid); in iwch_create_qp()
963 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-3.4.99/include/linux/
Dnvme.h292 __le16 cqid; member
309 __le16 cqid; member
/linux-3.4.99/drivers/block/
Dnvme.c781 c.create_cq.cqid = cpu_to_le16(qid); in adapter_alloc_cq()
805 c.create_sq.cqid = cpu_to_le16(qid); in adapter_alloc_sq()
813 static int adapter_delete_cq(struct nvme_dev *dev, u16 cqid) in adapter_delete_cq() argument
815 return adapter_delete_queue(dev, nvme_admin_delete_cq, cqid); in adapter_delete_cq()
/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_sli.c11232 uint16_t cqid; in lpfc_sli4_sp_handle_eqe() local
11244 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_sp_handle_eqe()
11252 if (childq->queue_id == cqid) { in lpfc_sli4_sp_handle_eqe()
11261 "(%d) does not exist\n", cqid); in lpfc_sli4_sp_handle_eqe()
11480 uint16_t cqid; in lpfc_sli4_fp_handle_eqe() local
11508 cqid = bf_get_le32(lpfc_eqe_resource_id, eqe); in lpfc_sli4_fp_handle_eqe()
11509 if (unlikely(cqid != cq->queue_id)) { in lpfc_sli4_fp_handle_eqe()
11513 cqid, cq->queue_id); in lpfc_sli4_fp_handle_eqe()