summaryrefslogtreecommitdiffstats
path: root/contrib/ofed/libibcm/README
blob: 4dda13c185eb169ca0767fc6b0bb9372c8848a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This README is for userspace cm library.

Building

To make this directory, run:
./autogen.sh && ./configure && make && make install

Typically the autogen and configure steps only need be done the first
time unless configure.in or Makefile.am changes.

Libraries are installed by default at /usr/local/lib.

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
OpenPOWER on IntegriCloud