]> git.baikalelectronics.ru Git - kernel.git/commit
IB/cma: Share ib_cm_ids between rdma_cm_ids
authorHaggai Eran <haggaie@mellanox.com>
Thu, 30 Jul 2015 14:50:25 +0000 (17:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 19:48:24 +0000 (15:48 -0400)
commit365a0567fefb2b2387ddb5bba654dcb995b95b76
tree2ee0543f3fac0fc0988cd66be26569bf43a4e5fc
parent95af7184b6c057bedeeadb9144d4bfa1f83596c0
IB/cma: Share ib_cm_ids between rdma_cm_ids

Use ib_cm_insert_listen to create listening IB CM IDs or share existing
ones if needed. When given a request on a specific CM ID, the code now
matches the request to the RDMA CM ID based on the request parameters, so
it no longer needs to rely on the ib_cm's private data matching
capabilities.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c