]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit639fe6b2d655cd8b0c6923271a4f6b5153598035
treecefb0285363c2abbf4b0ef3351745dca4739fcac
parent1ccf19137e1339df1b18629252f42692170a65b0
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