OPENIB.ORG INFINIBAND SUPPORT (2004-03-16 drop)
---------- ---------- -------
This file gives a basic outline of installing and using the kernel
components of the OpenIB.org InfiniBand stack. More information,
userspace tools, and the latest kernel drivers are available from
INSTALLATION
------------
Copy the infiniband/ directory to the drivers/ directory in a 2.6
kernel source tree. Apply the drivers.diff patch to the kernel so
that InfiniBand support is enabled in the kernel configuration.
Reconfigure the kernel with all CONFIG_INFINIBAND_XXX options set to
'm' and rebuild the kernel.
If you wish to build SDP support, you will have to obtain the
infiniband-kernel-sdp package and copy those sources into
drivers/infiniband/ulp/sdp before building.
By adding
alias infiniband_hca ib_tavor
alias ib0 ib_ipoib
alias ib1 ib_ipoib
alias net-pf-26 ib_sdp
to /etc/modprobe.conf, IP-over-InfiniBand (IPoIB) can be enabled
simply by running
ifconfig ib0 # HCA port 1
ifconfig ib1 # HCA port 1
Once IPoIB is configured and running, Sockets Direct Protocol (SDP)
can be used by creating a SOCK_STREAM socket with protocol family 26
(AF_INET_SDP).
SCSI RDMA Protocol (SRP) is used by running
modprobe ib_srp
InfiniBand attached storage will appear as normal SCSI devices.
Some debugging information is available in the files in the
/proc/infiniband directory. Of particular interest are the
/proc/infiniband/ca1/port1/info and /proc/infiniband/ca1/port2/info
files, which among other things show the state of the HCA's ports.
NOTES
-----
2004-03-16 -- Updated drop
* Bugfix to Mellanox HCA driver spinlock wrapper.
* Remove GPL-only rbtree code that was inadvertently included.
2004-03-05 -- Updated drop
* Some updates to source code. Issues below for 2004-02-26 drop
still apply.
* Split SDP source with questionable license into a separate
package.
2004-02-26 -- Initial drop
* This drop only supports Linux kernel version 2.6.
* This drop has only been tested on i386.
* InfiniBand support will not work if compiled staticly into the
kernel due to link order issues. Set all CONFIG_INFINIBAND
options to 'm'.