diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-06 11:24:39 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-17 20:35:25 -0300 |
commit | b0810b037de0b62a3c6e3abfc123fe2734335f53 (patch) | |
tree | 18a8959d568256175f888491b04e1d27da2ad02c /drivers/infiniband/ulp | |
parent | dbd67252869ba58d086edfa14113e10f8059b97e (diff) |
RDMA/core: Consolidate ib_create_srq flows
The uverbs layer largely duplicate the code in ib_create_srq(), with the
slight difference that it passes in a udata. Move all the code together
into ib_create_srq_user() and provide an inline for kernel users, similar
to other create calls.
Link: https://lore.kernel.org/r/20200506082444.14502-6-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions