]> asedeno.scripts.mit.edu Git - linux.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)
commit574258222281221444b561b05c3a5fa85947a80c
tree21e119e23bae371c388078f07e5034443ed04ffa
parent5d7ed2f27bbd482fd29e6b2e204b1a1ee8a0b268
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: d838c481e025 ("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