RDMA CM: private_data_len
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.
Signature · 8 lines
Yann Droneaud OPTEYA -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1301077661.2192.31.camel-H/[email protected]
Quoted 10 lines · Yann Droneaud
On a client,
rdma_connect()returns -1 and set errno EINVAL if structrdma_conn_param->private_data_lenis set to something higher than 56 bytes.But on a server, using
rdma_accept()with structrdma_conn_param->private_data_lenis 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 4D904B52.5000004-VPRAkNaXOzVWk0Htik3J/[email protected]
Quoted 9 lines · Or Gerlitz
Quoted 8 lines · Yann Droneaud
On a client,
rdma_connect()returns -1 and set errno EINVAL if structrdma_conn_param->private_data_lenis set to something higher than 56 bytes.But on a server, using
rdma_accept()with structrdma_conn_param->private_data_lenis set to 64 (for example) didn't return any error.
Quoted 6 lines
Quoted 3 lines
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.
Signature · 8 lines
Yann Droneaud OPTEYA -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html