summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorYishai Hadas2018-07-08 12:24:39 +0200
committerJason Gunthorpe2018-07-10 19:52:06 +0200
commit528922afd41cdd1da6a4b33e2c82e38c1746561c (patch)
tree607396ae8224ab931cb414193cf1d8062e3faaf0 /include/rdma
parentib_srpt: use kvmalloc to allocate ring pointers (diff)
downloadkernel-qcow2-linux-528922afd41cdd1da6a4b33e2c82e38c1746561c.tar.gz
kernel-qcow2-linux-528922afd41cdd1da6a4b33e2c82e38c1746561c.tar.xz
kernel-qcow2-linux-528922afd41cdd1da6a4b33e2c82e38c1746561c.zip
IB: Enable uverbs_destroy_def_handler to be used by drivers
Enable uverbs_destroy_def_handler to be used by drivers and replace current code to use it. 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 'include/rdma')
-rw-r--r--include/rdma/ib_verbs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index b523298d486b..2696f1d730a1 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -4146,4 +4146,7 @@ void rdma_roce_rescan_device(struct ib_device *ibdev);
struct ib_ucontext *ib_uverbs_get_ucontext(struct ib_uverbs_file *ufile);
+int uverbs_destroy_def_handler(struct ib_device *ib_dev,
+ struct ib_uverbs_file *file,
+ struct uverbs_attr_bundle *attrs);
#endif /* IB_VERBS_H */