Lines Matching refs:grh
280 guid = get_sguid(ibp, qp->alt_ah_attr.grh.sgid_index); in qib_ruc_check_hdr()
281 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in qib_ruc_check_hdr()
283 if (!gid_ok(&hdr->u.l.grh.sgid, in qib_ruc_check_hdr()
284 qp->alt_ah_attr.grh.dgid.global.subnet_prefix, in qib_ruc_check_hdr()
285 qp->alt_ah_attr.grh.dgid.global.interface_id)) in qib_ruc_check_hdr()
312 qp->remote_ah_attr.grh.sgid_index); in qib_ruc_check_hdr()
313 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in qib_ruc_check_hdr()
315 if (!gid_ok(&hdr->u.l.grh.sgid, in qib_ruc_check_hdr()
316 qp->remote_ah_attr.grh.dgid.global.subnet_prefix, in qib_ruc_check_hdr()
317 qp->remote_ah_attr.grh.dgid.global.interface_id)) in qib_ruc_check_hdr()
658 struct ib_global_route *grh, u32 hwords, u32 nwords) in qib_make_grh() argument
662 (grh->traffic_class << IB_GRH_TCLASS_SHIFT) | in qib_make_grh()
663 (grh->flow_label << IB_GRH_FLOW_SHIFT)); in qib_make_grh()
667 hdr->hop_limit = grh->hop_limit; in qib_make_grh()
670 hdr->sgid.global.interface_id = grh->sgid_index ? in qib_make_grh()
671 ibp->guids[grh->sgid_index - 1] : ppd_from_ibp(ibp)->guid; in qib_make_grh()
672 hdr->dgid = grh->dgid; in qib_make_grh()
691 qp->s_hdrwords += qib_make_grh(ibp, &qp->s_hdr.u.l.grh, in qib_make_ruc_header()
692 &qp->remote_ah_attr.grh, in qib_make_ruc_header()