freebsd-nq/contrib/ofed/libibcm
..
config
include/infiniband
src
aclocal.m4
AUTHORS
ChangeLog
config.h.in
configure
configure.in
COPYING
INSTALL
libibcm.spec
libibcm.spec.in
Makefile.am
Makefile.in
NEWS
README

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