Skip to content

[DNM] UCT/IB/MLX5: add wqe token and failover arm - #11684

Open
jeynmann wants to merge 18 commits into
openucx:masterfrom
jeynmann:failover_ext_uct_wqe_meta
Open

[DNM] UCT/IB/MLX5: add wqe token and failover arm#11684
jeynmann wants to merge 18 commits into
openucx:masterfrom
jeynmann:failover_ext_uct_wqe_meta

Conversation

@jeynmann

Copy link
Copy Markdown
Contributor

What?

Save tokens on the tx side and add support for failover arm.

Why?

Need to keep tokens on the tx side so the plugin can purge outstanding operations using tokens received from the remote side.
Need to arm the wqe so failover and tx progress do not act on the wqe and pending operations together.

How?

Add an ep param to indicate that failover is enabled (failover mode + iface cap support).
Allocate and set tokens only when ep failover is enabled.
Add an arm api to let failover arm the ep.

JeynmannZ added 10 commits July 17, 2026 16:01
Rebuild the transport implementation on top of the API-only
failover_ext_uct branch:
- align naming to the finalized "purge" API (outstanding purge callback,
  params and field mask), dropping the intermediate "extract"/flags shape
- switch the mlx5 external plugin path from qp_query to ep_query, with RX
  token derivation performed by the iface query
- re-add the uct_ep_outstanding_purge()/uct_ep_failover_enable() prototypes
  and the uct_ib_mlx5_ext_ep_outstanding_purge() dispatch wrapper
- update gtests (test_ib_mlx5_ext, test_uct_outstanding_purge) accordingly
@jeynmann
jeynmann force-pushed the failover_ext_uct_wqe_meta branch from a11c3c9 to b2770dc Compare July 23, 2026 16:21
@jeynmann
jeynmann force-pushed the failover_ext_uct_wqe_meta branch 2 times, most recently from dd9adc1 to 42bf8e2 Compare July 27, 2026 04:16
@jeynmann
jeynmann force-pushed the failover_ext_uct_wqe_meta branch from 738e18e to 35acf5a Compare July 27, 2026 10:12
@jeynmann jeynmann changed the title UCT/IB/MLX5: add wqe token and failover arm [DNM] UCT/IB/MLX5: add wqe token and failover arm Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants