Skip to content

UCT/IB/UD: update stale dest ep_id and stale acks from before connection reset - v1.20.x - #11128

Merged
gleon99 merged 2 commits into
openucx:v1.20.xfrom
roiedanino:v1.20.x-ud-ack-fix
Jan 22, 2026
Merged

gleon99 merged 2 commits into
openucx:v1.20.xfrom
roiedanino:v1.20.x-ud-ack-fix

Conversation

@roiedanino

@roiedanino roiedanino commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor

(cherry picked from commit 0a4759c)

What

Porting #11092 fix to v1.20.x

Co-authored with @wehyy

@roiedanino roiedanino self-assigned this Jan 20, 2026
@roiedanino
roiedanino requested a review from gleon99 January 20, 2026 15:09
gleon99
gleon99 previously approved these changes Jan 20, 2026
@yosefe yosefe changed the title UCT/IB/UD: update stale dest ep_id and stale acks from before connection reset UCT/IB/UD: update stale dest ep_id and stale acks from before connection reset - v1.20.x Jan 20, 2026

/* Ignore stale ACKs for unsent packets (e.g., after endpoint reset).
* Valid ACK PSN must be in (acked_psn, psn). */
if (ucs_unlikely(UCT_UD_PSN_COMPARE(ep->tx.psn, <=, ack_psn))) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi, @roiedanino
Whether this issue is related to #11107?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi, I need to check this, but at first glance, it looks like the same assert failure

…ion reset (openucx#11092)

* UCT/IB/UD: revise stale ep_id and stale acks from before connection reset

* AUTHORS: update

* UCT/IB/UD: unify codeline for readability

* UCT/IB/UD: unify codeline for readability

* TEST/GTEST/UCT/IB: added a test for checking dest ep id is being updated

Signed-off-by: Roie Danino <rdanino@nvidia.com>

---------

Signed-off-by: Roie Danino <rdanino@nvidia.com>
Co-authored-by: Roie Danino <rdanino@nvidia.com>
(cherry picked from commit 0a4759c)
Signed-off-by: Roie Danino <rdanino@nvidia.com>
@gleon99
gleon99 merged commit 476facd into openucx:v1.20.x Jan 22, 2026
143 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants