* RDMA CM: private_data_len
@ 2011-03-25 18:27 Yann Droneaud
[not found] ` <1301077661.2192.31.camel-H/AUWmsJYVeqvyCYKW+Xr6xOck334EZe@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Yann Droneaud @ 2011-03-25 18:27 UTC (permalink / raw)
To: ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5,
linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hi,
On a client, rdma_connect() returns -1 and set errno EINVAL if
struct rdma_conn_param->private_data_len is set to something higher than
56 bytes.
But on a server, using rdma_accept() with struct
rdma_conn_param->private_data_len is set to 64 (for example) didn't
return any error.
What is the maximum data size that can be exchanged between peers at
connection time, and where to find its definition (at compile time or at
runtime) ?
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] 3+ messages in thread
* Re: RDMA CM: private_data_len
[not found] ` <1301077661.2192.31.camel-H/AUWmsJYVeqvyCYKW+Xr6xOck334EZe@public.gmane.org>
@ 2011-03-28 8:48 ` Or Gerlitz
[not found] ` <4D904B52.5000004-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Or Gerlitz @ 2011-03-28 8:48 UTC (permalink / raw)
To: Yann Droneaud, Hefty, Sean
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Yann Droneaud wrote:
> On a client, rdma_connect() returns -1 and set errno EINVAL if
> struct rdma_conn_param->private_data_len is set to something higher than
> 56 bytes.
>
> But on a server, using rdma_accept() with struct
> rdma_conn_param->private_data_len is set to 64 (for example) didn't
> return any error.
>
> What is the maximum data size that can be exchanged between peers at
> connection time, and where to find its definition (at compile time or at
> runtime) ?
yep, this isn't clear from the librdmacm man pages see the patch
that follows. BTW - Sean, looking on the code of the library and the
kernel's ucma.c / cma.c - I failed to find where this is enforced,
a pointer will be cool.
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] 3+ messages in thread
* Re: RDMA CM: private_data_len
[not found] ` <4D904B52.5000004-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2011-03-28 9:46 ` Yann Droneaud
0 siblings, 0 replies; 3+ messages in thread
From: Yann Droneaud @ 2011-03-28 9:46 UTC (permalink / raw)
To: Or Gerlitz
Cc: Hefty, Sean, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Le lundi 28 mars 2011 à 10:48 +0200, Or Gerlitz a écrit :
> Yann Droneaud wrote:
> > On a client, rdma_connect() returns -1 and set errno EINVAL if
> > struct rdma_conn_param->private_data_len is set to something higher than
> > 56 bytes.
> >
> > But on a server, using rdma_accept() with struct
> > rdma_conn_param->private_data_len is set to 64 (for example) didn't
> > return any error.
> >
> > What is the maximum data size that can be exchanged between peers at
> > connection time, and where to find its definition (at compile time or at
> > runtime) ?
>
> yep, this isn't clear from the librdmacm man pages see the patch
> that follows.
Oh yes, it's clear now.
Thanks for the patch and the link to IB specs.
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] 3+ messages in thread
end of thread, other threads:[~2011-03-28 9:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 18:27 RDMA CM: private_data_len Yann Droneaud
[not found] ` <1301077661.2192.31.camel-H/AUWmsJYVeqvyCYKW+Xr6xOck334EZe@public.gmane.org>
2011-03-28 8:48 ` Or Gerlitz
[not found] ` <4D904B52.5000004-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-03-28 9:46 ` Yann Droneaud
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox