public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] librdmacm/doc: document the limitations on the user provided private data length
@ 2011-03-28  8:49 Or Gerlitz
       [not found] ` <alpine.LRH.2.00.1103281048280.17717-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Or Gerlitz @ 2011-03-28  8:49 UTC (permalink / raw)
  To: Sean Hefty; +Cc: linux-rdma, Yann Droneaud

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 <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

 man/rdma_accept.3  |    2 ++
 man/rdma_connect.3 |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/man/rdma_accept.3 b/man/rdma_accept.3
index ac04e2c..0a9415a 100644
--- a/man/rdma_accept.3
+++ b/man/rdma_accept.3
@@ -84,5 +84,7 @@ 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.
 .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
index b0cc51e..8035d47 100644
--- a/man/rdma_connect.3
+++ b/man/rdma_connect.3
@@ -79,6 +79,8 @@ 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.
 .SH "IWARP SPECIFIC"
 Connections established over iWarp RDMA devices currently require that the
 active side of the connection send the first message.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-01 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28  8:49 [PATCH] librdmacm/doc: document the limitations on the user provided private data length Or Gerlitz
     [not found] ` <alpine.LRH.2.00.1103281048280.17717-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
2011-03-28 22:16   ` Hefty, Sean
     [not found]     ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25DC7B7191-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-03-29  7:14       ` Or Gerlitz
     [not found]         ` <4D9186E6.4080702-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-03-29 14:21           ` Hefty, Sean
2011-04-01 11:00   ` Yann Droneaud
     [not found]     ` <1301655637.5661.21.camel-H/AUWmsJYVeqvyCYKW+Xr6xOck334EZe@public.gmane.org>
2011-04-01 14:09       ` Hefty, Sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox