Repository navigation
Support single-function-per-port topologies across transport-core, net-sircl, and fabric-tool - #6
Merged
Merged
Conversation
…t-sircl, and fabric-tool Allow port0 and port1 in topology files to name one RDMA function per physical port (two HCAs per host) in addition to the existing two-function-per-port layout, while preserving struct sircl_core_topology ABI 1. - transport-core: accept one or two device identifiers on port0/port1, require both ports to have the same count, and return 1 or 2 lanes from sircl_core_topology_route with symmetric path-A selection on tied shortest paths. - net-sircl: handle 1-lane routes in sircl_route_function, sircl_route_allowances, sircl_split_allowances, routes_from_topology, NET_SIRCL_ROUTES overrides, and net_sircl_topology_routes. - fabric-tool: support 2-role FabricBindings (lanes == 1), default single- function paths to same-function relay egress, and generalize planning, facts binding, and cable subnet checks across 1 or 2 function classes. - Add examples/ring4-two-hca.topology, update docs/configuration.md and SOURCE.json, and expand conformance, fabric-tool, and emulated 4-rank progress tests.
FujitsuPolycom
added a commit
that referenced
this pull request
Nov 21, 2026
Versions - Plugin and fabric-tool 0.1.3; transport-core 0.1.2 (its topology parser changed; ABI stays 1). Wire version stays 6. - Rename the unreleased notes to RELEASE_NOTES-0.1.3.md and cover all three steps merged since v0.1.2: resource ownership (#3), review fixes (#4), and single-function-per-port topologies (#6). - Read the core version in check_e2e.py from its VERSION file, and add a test that ties every stated version to the VERSION files. Hardware claims - State that 0.1.3 is CPU-tested only and that no qualification row covers it. - Record the tags that keep the revisions cited by the validation records reachable (validation/2026-10-23-*). - README: boot restoration was checked once on hardware with an earlier fabric-tool revision; point to that record instead of "not yet qualified". - Ring of four: it ran nccl-tests with the 0.1.0 transport (confirmed by the owner); correct the README, the 0.1.0 measurements and the example. - Relaxed ordering disabled and the installer behind the 0.1.0 path result are recorded inconsistently and no retained record settles them; both documents now say so instead of contradicting each other. Documentation and version files only, plus release tests and one script line. No tag is created for 0.1.3 until hardware qualification is recorded.
FujitsuPolycom
added a commit
that referenced
this pull request
Nov 21, 2026
…#5) Versions - Plugin and fabric-tool 0.1.3; transport-core 0.1.2 (its topology parser changed; ABI stays 1). Wire version stays 6. - Rename the unreleased notes to RELEASE_NOTES-0.1.3.md and cover all three steps merged since v0.1.2: resource ownership (#3), review fixes (#4), and single-function-per-port topologies (#6). - Read the core version in check_e2e.py from its VERSION file, and add a test that ties every stated version to the VERSION files. Hardware claims - State that 0.1.3 is CPU-tested only and that no qualification row covers it. - Record the tags that keep the revisions cited by the validation records reachable (validation/2026-10-23-*). - README: boot restoration was checked once on hardware with an earlier fabric-tool revision; point to that record instead of "not yet qualified". - Ring of four: it ran nccl-tests with the 0.1.0 transport (confirmed by the owner); correct the README, the 0.1.0 measurements and the example. - Relaxed ordering disabled and the installer behind the 0.1.0 path result are recorded inconsistently and no retained record settles them; both documents now say so instead of contradicting each other. Documentation and version files only, plus release tests and one script line. No tag is created for 0.1.3 until hardware qualification is recorded.
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.
Summary
Generalizes
transport-core,net-sircl, andfabric-toolto support single-function-per-port topologies (1 RDMA function per physical port, e.g.port0 rocep1s0f0,port1 rocep1s0f1) alongside the existing 2-function-per-port ConnectX-7 setups, without breaking ABI 1 or changing 2-function-per-port behavior.transport-core: Addsfunctions_per_port(1 or 2) handling to topology parsing, validation, and route/lane derivation while preservingstruct sircl_core_topologyABI 1.net-sircl: Generalizes device discovery, lane selection, and QP setup across 1 or 2 functions per physical port (zeroroceP2lookups when configured single-function).fabric-tool: Generalizesfacts,plan,apply,verify,remove, andstatusto operate cleanly on 1-function-per-port topologies.Verification
Offline / CPU CI
make -j(-Werror)transport-coretests,net-sircl(30/30),fabric-tool(204/204), top-leveltests/(19/19), andmake check-release(0 findings).Real DGX Spark Hardware (4 × NVIDIA GB10
sm_121, Ring 4–7)libnccl-net-sircl.sonatively on GB10 and passedtransport-core+ 30/30net-sircltests.fabric-tool facts+fabric-tool plan --commands(read-only, no host mutations) on a 4-Sparkring4-1func.topology(port0 rocep1s0f0,port1 rocep1s0f1): generated only primary-function rules (enp1s0f0np0/enp1s0f1np1, zeroroceP2).nccompat/pt:26.09, NCCL2.31.2,NCCL_NET=sircl,NCCL_ALGO=Ring,NCCL_SOCKET_IFNAME=enP7s7) over real RoCEv2:examples/all_reduce.pyPASS,examples/torch_teardown.py(8 KiB–256 MiB eager + 20× 64 KiB CUDA graph + teardown) PASS —Using network sircl, lane 0 only (rocep1s0f0/rocep1s0f1), zeroroceP2, zero Socket fallback.examples/all_reduce.pyPASS,examples/torch_teardown.py(8 KiB–256 MiB eager + 20× 64 KiB CUDA graph + teardown) PASS across all 4 ranks —0->1->2->3->0onrocep1s0f0(lane 0),window 0, zeroroceP2, zero new RDMA hardware error counters across all 16 HCAs.