Skip to content

libfabric: remove cm thread [Will squash before merge] - #1251

Merged
fengjica merged 6 commits into
ai-dynamo:mainfrom
fengjica:dev/remove_cm_thread
Feb 3, 2026
Merged

fengjica merged 6 commits into
ai-dynamo:mainfrom
fengjica:dev/remove_cm_thread

Conversation

@fengjica

Copy link
Copy Markdown
Collaborator

What?

Remove CM thread.

Why?

CM thread is not needed any more. See the commit description for details.

Feng Ji added 3 commits January 20, 2026 23:10
As the libfabric plugin moves away from EFA Direct to EFA protocol, it
is not required to insert av addresses for target side. The code
previously written for it, ie. a CM thread, is removed here.

Signed-off-by: Feng Ji <fengnji@amazon.com>
@copy-pr-bot

copy-pr-bot Bot commented Jan 26, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown

👋 Hi fengjica! Thank you for contributing to ai-dynamo/nixl.

Your PR reviewers will review your contribution then trigger the CI to test your changes.

🚀

Comment thread src/utils/libfabric/libfabric_rail.h Outdated
amitrad-aws
amitrad-aws previously approved these changes Jan 29, 2026
To kick off transfer. Otherwise later post send returns EAGAIN, and does
backoff before retry.
@fengjica
fengjica force-pushed the dev/remove_cm_thread branch 2 times, most recently from 77b9070 to a7e1715 Compare January 29, 2026 23:18
@brminich

Copy link
Copy Markdown
Contributor

/ok to test a7e1715

@brminich

Copy link
Copy Markdown
Contributor

/build

@yexiangd yexiangd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Over all looks good! Do you mind updating the Libfabric plugin README?

Comment thread src/plugins/libfabric/libfabric_backend.cpp
Comment thread src/plugins/libfabric/libfabric_backend.cpp
Comment thread src/plugins/libfabric/libfabric_backend.cpp
@fengjica
fengjica enabled auto-merge (squash) February 3, 2026 06:43
@fengjica
fengjica merged commit 9e91adc into ai-dynamo:main Feb 3, 2026
26 checks passed
mcuiaws pushed a commit to mcuiaws/nixl that referenced this pull request Feb 3, 2026
* libfabric: remove CM thread

As the libfabric plugin moves away from EFA Direct to EFA protocol, it
is not required to insert av addresses for target side. The code
previously written for it, ie. a CM thread, is removed here.

The commit also did the following changes:

* Remove posting shutdown to self.

* Drive control rail progress in nixlLibfabricEngine deconstructor.

* Remove enum value for CONNECTED, and also remove FAILED.

* clang format fix

* Drive control completion queue right after send to kick off transfer. Otherwise later post send returns EAGAIN, and does backoff before retry.

---------

Signed-off-by: Feng Ji <fengnji@amazon.com>
(cherry picked from commit 9e91adc)

This branch was previously deployed

2 inactive deployments
GITLAB — a7e17155 Deployed Jan 30, 2026 by copy-pr-bot[bot] via Trigger CI Pipeline #6631
SWX_AWS — a7e17155 Deployed Jan 30, 2026 by copy-pr-bot[bot] via Run AWS Tests - C++ Tests #5316
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants