]> git.karo-electronics.de Git - karo-tx-linux.git/commit
RDMA/cma: Add support for AF_IB to cma_get_service_id()
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:19 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 20 Jun 2013 20:08:05 +0000 (13:08 -0700)
commit496ce3ce17f4b4f1b5f6edf9d2aedc4787a31c2f
tree674f11dcba2f7ee8bdf2c2531c7e80656441b7f3
parentf68194ca88ecca70e7e9064949d9d1f6e4b3a647
RDMA/cma: Add support for AF_IB to cma_get_service_id()

cma_get_service_id() forms the service ID based on the port space and
port number of the rdma_cm_id.  Extend the call to support AF_IB,
which contains the service ID directly.  This will be needed to
support any arbitrary SID.

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