commit | b73efcb26e2c6d66797c57bed8df13c3718c58cb | [log] [tgz] |
---|---|---|
author | Maor Gottlieb <maorg@mellanox.com> | Mon Jul 06 15:27:15 2020 +0300 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Mon Jul 06 19:32:23 2020 -0300 |
tree | 2f686ea30bc28a3098b73d18ee97358aa689a857 | |
parent | f4375443b7861ca5d93a10dba5ef5a478d5df96a [diff] |
RDMA/core: Clean ib_alloc_xrcd() and reuse it to allocate XRC domain ib_alloc_xrcd() already does the required initialization, so move the uverbs to call it and save code duplication, while cleaning the function argument lists of that function. Link: https://lore.kernel.org/r/20200706122716.647338-3-leon@kernel.org Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>