[ofa-general] [PATCH] RE: librdmacm: rdma_bind_addr() doesn't return port

Aaron Fabbri (aafabbri) aafabbri at cisco.com
Tue Jun 10 11:06:10 PDT 2008


 
Make manpage reflect the fact that rdma_bind_addr(port=0) does not
return the assigned port.

Signed-off-by: Aaron Fabbri <aafabbri <at> cisco.com>

diff --git a/man/rdma_bind_addr.3 b/man/rdma_bind_addr.3
index 46c48a3..55d1b9c 100644
--- a/man/rdma_bind_addr.3
+++ b/man/rdma_bind_addr.3
@@ -22,8 +22,8 @@ to a specific port number, but it may also be called
on the ac
 of a connection before calling rdma_resolve_addr to bind to a specific
 address.
 .P
-If used to bind to port 0, the rdma_cm will select an available port
-and return it to the user.
+If used to bind to port 0, the rdma_cm will select an available port,
which can
+be retrieved with rdma_get_src_port(3).
 .SH "SEE ALSO"
 rdma_create_id(3), rdma_listen(3), rdma_resolve_addr(3),
rdma_create_qp(3),
 rdma_get_local_addr(3), rdma_get_src_port(3)



More information about the general mailing list