i40iw: Free IEQ resources
authorMustafa Ismail <mustafa.ismail@intel.com>
Fri, 12 Jan 2018 00:10:54 +0000 (18:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Apr 2018 09:02:05 +0000 (11:02 +0200)
commitb3b2ca24d9f7c5c34a073553a983c099a2862119
treeb6cea7b7ecefcee30120c9271b5b48a518f99a56
parent0d5ef8956c84a4d6667d41085755b09ac54266c6
i40iw: Free IEQ resources

[ Upstream commit f20d429511affab6a2a9129f46042f43e6ffe396 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/i40iw/i40iw_puda.c
drivers/infiniband/hw/i40iw/i40iw_puda.h
drivers/infiniband/hw/i40iw/i40iw_verbs.c