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

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