Repository navigation
UCP/FT: TX/RX tokens based protocols - #11751
Closed
evgeny-leksikov wants to merge 37 commits into
Closed
evgeny-leksikov wants to merge 37 commits into
evgeny-leksikov wants to merge 37 commits into
Conversation
Arm RC mlx5 endpoints before peer failure so error handling leaves outstanding sends available for extraction. Suppress user completions while releasing CQ resources, and let endpoint destruction hand the failed QP to asynchronous garbage collection.
Verify that extraction reports posted operations in order and preserves the metadata needed by failover replay.
Use the failover-specific _ft suffix for the completion-backed PUT bcopy entry point and transport operation. Remove the redundant capability bit since availability follows QUERY_TOKEN support.
Organize extracted operation metadata by protocol parameter group, align field-mask ordering with the structure layout, and distinguish AM flags from flush parameters. Also align internal operation initializers touched by outstanding extraction support.
Exchange failed-lane state with the peer, extract outstanding transport operations, and coordinate endpoint reconfiguration before replay. Introduce the failover endpoint lifecycle and baseline fault-tolerance coverage for AM zcopy recovery.
Convert owned UCT operation descriptors into internal replay requests and route them through normal UCP protocol selection. Support extracted zcopy, bcopy, and short operations without exposing replay state outside failover recovery.
Move extracted and pending operations into one ordered replay queue before destroying failed lanes. Keep requests active after successful ownership transfer, and fall back to regular discard when extraction cannot complete.
Advertise replay support for AM eager and PUT short/bcopy protocols when their candidate lanes are compatible with hardware PSN failover. Preserve protocol-specific replay metadata for single- and multi-fragment operations.
Exercise AM and PUT single- and multi-fragment protocols with a saturated send queue so failover replays both undelivered and unposted operations. Validate every received message and the final PUT payload after recovery.
Use the common RMA operation state and completion callbacks for completion-backed PUT bcopy replay. Consolidate failure cleanup and remove failover-specific RMA state.
Consume the refined outstanding-operation field masks and data layout, validate the operation field, and read AM flags from the AM parameter group.
Merge failover PUT bcopy with the normal protocol and replay extracted operations under one event-level recovery frame before pending requests resume.
…gtets_opt # Conflicts: # src/tools/perf/lib/libperf.c # src/ucp/core/ucp_ep.c # src/uct/api/v2/uct_v2.h # src/uct/base/uct_iface.c # src/uct/base/uct_iface.h # src/uct/cuda/cuda_copy/cuda_copy_iface.c # src/uct/cuda/cuda_ipc/cuda_ipc_iface.c # src/uct/cuda/gdr_copy/gdr_copy_iface.c # src/uct/gaudi/gaudi_gdr/gaudi_gdr_iface.c # src/uct/ib/efa/srd/srd_iface.c # src/uct/ib/mlx5/dc/dc_mlx5.c # src/uct/ib/mlx5/gdaki/gdaki.c # src/uct/ib/mlx5/gga/gga_mlx5.c # src/uct/ib/mlx5/ib_mlx5_ext.c # src/uct/ib/mlx5/ib_mlx5_ext.h # src/uct/ib/mlx5/rc/rc_mlx5.h # src/uct/ib/mlx5/rc/rc_mlx5_ep.c # src/uct/ib/mlx5/rc/rc_mlx5_iface.c # src/uct/ib/mlx5/ud/ud_mlx5.c # src/uct/ib/rc/base/rc_ep.c # src/uct/ib/rc/verbs/rc_verbs_iface.c # src/uct/ib/rdmacm/rdmacm_cm.c # src/uct/ib/ud/verbs/ud_verbs.c # src/uct/rocm/copy/rocm_copy_iface.c # src/uct/rocm/ipc/rocm_ipc_iface.c # src/uct/sm/mm/base/mm_iface.c # src/uct/sm/scopy/cma/cma_iface.c # src/uct/sm/scopy/knem/knem_iface.c # src/uct/sm/self/self.c # src/uct/tcp/tcp_iface.c # src/uct/tcp/tcp_sockcm.c # src/uct/ugni/smsg/ugni_smsg_iface.c # src/uct/ze/copy/ze_copy_iface.c # test/gtest/ucp/test_ucp_fault_tolerance.cc
Contributor
Author
|
replaced with #11810 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rebase and refactoring of #11582