summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/i40iw/i40iw_puda.h
diff options
context:
space:
mode:
authorMustafa Ismail <mustafa.ismail@intel.com>2018-01-12 03:10:54 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-01-17 06:38:18 +0300
commitf20d429511affab6a2a9129f46042f43e6ffe396 (patch)
tree8d46f539e9566654a2262e59f027ea7912cd5681 /drivers/infiniband/hw/i40iw/i40iw_puda.h
parentebb6c0c015321ba7f3af21e4ce059ca9e73b3896 (diff)
downloadlinux-f20d429511affab6a2a9129f46042f43e6ffe396.tar.xz
i40iw: Free IEQ resources
The iWARP Exception Queue (IEQ) resources are not freed when a QP is destroyed. Fix this by freeing IEQ resources when freeing QP resources. Fixes: d37498417947 ("i40iw: add files for iwarp interface") Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_puda.h')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_puda.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_puda.h b/drivers/infiniband/hw/i40iw/i40iw_puda.h
index 660aa3edae56..53a7d58c84b5 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_puda.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_puda.h
@@ -184,4 +184,5 @@ enum i40iw_status_code i40iw_cqp_qp_create_cmd(struct i40iw_sc_dev *dev, struct
enum i40iw_status_code i40iw_cqp_cq_create_cmd(struct i40iw_sc_dev *dev, struct i40iw_sc_cq *cq);
void i40iw_cqp_qp_destroy_cmd(struct i40iw_sc_dev *dev, struct i40iw_sc_qp *qp);
void i40iw_cqp_cq_destroy_cmd(struct i40iw_sc_dev *dev, struct i40iw_sc_cq *cq);
+void i40iw_ieq_cleanup_qp(struct i40iw_puda_rsrc *ieq, struct i40iw_sc_qp *qp);
#endif