Lines Matching refs:grh
373 struct ib_grh *grh; member
2387 const struct ib_global_route *grh = rdma_ah_read_grh(attr); in hfi1_make_opa_lid() local
2398 if (ib_is_opa_gid(&grh->dgid)) in hfi1_make_opa_lid()
2399 dlid = opa_get_lid_from_gid(&grh->dgid); in hfi1_make_opa_lid()
2448 struct ib_grh *grh, u32 slid, in hfi1_make_ext_grh() argument
2457 grh->hop_limit = 1; in hfi1_make_ext_grh()
2458 grh->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
2460 grh->sgid.global.interface_id = in hfi1_make_ext_grh()
2463 grh->sgid.global.interface_id = OPA_MAKE_ID(slid); in hfi1_make_ext_grh()
2472 grh->dgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
2473 grh->dgid.global.interface_id = in hfi1_make_ext_grh()