Lines Matching refs:grh
518 struct ibv_wc *wc, struct ibv_grh *grh,
532 ah_attr->grh.dgid = grh->sgid;
534 ret = ibv_find_gid_index(context, port_num, &grh->dgid);
538 ah_attr->grh.sgid_index = (uint8_t) ret;
539 flow_class = ntohl(grh->version_tclass_flow);
540 ah_attr->grh.flow_label = flow_class & 0xFFFFF;
541 ah_attr->grh.hop_limit = grh->hop_limit;
542 ah_attr->grh.traffic_class = (flow_class >> 20) & 0xFF;
548 struct ibv_grh *grh, uint8_t port_num)
553 ret = ibv_init_ah_from_wc(pd->context, port_num, wc, grh, &ah_attr);