Lines Matching refs:grh
1394 if (ah->grh.sgid_index >= gen->port[port - 1].gid_table_len) { in mlx5_set_path()
1396 ah->grh.sgid_index, gen->port[port - 1].gid_table_len); in mlx5_set_path()
1400 path->mgid_index = ah->grh.sgid_index; in mlx5_set_path()
1401 path->hop_limit = ah->grh.hop_limit; in mlx5_set_path()
1403 cpu_to_be32((ah->grh.traffic_class << 20) | in mlx5_set_path()
1404 (ah->grh.flow_label)); in mlx5_set_path()
1405 memcpy(path->rgid, ah->grh.dgid.raw, 16); in mlx5_set_path()
3022 ib_ah_attr->grh.sgid_index = path->mgid_index; in to_ib_ah_attr()
3023 ib_ah_attr->grh.hop_limit = path->hop_limit; in to_ib_ah_attr()
3024 ib_ah_attr->grh.traffic_class = in to_ib_ah_attr()
3026 ib_ah_attr->grh.flow_label = in to_ib_ah_attr()
3028 memcpy(ib_ah_attr->grh.dgid.raw, in to_ib_ah_attr()
3029 path->rgid, sizeof(ib_ah_attr->grh.dgid.raw)); in to_ib_ah_attr()