Lines Matching defs:grh
19 const struct ib_global_route *grh = rdma_ah_read_grh(attr);
37 if (grh->sgid_index > port->attr.gid_tbl_len) {
40 grh->sgid_index);
43 grh->sgid_index);
47 type = rdma_gid_attr_network_type(grh->sgid_attr);
76 const struct ib_global_route *grh = rdma_ah_read_grh(attr);
79 memcpy(av->grh.dgid.raw, grh->dgid.raw, sizeof(grh->dgid.raw));
80 av->grh.flow_label = grh->flow_label;
81 av->grh.sgid_index = grh->sgid_index;
82 av->grh.hop_limit = grh->hop_limit;
83 av->grh.traffic_class = grh->traffic_class;
89 struct ib_global_route *grh = rdma_ah_retrieve_grh(attr);
93 memcpy(grh->dgid.raw, av->grh.dgid.raw, sizeof(av->grh.dgid.raw));
94 grh->flow_label = av->grh.flow_label;
95 grh->sgid_index = av->grh.sgid_index;
96 grh->hop_limit = av->grh.hop_limit;
97 grh->traffic_class = av->grh.traffic_class;
105 const struct ib_gid_attr *sgid_attr = attr->grh.sgid_attr;