Skip to content

Commit

Permalink
UCT: fix code convention
Browse files Browse the repository at this point in the history
Signed-off-by: Changcheng Liu <jerrliu@nvidia.com>
  • Loading branch information
changchengx committed Jan 24, 2022
1 parent 4d5a930 commit fa0889a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uct/ib/rc/accel/rc_mlx5_devx.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,16 +264,16 @@ uct_rc_mlx5_iface_common_devx_connect_qp(uct_rc_mlx5_iface_common_t *iface,
UCT_IB_MLX5DV_SET(qpc, qpc, primary_address_path.sl,
iface->super.super.config.sl);

if (ah_attr->is_global) {
if (ah_attr->is_global) {
UCT_IB_MLX5DV_SET(qpc, qpc, primary_address_path.hop_limit,
ah_attr->grh.hop_limit);
memcpy(UCT_IB_MLX5DV_ADDR_OF(qpc, qpc, primary_address_path.rgid_rip),
&ah_attr->grh.dgid,
UCT_IB_MLX5DV_FLD_SZ_BYTES(qpc, primary_address_path.rgid_rip));
/* TODO: add flow_label support */
/* TODO add flow_label support */
UCT_IB_MLX5DV_SET(qpc, qpc, primary_address_path.tclass,
iface->super.super.config.traffic_class);
}
}
}

UCT_IB_MLX5DV_SET(qpc, qpc, primary_address_path.vhca_port_num, ah_attr->port_num);
Expand Down

0 comments on commit fa0889a

Please sign in to comment.