Commit 4f110760 authored by Weihang Li's avatar Weihang Li Committed by Xie XiuQi
Browse files

RDMA/hns: Modify QP to reset before destroy it in UD mode



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

If we destroy QP without modifing QP to reset through mailbox at first in
UD mode, hardware can still access to their resources after they are freed,
which will cause ras and smmu errors sometimes.

Feature or Bugfix: Bugfix

Signed-off-by: default avatarWeihang Li <liweihang@hisilicon.com>
Reviewed-by: default avatarchenglang <chenglang@huawei.com>
Reviewed-by: default avatarwangxi <wangxi11@huawei.com>
Reviewed-by: default avatarliuyixian <liuyixian@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent d6f78a8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment