Lines Matching refs:grh
388 const struct ib_global_route *grh = rdma_ah_read_grh(ah_attr); in qedr_gsi_build_header() local
389 const struct ib_gid_attr *sgid_attr = grh->sgid_attr; in qedr_gsi_build_header()
459 udh->grh.traffic_class = grh->traffic_class; in qedr_gsi_build_header()
460 udh->grh.flow_label = grh->flow_label; in qedr_gsi_build_header()
461 udh->grh.hop_limit = grh->hop_limit; in qedr_gsi_build_header()
462 udh->grh.destination_gid = grh->dgid; in qedr_gsi_build_header()
463 memcpy(&udh->grh.source_gid.raw, sgid_attr->gid.raw, in qedr_gsi_build_header()
464 sizeof(udh->grh.source_gid.raw)); in qedr_gsi_build_header()
470 udh->ip4.tos = htonl(grh->flow_label); in qedr_gsi_build_header()
472 udh->ip4.ttl = grh->hop_limit; in qedr_gsi_build_header()
476 ipv4_addr = qedr_get_ipv4_from_gid(grh->dgid.raw); in qedr_gsi_build_header()