Lines Matching refs:grh
1295 if (ah->grh.sgid_index >= dev->dev->caps.gid_table_len[port]) { in _mlx4_set_path()
1297 ah->grh.sgid_index, dev->dev->caps.gid_table_len[port] - 1); in _mlx4_set_path()
1302 path->mgid_index = ah->grh.sgid_index; in _mlx4_set_path()
1303 path->hop_limit = ah->grh.hop_limit; in _mlx4_set_path()
1305 cpu_to_be32((ah->grh.traffic_class << 20) | in _mlx4_set_path()
1306 (ah->grh.flow_label)); in _mlx4_set_path()
1307 memcpy(path->rgid, ah->grh.dgid.raw, 16); in _mlx4_set_path()
2215 sqp->ud_header.grh.traffic_class = in build_mlx_header()
2217 sqp->ud_header.grh.flow_label = in build_mlx_header()
2219 sqp->ud_header.grh.hop_limit = ah->av.ib.hop_limit; in build_mlx_header()
2221 memcpy(sqp->ud_header.grh.source_gid.raw, sgid.raw, 16); in build_mlx_header()
2227 sqp->ud_header.grh.source_gid.global.subnet_prefix = in build_mlx_header()
2230 sqp->ud_header.grh.source_gid.global.interface_id = in build_mlx_header()
2237 &sqp->ud_header.grh.source_gid); in build_mlx_header()
2239 memcpy(sqp->ud_header.grh.destination_gid.raw, in build_mlx_header()
3104 ib_ah_attr->grh.sgid_index = path->mgid_index; in to_ib_ah_attr()
3105 ib_ah_attr->grh.hop_limit = path->hop_limit; in to_ib_ah_attr()
3106 ib_ah_attr->grh.traffic_class = in to_ib_ah_attr()
3108 ib_ah_attr->grh.flow_label = in to_ib_ah_attr()
3110 memcpy(ib_ah_attr->grh.dgid.raw, in to_ib_ah_attr()
3111 path->rgid, sizeof ib_ah_attr->grh.dgid.raw); in to_ib_ah_attr()