Skip to content

Commit e66574d

Browse files
authored
TL/MLX5: disable mcast init (#921)
1 parent 98e57b6 commit e66574d

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

src/components/tl/mlx5/tl_mlx5_context.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,10 @@ UCC_CLASS_INIT_FUNC(ucc_tl_mlx5_context_t,
4949
goto err_rcache;
5050
}
5151

52-
status = ucc_tl_mlx5_mcast_context_init(&(self->mcast), &(self->cfg.mcast_ctx_conf));
53-
if (UCC_OK != status) {
54-
tl_debug(self->super.super.lib, "failed to initialize mcast context");
55-
goto err_mcast_context;
56-
}
57-
5852
return UCC_OK;
5953

60-
err_mcast_context:
61-
ucc_rcache_destroy(self->rcache);
6254
err_rcache:
55+
ucc_rcache_destroy(self->rcache);
6356
ucc_mpool_cleanup(&self->req_mp, 1);
6457
return status;
6558
}

src/components/tl/mlx5/tl_mlx5_team.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "alltoall/alltoall.h"
1212
#include "core/ucc_team.h"
1313
#include <sys/shm.h>
14-
#include "mcast/tl_mlx5_mcast.h"
1514

1615
static ucc_status_t ucc_tl_mlx5_topo_init(ucc_tl_mlx5_team_t *team)
1716
{
@@ -71,13 +70,6 @@ UCC_CLASS_INIT_FUNC(ucc_tl_mlx5_team_t, ucc_base_context_t *tl_context,
7170
return status;
7271
}
7372

74-
self->mcast = NULL;
75-
status = ucc_tl_mlx5_mcast_team_init(tl_context, &(self->mcast), &(ctx->mcast), params,
76-
&(UCC_TL_MLX5_TEAM_LIB(self)->cfg.mcast_conf));
77-
if (UCC_OK != status) {
78-
return status;
79-
}
80-
8173
self->state = TL_MLX5_TEAM_STATE_INIT;
8274
tl_debug(tl_context->lib, "posted tl team: %p", self);
8375
return UCC_OK;

0 commit comments

Comments
 (0)