]> git.baikalelectronics.ru Git - kernel.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)
commit92550e649a2a4e47df87aa4700e92acb2272a35e
treec849ad7a71b6ed73cedfc1eeb512b817b27d72ed
parenta74e52b846df339110e9a99ce8da5d45cc2c27b9
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