• Home
  • Raw
  • Download

Lines Matching refs:grh

40 		if (!packet->grh) {  in hfi1_ruc_check_hdr()
46 const struct ib_global_route *grh; in hfi1_ruc_check_hdr() local
51 grh = rdma_ah_read_grh(&qp->alt_ah_attr); in hfi1_ruc_check_hdr()
52 guid = get_sguid(ibp, grh->sgid_index); in hfi1_ruc_check_hdr()
53 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
57 &packet->grh->sgid, in hfi1_ruc_check_hdr()
58 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr()
59 grh->dgid.global.interface_id)) in hfi1_ruc_check_hdr()
77 if (!packet->grh) { in hfi1_ruc_check_hdr()
83 const struct ib_global_route *grh; in hfi1_ruc_check_hdr() local
88 grh = rdma_ah_read_grh(&qp->remote_ah_attr); in hfi1_ruc_check_hdr()
89 guid = get_sguid(ibp, grh->sgid_index); in hfi1_ruc_check_hdr()
90 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
94 &packet->grh->sgid, in hfi1_ruc_check_hdr()
95 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr()
96 grh->dgid.global.interface_id)) in hfi1_ruc_check_hdr()
127 const struct ib_global_route *grh, u32 hwords, u32 nwords) in hfi1_make_grh() argument
131 (grh->traffic_class << IB_GRH_TCLASS_SHIFT) | in hfi1_make_grh()
132 (grh->flow_label << IB_GRH_FLOW_SHIFT)); in hfi1_make_grh()
136 hdr->hop_limit = grh->hop_limit; in hfi1_make_grh()
140 grh->sgid_index < HFI1_GUIDS_PER_PORT ? in hfi1_make_grh()
141 get_sguid(ibp, grh->sgid_index) : in hfi1_make_grh()
143 hdr->dgid = grh->dgid; in hfi1_make_grh()
252 struct ib_grh *grh; in hfi1_make_ruc_header_16B() local
261 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ruc_header_16B()
264 hfi1_make_grh(ibp, grh, grd, in hfi1_make_ruc_header_16B()
335 struct ib_grh *grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ruc_header_9B() local
339 hfi1_make_grh(ibp, grh, in hfi1_make_ruc_header_9B()