From: Or Gerlitz Date: Mon, 28 Mar 2011 21:00:05 +0000 (-0700) Subject: librdmacm/doc: Document private data length limitations X-Git-Tag: v1.0.15~17 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=bb81961ba90e281b5dcd9113ca2fa91eab41f618;p=~shefty%2Flibrdmacm.git librdmacm/doc: Document private data length limitations Document the limitations on the user provided private data length over Infiniband networks. These limitations are calculated by subtracting the rdma-cm header size (see IBA Annex A11 "RDMA CM IP Service") from IB's private data len for the REQ (rdma_connect) and REP (rdma_accept) messages Signed-off-by: Or Gerlitz Signed-off-by: Sean Hefty --- diff --git a/man/rdma_accept.3 b/man/rdma_accept.3 index 89f2a62f..c131d29e 100755 --- a/man/rdma_accept.3 +++ b/man/rdma_accept.3 @@ -84,5 +84,8 @@ by the active side of the connection. The HCA ACK delay is a property of the locally used HCA. .P The RNR retry count is a 3-bit value. +.P +The length of the private data provided by the user is limited to 160 bytes +for RDMA_PS_TCP, or 136 bytes for RDMA_PS_UDP. .SH "SEE ALSO" rdma_listen(3), rdma_reject(3), rdma_get_cm_event(3) diff --git a/man/rdma_connect.3 b/man/rdma_connect.3 old mode 100644 new mode 100755 index b0cc51eb..51056a06 --- a/man/rdma_connect.3 +++ b/man/rdma_connect.3 @@ -79,6 +79,9 @@ Administrator and is part of the resolved route (path record) information. The HCA ACK delay is a property of the locally used HCA. .P Retry count and RNR retry count values are 3-bit values. +.P +The length of the private data provided by the user is limited to 56 bytes +for RDMA_PS_TCP, or 180 bytes for RDMA_PS_UDP. .SH "IWARP SPECIFIC" Connections established over iWarp RDMA devices currently require that the active side of the connection send the first message.