RE: [PATCH] RDMA/cma: fix first byte overwritten for AF_IB

2014-12-18 Thread Hefty, Sean
So it's possible on server side listen using AF_INET, but client rdma_resolve_addr/rdma_resolve_route/rdma_connect with AF_IB? Yes

Re: [PATCH] RDMA/cma: fix first byte overwritten for AF_IB

2014-12-17 Thread Jinpu Wang
Hi Or, We have some trouble in the past about IPoIB support about neighbour discovery, AF_IB doesn't relay on IPoIB, so we think have another option maybe give us more safe in some cases. On Wed, Dec 17, 2014 at 11:40 AM, Or Gerlitz ogerl...@mellanox.com wrote: On 12/16/2014 5:43 PM, Jack

RE: [PATCH] RDMA/cma: fix first byte overwritten for AF_IB

2014-12-16 Thread Hefty, Sean
If user attach private data for AF_IB, the first byte will be overwritten, because we always set the cma version no matter family is AF_IB, so move the version set inside if condition. Reported-by: Fabian Holler fabian.hol...@profitbricks.com Signed-off-by: Jack Wang