]> git.karo-electronics.de Git - karo-tx-linux.git/commit
RDMA/cma: Expose private data when using AF_IB
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:22 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 21 Jun 2013 06:35:36 +0000 (23:35 -0700)
commite8160e15930969de709ba9b46df9571448b78ce5
treec849ad7a71b6ed73cedfc1eeb512b817b27d72ed
parentfbaa1a6d852aa6878059acb18cbc336746795a56
RDMA/cma: Expose private data when using AF_IB

If the source or destination address is AF_IB, then do not reserve a
portion of the private data in the IB CM REQ or SIDR REQ messages for
the cma header.  Instead, all private data should be exported to the
user.  When AF_IB is used, the rdma cm does not have sufficient
information to fill in the cma header.  Additionally, this will be
necessary to support any IB connection through the rdma cm interface,

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c