Commit ee7c8690 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Yang Yingliang
Browse files

RDMA/hns: Remove asynchronic QP destroy



mainline  inclusion
from mainline-v5.2
commit 57425822
category: bugfix
bugzilla: NA
CVE: NA

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: d838c481 ("IB/hns: Fix the bug when destroy qp")
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Acked-by: default avataroulijun <oulijun@huawei.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarShunfeng Yang <yangshunfeng2@huawei.com>
Reviewed-by: default avatarchunzhi hu <huchunzhi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 3f279822
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment