Skip to content

UCT/MLX5: Add ext-ops provider registry for plugin-supplied RC ops#11362

Open
michal-shalev wants to merge 3 commits intoopenucx:masterfrom
michal-shalev:uct-mlx5-ext-ops
Open

UCT/MLX5: Add ext-ops provider registry for plugin-supplied RC ops#11362
michal-shalev wants to merge 3 commits intoopenucx:masterfrom
michal-shalev:uct-mlx5-ext-ops

Conversation

@michal-shalev
Copy link
Copy Markdown
Contributor

@michal-shalev michal-shalev commented Apr 19, 2026

What?

Add a plugin extension mechanism to UCT mlx5: a uct_ib_mlx5_ext_ops_t function-pointer table and a global provider registry.

Why?

Provide an extension point so additional implementations of selected mlx5 transport ops can be supplied at runtime.

How?

Plugins register a uct_ib_mlx5_ext_provider_t (UCS_MODULE_INIT) holding their ops table.
ib_mlx5_ext keeps the global list and publishes the first registered provider with a non-NULL.
With no provider registered, behavior is unchanged.

@michal-shalev michal-shalev self-assigned this Apr 19, 2026
@michal-shalev michal-shalev added the WIP-DNM Work in progress / Do not review label Apr 19, 2026
@michal-shalev michal-shalev marked this pull request as draft April 19, 2026 22:07
@michal-shalev michal-shalev added Ready for Review and removed WIP-DNM Work in progress / Do not review labels Apr 19, 2026
@michal-shalev michal-shalev marked this pull request as ready for review April 19, 2026 22:30
@michal-shalev michal-shalev marked this pull request as draft April 24, 2026 13:15
@michal-shalev michal-shalev added WIP-DNM Work in progress / Do not review Ready for Review and removed Ready for Review WIP-DNM Work in progress / Do not review labels Apr 24, 2026
@michal-shalev michal-shalev marked this pull request as ready for review April 26, 2026 12:12
Comment thread src/uct/ib/mlx5/ib_mlx5_ext.h
Comment thread src/uct/ib/mlx5/ib_mlx5_ext.h
Comment thread src/uct/ib/mlx5/ib_mlx5_ext.c Outdated
Comment thread src/uct/ib/mlx5/ib_mlx5_ext.c Outdated
Comment thread src/uct/ib/mlx5/ib_mlx5_ext.c Outdated
Comment thread src/uct/ib/mlx5/ib_mlx5_ext.c Outdated
@michal-shalev michal-shalev requested a review from iyastreb May 4, 2026 12:36
@openucx openucx deleted a comment from svc-nixl May 4, 2026
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.

2 participants