1 This README is for userspace RDMA cm library.
6 To make this directory, run:
7 ./autogen.sh && ./configure && make && make install
9 Typically the autogen and configure steps only need be done the first
10 time unless configure.in or Makefile.am changes.
12 Libraries are installed by default at /usr/local/lib.
17 The userspace CMA uses a single device file regardless of the number
18 of adapters or ports present.
20 To create the appropriate character device file automatically with
23 KERNEL="rdma_cm", NAME="infiniband/%k", MODE="0666"
25 can be used. This will create the device node named
27 /dev/infiniband/rdma_cm
29 or you can create it manually
31 mknod /dev/infiniband/rdma_cm c 231 255
37 Using multiple interfaces
38 The librdmacm does support multiple interfaces. To make use
39 of multiple interfaces, however, you need to instruct linux
40 to only send ARP reples on the interface targetted in the ARP
41 request. This can be done using a command similar to the
44 sysctl -w net.ipv4.conf.all.arp_ignore=2
46 Without this change, it's possible for linux to resopnd to ARP
47 requests on a different interface (IP address) than the IP
48 address carried in the ARP request. This causes the RDMA stack
49 to incorrectly map the remote IP address to the wrong RDMA