* [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[parent not found: <alpine.LRH.2.00.1103281048280.17717-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>]
* RE: [PATCH] librdmacm/doc: document the limitations on the user provided private data length [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-04-01 11:00 ` Yann Droneaud 1 sibling, 1 reply; 6+ messages in thread From: Hefty, Sean @ 2011-03-28 22:16 UTC (permalink / raw) To: Or Gerlitz; +Cc: linux-rdma, Yann Droneaud Thanks - I modified the patch to further specify the difference between RC and UD: > 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 + 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 > 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 + for RDMA_PS_TCP, or 180 bytes for RDMA_PS_UDP. - Sean -- 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 [flat|nested] 6+ messages in thread
[parent not found: <CF9C39F99A89134C9CF9C4CCB68B8DDF25DC7B7191-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: [PATCH] librdmacm/doc: document the limitations on the user provided private data length [not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25DC7B7191-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2011-03-29 7:14 ` Or Gerlitz [not found] ` <4D9186E6.4080702-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Or Gerlitz @ 2011-03-29 7:14 UTC (permalink / raw) To: Hefty, Sean; +Cc: linux-rdma, Yann Droneaud Hefty, Sean wrote: > I modified the patch to further specify the difference between RC and UD: I don't see it on your librdmacm git tree, assuming it on a local clone which you will sync with the public one soon? Or. -- 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 [flat|nested] 6+ messages in thread
[parent not found: <4D9186E6.4080702-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>]
* RE: [PATCH] librdmacm/doc: document the limitations on the user provided private data length [not found] ` <4D9186E6.4080702-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> @ 2011-03-29 14:21 ` Hefty, Sean 0 siblings, 0 replies; 6+ messages in thread From: Hefty, Sean @ 2011-03-29 14:21 UTC (permalink / raw) To: Or Gerlitz; +Cc: linux-rdma, Yann Droneaud > I don't see it on your librdmacm git tree, assuming it on a local clone > which you will sync with the public one soon? changes have been pushed -- 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 [flat|nested] 6+ messages in thread
* Re: [PATCH] librdmacm/doc: document the limitations on the user provided private data length [not found] ` <alpine.LRH.2.00.1103281048280.17717-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org> 2011-03-28 22:16 ` Hefty, Sean @ 2011-04-01 11:00 ` Yann Droneaud [not found] ` <1301655637.5661.21.camel-H/AUWmsJYVeqvyCYKW+Xr6xOck334EZe@public.gmane.org> 1 sibling, 1 reply; 6+ messages in thread From: Yann Droneaud @ 2011-04-01 11:00 UTC (permalink / raw) To: Or Gerlitz; +Cc: Sean Hefty, linux-rdma Le lundi 28 mars 2011 à 10:49 +0200, Or Gerlitz a écrit : > 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 In Annex A11 "RMDA CM IP Service" of Infiniband Architecture Release 1.2.1 (November 2007), there's nothing about the REP messages. Only REQ (table 532) messages are specified in this section. For general REP messages, one have to look to table 103 : "REP Message Contents" in section 12.6.8 REP - Reply to Request For Communication. Am I correct ? Regards. -- Yann Droneaud OPTEYA -- 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 [flat|nested] 6+ messages in thread
[parent not found: <1301655637.5661.21.camel-H/AUWmsJYVeqvyCYKW+Xr6xOck334EZe@public.gmane.org>]
* RE: [PATCH] librdmacm/doc: document the limitations on the user provided private data length [not found] ` <1301655637.5661.21.camel-H/AUWmsJYVeqvyCYKW+Xr6xOck334EZe@public.gmane.org> @ 2011-04-01 14:09 ` Hefty, Sean 0 siblings, 0 replies; 6+ messages in thread From: Hefty, Sean @ 2011-04-01 14:09 UTC (permalink / raw) To: Yann Droneaud, Or Gerlitz; +Cc: linux-rdma > For general REP messages, one have to look to table 103 : "REP Message > Contents" in section 12.6.8 REP - Reply to Request For Communication. > > Am I correct ? I believe so. The rdma_accept size should be 196 for RDMA_PS_TCP. ^ permalink raw reply [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