Lines Matching refs:grh
1590 if (ah->grh.sgid_index >= dev->dev->caps.gid_table_len[port]) {
1592 ah->grh.sgid_index, dev->dev->caps.gid_table_len[port] - 1);
1597 path->mgid_index = ah->grh.sgid_index;
1598 path->hop_limit = ah->grh.hop_limit;
1600 cpu_to_be32((ah->grh.traffic_class << 20) |
1601 (ah->grh.flow_label));
1602 memcpy(path->rgid, ah->grh.dgid.raw, 16);
1617 vlan_tag = rdma_get_vlan_id(&dev->iboe.gid_table[port - 1][ah->grh.sgid_index]);
2513 sqp->ud_header.grh.traffic_class =
2515 sqp->ud_header.grh.flow_label =
2517 sqp->ud_header.grh.hop_limit = ah->av.ib.hop_limit;
2519 memcpy(sqp->ud_header.grh.source_gid.raw, sgid.raw, 16);
2525 sqp->ud_header.grh.source_gid.global.subnet_prefix =
2528 sqp->ud_header.grh.source_gid.global.interface_id =
2535 &sqp->ud_header.grh.source_gid);
2537 memcpy(sqp->ud_header.grh.destination_gid.raw,
3470 ib_ah_attr->grh.sgid_index = path->mgid_index;
3471 ib_ah_attr->grh.hop_limit = path->hop_limit;
3472 ib_ah_attr->grh.traffic_class =
3474 ib_ah_attr->grh.flow_label =
3476 memcpy(ib_ah_attr->grh.dgid.raw,
3477 path->rgid, sizeof ib_ah_attr->grh.dgid.raw);