Lines Matching refs:rcd
560 static void qib_qp_rcv(struct qib_ctxtdata *rcd, struct qib_ib_header *hdr, in qib_qp_rcv() argument
563 struct qib_ibport *ibp = &rcd->ppd->ibport_data; in qib_qp_rcv()
584 qib_rc_rcv(rcd, hdr, has_grh, data, tlen, qp); in qib_qp_rcv()
609 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument
611 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv()
651 rcd->opstats->stats[opcode].n_bytes += tlen; in qib_ib_rcv()
652 rcd->opstats->stats[opcode].n_packets++; in qib_ib_rcv()
668 qib_qp_rcv(rcd, hdr, 1, data, tlen, p->qp); in qib_ib_rcv()
676 if (rcd->lookaside_qp) { in qib_ib_rcv()
677 if (rcd->lookaside_qpn != qp_num) { in qib_ib_rcv()
679 &rcd->lookaside_qp->refcount)) in qib_ib_rcv()
681 &rcd->lookaside_qp->wait); in qib_ib_rcv()
682 rcd->lookaside_qp = NULL; in qib_ib_rcv()
685 if (!rcd->lookaside_qp) { in qib_ib_rcv()
689 rcd->lookaside_qp = qp; in qib_ib_rcv()
690 rcd->lookaside_qpn = qp_num; in qib_ib_rcv()
692 qp = rcd->lookaside_qp; in qib_ib_rcv()
694 qib_qp_rcv(rcd, hdr, lnh == QIB_LRH_GRH, data, tlen, qp); in qib_ib_rcv()
1929 return ARRAY_SIZE(dd->rcd[0]->pkeys); in qib_get_npkeys()
1944 if (!dd->rcd || index >= ARRAY_SIZE(dd->rcd[ctxt]->pkeys)) in qib_get_pkey()
1947 ret = dd->rcd[ctxt]->pkeys[index]; in qib_get_pkey()