]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Remove asynchronic QP destroy
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 4 Apr 2019 06:56:38 +0000 (09:56 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 24 Apr 2019 13:55:31 +0000 (10:55 -0300)
commit2b8c5edd7492f62a7841cbd1fd62fb608e54101f
tree21e119e23bae371c388078f07e5034443ed04ffa
parentd35ead50ab6b8732e4d546ac4d25931267f0dd8a
RDMA/hns: Remove asynchronic QP destroy

Verbs destroy callbacks are synchronous operations and can't be delayed.
The expectation is that after driver returned from destroy function, the
memory can be freed and user won't be able to access it again.

Ditch workqueue implementation used in HNS driver.

Fixes: a9f836564004 ("IB/hns: Fix the bug when destroy qp")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: oulijun <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_common.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.h