From e335f369a0d2ee3a614043ab2061f39d4cd97d19 Mon Sep 17 00:00:00 2001 From: snordmann Date: Sun, 5 Nov 2023 22:06:33 +0200 Subject: [PATCH] TL/MLX5: fix subset for service coll --- src/components/tl/mlx5/tl_mlx5_team.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/tl/mlx5/tl_mlx5_team.c b/src/components/tl/mlx5/tl_mlx5_team.c index 712691078f..5d9f7560cc 100644 --- a/src/components/tl/mlx5/tl_mlx5_team.c +++ b/src/components/tl/mlx5/tl_mlx5_team.c @@ -105,9 +105,8 @@ ucc_status_t ucc_tl_mlx5_team_create_test(ucc_base_team_t *team) { ucc_tl_mlx5_team_t *tl_team = ucc_derived_of(team, ucc_tl_mlx5_team_t); ucc_team_t *core_team = UCC_TL_CORE_TEAM(tl_team); - ucc_subset_t subset = {.map.type = UCC_EP_MAP_FULL, - .map.ep_num = core_team->size, - .myrank = core_team->rank}; + ucc_subset_t subset = {.map = UCC_TL_TEAM_MAP(tl_team), + .myrank = UCC_TL_TEAM_RANK(tl_team)}; ucc_status_t status = UCC_OK; switch (tl_team->state) {