Lines Matching refs:grh
382 struct ib_grh *grh; member
2564 const struct ib_global_route *grh = rdma_ah_read_grh(attr); in hfi1_make_opa_lid() local
2575 if (ib_is_opa_gid(&grh->dgid)) in hfi1_make_opa_lid()
2576 dlid = opa_get_lid_from_gid(&grh->dgid); in hfi1_make_opa_lid()
2625 struct ib_grh *grh, u32 slid, in hfi1_make_ext_grh() argument
2634 grh->hop_limit = 1; in hfi1_make_ext_grh()
2635 grh->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
2637 grh->sgid.global.interface_id = in hfi1_make_ext_grh()
2640 grh->sgid.global.interface_id = OPA_MAKE_ID(slid); in hfi1_make_ext_grh()
2649 grh->dgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
2650 grh->dgid.global.interface_id = in hfi1_make_ext_grh()