First byte of private_data transfered with rdma_connect() is always 0

2014-12-16 Thread Fabian Holler
Hello, we are using the conn_param-private_data field to transfer data with the rdma_connect() call to the server. When it's done on a RDMA_PS_IB rdma_cm_id the first Byte of the private_data, that is received by the server is _always_ 0. When a RDMA_PS_TCP rdma_cm_id is used, the data is

Re: First byte of private_data transfered with rdma_connect() is always 0

2014-12-16 Thread Jack Wang
Found the bug. commit 56e620c453f2588cfc9898a41b110477f6417a5d Author: Jack Wang jinpu.w...@profitbricks.com Date: Tue Dec 16 15:44:17 2014 +0100 RDMA/cma: fix first byte overwritten for AF_IB If user attach private data for AF_IB, the first byte will be overwritten, because we