Skip to content

UCT/IB: fix ddp for dv qp#11174

Merged
yosefe merged 3 commits intoopenucx:masterfrom
jeynmann:ddp_fix
Feb 28, 2026
Merged

UCT/IB: fix ddp for dv qp#11174
yosefe merged 3 commits intoopenucx:masterfrom
jeynmann:ddp_fix

Conversation

@jeynmann
Copy link
Copy Markdown
Contributor

@jeynmann jeynmann commented Feb 10, 2026

What?

Fix ddp flag issue for dv qps.

Why?

Currently, in the master branch, the ddp dv capacity is only checked when devx is not supported.
This does not address scenarios where devx is supported but devx qp is unsupported/disabled.

Comment thread src/uct/ib/mlx5/rc/rc_mlx5_common.c Outdated
Comment on lines +622 to +624
if (!(md->flags & (UCT_IB_MLX5_MD_FLAG_DEVX_RC_QP |
UCT_IB_MLX5_MD_FLAG_DEVX_DCT |
UCT_IB_MLX5_MD_FLAG_DEVX_DCI))) {
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.

IMO we can check (and set) iface->config.ddp_enabled_dv without this check. so the function uct_rc_mlx5_dp_ordering_ooo_init will initialize both iface->config.ddp_enabled_dv (for dv) and iface->config.dp_ordering_devx/force (for devx), regardless of the devx flags on md->flags.
we can drop the error in line 626, since for DevX case there is no equivalent of this error anyway

@yosefe yosefe merged commit 563486f into openucx:master Feb 28, 2026
152 checks passed
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.

3 participants