Skip to content

[TENT] Add native UB transport with bonding device selection fixes - #38

Open
Connor-Matthew wants to merge 6 commits into
mainfrom
ub/bonding-device-selection
Open

[TENT] Add native UB transport with bonding device selection fixes#38
Connor-Matthew wants to merge 6 commits into
mainfrom
ub/bonding-device-selection

Conversation

@Connor-Matthew

Copy link
Copy Markdown

Summary

  • Add native UB endpoint bootstrap and READ/WRITE data path for TENT.
  • Prefer UB bonding devices when device_filter is empty, and port bonding runtime patches into urma_adapter.
  • Unify bonding detection and harden segment teardown for dual-node stability.

Rebased onto latest main for CI validation before upstream submission.

Module

  • Transfer Engine (mooncake-transfer-engine)

Type of Change

  • Bug fix
  • New feature

How Has This Been Tested?

Test commands:

# Planned / in progress
bash scripts/run_ci_test.sh
# Dual-node UB transfer validation (manual)

Test results:

  • Unit tests pass
  • Integration tests pass (if applicable)
  • Manual testing done (dual-node validation pending on latest rebase)

Checklist

  • I have performed a self-review of my own code
  • I have formatted my code using ./scripts/code_format.sh
  • I have run pre-commit on the files changed in this PR and all hooks pass
  • I have updated the documentation (if applicable)
  • I have added tests to prove my changes are effective
  • For changes >500 LOC: I have filed an RFC issue

Made with Cursor

Le1zyCatt and others added 4 commits August 31, 2026 10:35
Avoid initializing underlying udmac* contexts alongside bonding_dev_0
by default, which can bypass UBAGG and cause cross-node LOC_ACCESS_ERR.

Co-authored-by: Cursor <cursoragent@cursor.com>
Bring over the local working-tree fixes needed for bonding_dev_0:
SET_BONDING_MODE, CTP priority/multi_path jetty config, and token_id
segment registration. Also wire topology discover_ub from ub/enable.

Co-authored-by: Cursor <cursoragent@cursor.com>
Reuse device_selection helpers in urma_adapter and install path so heuristics cannot drift, and always free token_id when unregister fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
Connor-Matthew and others added 2 commits August 31, 2026 10:44
Apply clang-format-20 to changed lines in ub_transport.cpp and
urma_adapter.cpp so CI code format check passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
tebench --help exits 1 under gflags; tolerate that so the UB benchmark
CLI smoke step checks help text instead of failing early under set -e.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants