RDMA/{cma, ucma}: Simplify and rename rdma_set_ib_paths
authorParav Pandit <parav@mellanox.com>
Mon, 8 Jan 2018 15:04:45 +0000 (17:04 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 11 Jan 2018 05:00:33 +0000 (22:00 -0700)
commitfe75889f27940c7a1c0e9c4c81464e0a8e936aa2
treecefb0285363c2abbf4b0ef3351745dca4739fcac
parent9327c7afdce3780895728c8977144bf3b5f854c5
RDMA/{cma, ucma}: Simplify and rename rdma_set_ib_paths

Since 2006 there has been no user of rdmacm based application to make use
of setting multiple path records using rdma_set_ib_paths API.

Therefore code is simplified to allow setting one path record entry.
Now that it sets only single path, it is renamed to reflect the same.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/ucma.c
include/rdma/rdma_cm_ib.h