Lines Matching refs:qpid
137 static int cxio_hal_clear_qp_ctx(struct cxio_rdev *rdev_p, u32 qpid)
149 T3_COMPLETION_FLAG | T3_NOTIFY_FLAG, 0, qpid, 7,
152 sge_cmd = qpid << 8 | 3;
209 u32 qpid;
217 qpid = entry->qpid;
220 qpid = cxio_hal_get_qpid(rdev_p->rscp);
221 if (!qpid)
223 for (i = qpid+1; i & rdev_p->qpmask; i++) {
227 entry->qpid = i;
233 PDBG("%s qpid 0x%x\n", __func__, qpid);
234 return qpid;
237 static void put_qpid(struct cxio_rdev *rdev_p, u32 qpid,
245 PDBG("%s qpid 0x%x\n", __func__, qpid);
246 entry->qpid = qpid;
261 if (!(entry->qpid & rdev_p->qpmask))
262 cxio_hal_put_qpid(rdev_p->rscp, entry->qpid);
280 wq->qpid = get_qpid(rdev_p, uctx);
281 if (!wq->qpid)
307 (wq->qpid << rdev_p->qpshift);
309 PDBG("%s qpid 0x%x doorbell 0x%p udb 0x%llx\n", __func__,
310 wq->qpid, wq->doorbell, (unsigned long long) wq->udb);
319 put_qpid(rdev_p, wq->qpid, uctx);
346 put_qpid(rdev_p, wq->qpid, uctx);
361 V_CQE_QPID(wq->qpid) |
398 V_CQE_QPID(wq->qpid) |
475 (CQE_QPID(*cqe) == wq->qpid))
493 (CQE_QPID(*cqe) == wq->qpid) && cqe_completes_wr(cqe, wq))
848 wqe->qpid = cpu_to_be32(attr->qpid);
983 * qpshift is the number of bits to shift the qpid left in order
1139 * supply the wq assicated with the qpid.
1159 PDBG("%s CQE OOO %d qpid 0x%0x genbit %d type %d status 0x%0x"