[rds-devel] Re: Transmit RDS protocol version in first packet
Or Gerlitz
ogerlitz at voltaire.com
Mon Jan 28 05:07:00 PST 2008
Richard Frank wrote:
> How much private data is available its max size ?
for rdma_connect() its 56 bytes (=92-36), note that the private data
length does not go over the wire so the private data len values you get
on the rdma-cm event are always the maximum values (52 for connection
request event)
Or
> union cma_ip_addr {
> struct in6_addr ip6;
> struct {
> __u32 pad[3];
> __u32 addr;
> } ip4;
> };
>
> struct cma_hdr {
> u8 cma_version;
> u8 ip_version; /* IP version: 7:4 */
> __u16 port;
> union cma_ip_addr src_addr;
> union cma_ip_addr dst_addr;
> };
>
> IB_CM_REQ_PRIVATE_DATA_SIZE = 92,
More information about the rds-devel
mailing list