Skip to content

Commit c861e2a

Browse files
committed
librdmacm: Document to set accept_local sysctl for loopback
For loopback connections between ports on a single system to work, accept_local sysctl must be set to 1. Add this to the readme. Signed-off-by: Sean Hefty <[email protected]>
1 parent 8d8c34d commit c861e2a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README

+11
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,14 @@ Using multiple interfaces
4848
address carried in the ARP request. This causes the RDMA stack
4949
to incorrectly map the remote IP address to the wrong RDMA
5050
device.
51+
52+
Using loopback
53+
The librdmacm relies on ARP to resolve IP address to RDMA
54+
addresses. To support loopback connections between different
55+
ports on the same system, ARP must be enabled for local
56+
resolution:
57+
58+
sysctl net.ipv4.conf.all.accept_local=1
59+
60+
Without this setting, loopback connections may timeout
61+
during address resolution.

0 commit comments

Comments
 (0)