Skip to content

Commit

Permalink
TL/MLX5: disable mcast init (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
MamziB authored Feb 6, 2024
1 parent 98e57b6 commit e66574d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
9 changes: 1 addition & 8 deletions src/components/tl/mlx5/tl_mlx5_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,10 @@ UCC_CLASS_INIT_FUNC(ucc_tl_mlx5_context_t,
goto err_rcache;
}

status = ucc_tl_mlx5_mcast_context_init(&(self->mcast), &(self->cfg.mcast_ctx_conf));
if (UCC_OK != status) {
tl_debug(self->super.super.lib, "failed to initialize mcast context");
goto err_mcast_context;
}

return UCC_OK;

err_mcast_context:
ucc_rcache_destroy(self->rcache);
err_rcache:
ucc_rcache_destroy(self->rcache);
ucc_mpool_cleanup(&self->req_mp, 1);
return status;
}
Expand Down
8 changes: 0 additions & 8 deletions src/components/tl/mlx5/tl_mlx5_team.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "alltoall/alltoall.h"
#include "core/ucc_team.h"
#include <sys/shm.h>
#include "mcast/tl_mlx5_mcast.h"

static ucc_status_t ucc_tl_mlx5_topo_init(ucc_tl_mlx5_team_t *team)
{
Expand Down Expand Up @@ -71,13 +70,6 @@ UCC_CLASS_INIT_FUNC(ucc_tl_mlx5_team_t, ucc_base_context_t *tl_context,
return status;
}

self->mcast = NULL;
status = ucc_tl_mlx5_mcast_team_init(tl_context, &(self->mcast), &(ctx->mcast), params,
&(UCC_TL_MLX5_TEAM_LIB(self)->cfg.mcast_conf));
if (UCC_OK != status) {
return status;
}

self->state = TL_MLX5_TEAM_STATE_INIT;
tl_debug(tl_context->lib, "posted tl team: %p", self);
return UCC_OK;
Expand Down

0 comments on commit e66574d

Please sign in to comment.