Lines Matching refs:grh
144 struct ib_grh grh; in ud_loopback() local
171 hfi1_make_grh(ibp, &grh, &grd, 0, 0); in ud_loopback()
172 rvt_copy_sge(qp, &qp->r_sge, &grh, in ud_loopback()
173 sizeof(grh), true, false); in ud_loopback()
273 struct ib_grh *grh; in hfi1_make_ud_req_9B() local
287 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B()
289 hfi1_make_grh(ibp, grh, rdma_ah_read_grh(ah_attr), in hfi1_make_ud_req_9B()
373 struct ib_grh *grh; in hfi1_make_ud_req_16B() local
384 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ud_req_16B()
386 ibp, grh, grd, in hfi1_make_ud_req_16B()
611 struct ib_grh *grh = &hdr.opah.u.l.grh; in return_cnp_16B() local
613 grh->version_tclass_flow = old_grh->version_tclass_flow; in return_cnp_16B()
614 grh->paylen = cpu_to_be16( in return_cnp_16B()
616 grh->hop_limit = 0xff; in return_cnp_16B()
617 grh->sgid = old_grh->dgid; in return_cnp_16B()
618 grh->dgid = old_grh->sgid; in return_cnp_16B()
669 struct ib_grh *grh = &hdr.ibh.u.l.grh; in return_cnp() local
671 grh->version_tclass_flow = old_grh->version_tclass_flow; in return_cnp()
672 grh->paylen = cpu_to_be16( in return_cnp()
674 grh->hop_limit = 0xff; in return_cnp()
675 grh->sgid = old_grh->dgid; in return_cnp()
676 grh->dgid = old_grh->sgid; in return_cnp()
961 if (packet->grh) { in hfi1_ud_rcv()
962 rvt_copy_sge(qp, &qp->r_sge, packet->grh, in hfi1_ud_rcv()
966 struct ib_grh grh; in hfi1_ud_rcv() local
972 hfi1_make_ext_grh(packet, &grh, slid, dlid); in hfi1_ud_rcv()
973 rvt_copy_sge(qp, &qp->r_sge, &grh, in hfi1_ud_rcv()