diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-01-06 19:04:46 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-11 02:37:14 +0100 |
commit | 0acb0cc7ecc1e4860b056368566c0c2c254ae281 (patch) | |
tree | fda9a57a2c01ae71e5722a8fe10a80a255a62154 /drivers/infiniband/sw/rdmavt/qp.h | |
parent | IB/rdmavt: Break rdma_vt main include header file up (diff) | |
download | linux-0acb0cc7ecc1e4860b056368566c0c2c254ae281.tar.xz linux-0acb0cc7ecc1e4860b056368566c0c2c254ae281.zip |
IB/rdmavt: Initialize and teardown of qpn table
Add table init as well as teardown for handling qpn maps. Drivers can still
provide this functionality by setting the QP_INIT_DRIVER bit.
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/qp.h')
-rw-r--r-- | drivers/infiniband/sw/rdmavt/qp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rdmavt/qp.h b/drivers/infiniband/sw/rdmavt/qp.h index 9c2999db528b..f438809e18e2 100644 --- a/drivers/infiniband/sw/rdmavt/qp.h +++ b/drivers/infiniband/sw/rdmavt/qp.h @@ -50,6 +50,8 @@ #include <rdma/rdma_vt.h> +int rvt_driver_qp_init(struct rvt_dev_info *rdi); +void rvt_qp_exit(struct rvt_dev_info *rdi); struct ib_qp *rvt_create_qp(struct ib_pd *ibpd, struct ib_qp_init_attr *init_attr, struct ib_udata *udata); |