-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/rdma-core: add module for soft RoCE and test #34607
Conversation
@GrahamcOfBorg test rxe |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
wantedBy = [ "sysinit.target" ]; | ||
after = [ "systemd-modules-load.service" ]; | ||
wants = [ "network-pre.target" ]; | ||
before = [ "network-pre.target" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
network-pre.target
is meant for firewalls, we create network interfaces after
instead of before
.
Since our network configuration depends on device
units, it should wait before interfaces are up and created before addresses are assigned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I set it to after=network-online.target. That should be a safe bet since rxe gets transported over UDP.
path = with pkgs; [ kmod rdma-core ]; | ||
description = "RoCE interfaces"; | ||
|
||
wantedBy = [ "sysinit.target" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use multi-user.target
here instead.
6018526
to
4e52526
Compare
Thanks for clearing the back log! |
Motivation for this change
This PR adds a nixos module that manages RDMA over converged ethernet (RoCE) interfaces. The test runs the basic test programs from
rmda-core
to ensure that RDMA communication between two nodes works properly.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)