Skip to content

Add Slimfly topology #10

Merged
tommasobo merged 5 commits intomainfrom
feature/slimfly-source-routing
Feb 10, 2026
Merged

Add Slimfly topology #10
tommasobo merged 5 commits intomainfrom
feature/slimfly-source-routing

Conversation

@tommasobo
Copy link
Contributor

Slimfly topology and routing.

When using SOURCE routing with many concurrent flows, the simulation
crashed with 'Assertion sink != NULL failed' because newly created
packets had stale/uninitialized hop_count values. Switches use
hop_count to index into routing tables, so a too-large value causes
lookup failures and packets routed to NULL sinks.

Added set_hop_count(0) calls in 7 packet creation sites in uec.cpp,
matching the sc25-spritz reference implementation:
- UecSrc: sendNewPacket, sendRtxPacket, sendProbe, sendRTS
- UecSink: pull, sack, nack

Verified: All 22 functional tests pass, all 18 reachability tests
pass (including sf_p4q5 one-to-all SOURCE with 199 flows, which
previously crashed).
@tommasobo tommasobo merged commit 10891ea into main Feb 10, 2026
1 check 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.

1 participant