diff options
author | Yixian Liu <liuyixian@huawei.com> | 2020-02-22 11:25:58 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-28 16:28:31 +0100 |
commit | 75c994e6943c2aa887871eb6e6cea6c073b1cfd3 (patch) | |
tree | 9b6d2f0aedb276868cc17d4d2a022665148dc3d4 /drivers/infiniband/hw/hfi1 | |
parent | RDMA/hns: Use flush framework for the case in aeq (diff) | |
download | linux-75c994e6943c2aa887871eb6e6cea6c073b1cfd3.tar.xz linux-75c994e6943c2aa887871eb6e6cea6c073b1cfd3.zip |
RDMA/hns: Stop doorbell update while qp state error
There are two paths to update qp producer index into hardware now, one
path is doorbell in post verbs (send and recv), the another is mailbox in
modify qp verb which is called by flush process. This will lead the
hardware to be broken to correctly generate flush cqe. With stopping
doorbell update and holding qp spinlock in modify qp during flush process,
the problem can be solved.
Fixes: 0425e3e6e0c7 ("RDMA/hns: Support flush cqe for hip08 in kernel space")
Link: https://lore.kernel.org/r/1582367158-27030-3-git-send-email-liuyixian@huawei.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1')
0 files changed, 0 insertions, 0 deletions