[openib-general] [PATCH]libibcm: updated README for device node configuration

Bill Jordan bjordan at sbc2.infiniconsys.com
Thu Jun 2 12:57:06 PDT 2005


Patch to add basic content to the CM library
README file. Add build instructions, install
directory, and device node configuration.

Signed-off-by: Bill Jordan <bjordan at silverstorm.com>

Index: README
===================================================================
--- README	(revision 2523)
+++ README	(working copy)
@@ -0,0 +1,27 @@
+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/infiniband.
+
+Device files
+
+The userspace CM uses a single device file regardless of the number
+of adapters or ports 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/ucm
+
+



More information about the general mailing list