Lines Matching defs:grh
19 const struct ib_global_route *grh = rdma_ah_read_grh(attr);
26 if (grh->sgid_index > port->attr.gid_tbl_len) {
28 grh->sgid_index);
32 type = rdma_gid_attr_network_type(grh->sgid_attr);
47 const struct ib_global_route *grh = rdma_ah_read_grh(attr);
50 memcpy(av->grh.dgid.raw, grh->dgid.raw, sizeof(grh->dgid.raw));
51 av->grh.flow_label = grh->flow_label;
52 av->grh.sgid_index = grh->sgid_index;
53 av->grh.hop_limit = grh->hop_limit;
54 av->grh.traffic_class = grh->traffic_class;
60 struct ib_global_route *grh = rdma_ah_retrieve_grh(attr);
64 memcpy(grh->dgid.raw, av->grh.dgid.raw, sizeof(av->grh.dgid.raw));
65 grh->flow_label = av->grh.flow_label;
66 grh->sgid_index = av->grh.sgid_index;
67 grh->hop_limit = av->grh.hop_limit;
68 grh->traffic_class = av->grh.traffic_class;
76 const struct ib_gid_attr *sgid_attr = attr->grh.sgid_attr;