1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00
libhermit/usr/rdma-core/Documentation/libibcm.md
2017-10-06 15:13:04 +02:00

397 B

Device files

The userspace CM uses a device file per adapter present.

To create the appropriate character device file automatically with udev, a rule like

KERNEL="ucm*", NAME="infiniband/%k", MODE="0666"

can be used. This will create the device node named

/dev/infiniband/ucm0

for the first HCA in the system, or you can create it manually

mknod /dev/infiniband/ucm0 c 231 224