Infini-SD: properly setup infiniband

This commit is contained in:
Infinidoge 2024-09-12 20:15:09 -04:00
parent 1aed464380
commit ab9333c203
No known key found for this signature in database

View file

@ -31,9 +31,13 @@
}; };
}; };
services.udev.extraRules = '' systemd.services.setup-infiniband = {
DRIVER=="mlx4_core", ATTR{mlx4_port1}="eth", ATTR{mlx4_port2}="eth" wantedBy = [ "network.target" ];
script = ''
echo "eth" > /sys/bus/pci/devices/0000:04:00.0/mlx4_port1
echo "eth" > /sys/bus/pci/devices/0000:04:00.0/mlx4_port2
''; '';
};
documentation.man.man-db.enable = false; documentation.man.man-db.enable = false;