feat(mockibsysfs): ibping support via synthetic umad emulation#366
Closed
giuliocalzo wants to merge 3 commits into
Closed
feat(mockibsysfs): ibping support via synthetic umad emulation#366giuliocalzo wants to merge 3 commits into
giuliocalzo wants to merge 3 commits into
Conversation
0913c6f to
b476af0
Compare
Extend libibmocksys.so with umad ioctl/read/write/poll so ibping works without ib_umad hardware. Same-LID pings loop in-process; cross-HCA traffic uses a global umad-bus keyed by MAD TID. Adds e2e validation, Linux integration test, and CI mockib-integration job. Signed-off-by: Giulio Calzolari <gcalzolari@nvidia.com>
b476af0 to
ec0790c
Compare
Signed-off-by: Giulio Calzolari <gcalzolari@nvidia.com>
Resolve CHANGELOG and Helm README conflicts with upstream gb300, PCIe sysfs, and library padding entries. Signed-off-by: Giulio Calzolari <gcalzolari@nvidia.com>
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
umad_mock.ctolibibmocksys.soso ibping works on nvml-mock nodes without realib_umadhardware (vendor OpenIB ping MAD class0x32only).ibstat,ibstatus,iblinkinfo) is unchanged; synthetic umad fds handleioctl/read/write/poll.$MOCK_IB_ROOT/umad-bus/{in,out}/with TID-matched replies.MOCK_IB_ROOTwith the chart (/var/lib/nvml-mock/ib), implementREGISTER_AGENT2, and fix mixed-fdpoll()delegation to libc.Test plan
make -C pkg/network/mockibsysfsandgo test ./pkg/network/mockibsysfs/...go test -tags=integration ./pkg/network/mockibsysfs/render/...(Linux + infiniband-diags)docker build -f deployments/nvml-mock/Dockerfile— self-ping and cross-HCA (mlx5_0→ LID 2, server onmlx5_1)mockib-integrationjobnvml-mock-e2e—validate-ibping.shon IB-enabled profilesNotes
libibmocksys.soto 1.2.0 (rebuild nvml-mock image for Kind/e2e).