Lines Matching refs:rcd
576 static void qib_qp_rcv(struct qib_ctxtdata *rcd, struct qib_ib_header *hdr, in qib_qp_rcv() argument
579 struct qib_ibport *ibp = &rcd->ppd->ibport_data; in qib_qp_rcv()
600 qib_rc_rcv(rcd, hdr, has_grh, data, tlen, qp); in qib_qp_rcv()
625 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument
627 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv()
667 rcd->opstats->stats[opcode].n_bytes += tlen; in qib_ib_rcv()
668 rcd->opstats->stats[opcode].n_packets++; in qib_ib_rcv()
684 qib_qp_rcv(rcd, hdr, 1, data, tlen, p->qp); in qib_ib_rcv()
692 if (rcd->lookaside_qp) { in qib_ib_rcv()
693 if (rcd->lookaside_qpn != qp_num) { in qib_ib_rcv()
695 &rcd->lookaside_qp->refcount)) in qib_ib_rcv()
697 &rcd->lookaside_qp->wait); in qib_ib_rcv()
698 rcd->lookaside_qp = NULL; in qib_ib_rcv()
701 if (!rcd->lookaside_qp) { in qib_ib_rcv()
705 rcd->lookaside_qp = qp; in qib_ib_rcv()
706 rcd->lookaside_qpn = qp_num; in qib_ib_rcv()
708 qp = rcd->lookaside_qp; in qib_ib_rcv()
710 qib_qp_rcv(rcd, hdr, lnh == QIB_LRH_GRH, data, tlen, qp); in qib_ib_rcv()
1948 return ARRAY_SIZE(dd->rcd[0]->pkeys); in qib_get_npkeys()
1963 if (!dd->rcd || index >= ARRAY_SIZE(dd->rcd[ctxt]->pkeys)) in qib_get_pkey()
1966 ret = dd->rcd[ctxt]->pkeys[index]; in qib_get_pkey()