aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <roland@topspin.com>2005-06-23 17:29:10 +0000
committerRoland Dreier <rolandd@cisco.com>2006-11-09 11:35:56 -0800
commitbc8f5e2c9dfc80dd310d12013ed970aa15da566b (patch)
tree55f8ba7b03102ba5fd1bcf53d9acc24f00280297
parentf05ba1df99c676bd5ba4c50d0e8b85fae76ea8e2 (diff)
downloadlibibverbs-bc8f5e2c9dfc80dd310d12013ed970aa15da566b.tar.gz
Expand libibverbs README
Signed-off-by: Roland Dreier <roland@topspin.com>
-rw-r--r--README31
1 files changed, 29 insertions, 2 deletions
diff --git a/README b/README
index f61dbca..777f88b 100644
--- a/README
+++ b/README
@@ -9,6 +9,29 @@ especially chapter 11.
Using libibverbs
================
+Device nodes
+------------
+
+The verbs library expects special character device files named
+/dev/infiniband/uverbsN to be created. When you load the kernel
+modules, including both the low-level driver for your IB hardware as
+well as the ib_uverbs module, you should see one or more uverbsN
+entries in /sys/class/infiniband_verbs in addition to the
+/dev/infiniband/uverbsN character device files.
+
+To create the appropriate character device files automatically with
+udev, a rule like
+
+ KERNEL="uverbs*", NAME="infiniband/%k"
+
+can be used. This will create device nodes named
+
+ /dev/infiniband/uverbs0
+
+and so on. Since the InfiniBand userspace verbs should be safe for
+use by non-privileged, you may want to add an appropriate MODE or
+GROUP to your udev rule.
+
Permissions
-----------
@@ -56,6 +79,9 @@ Bugs should be reported to the OpenIB mailing list
* If the bug is a crash, the exact output printed out when the crash
occurred, including any kernel messages produced.
+ * If a verbs call is mysteriously returning an error or failing, the
+ output of "strace -ewrite -ewrite=all <command>".
+
Submitting patches
==================
@@ -72,5 +98,6 @@ necessary permissions to release your work.
TODO
====
- * Shared receive queues (SRQs) are not implemented
- * Memory windows (MWs) are not implemented
+ * Shared receive queues (SRQs) are not implemented.
+ * Multiple CQ event handlers are not implemented.
+ * Memory windows (MWs) are not implemented.