]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Remove the condition of light load for posting DWQE
authorYixian Liu <liuyixian@huawei.com>
Wed, 28 Apr 2021 07:12:30 +0000 (15:12 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 11 May 2021 16:15:22 +0000 (13:15 -0300)
commita7f2b75374dbb45ea6d23d044e56aa29a7cccff0
tree1c13737fe907c319e8d5ad42c6c7dbb7172b3b60
parent78f0a5f86683713bf30eae653c023ab078a37264
RDMA/hns: Remove the condition of light load for posting DWQE

Even in the case of heavy load, direct WQE can still be posted. The
hardware will decide whether to drop the DWQE or not. Thus, the limit
needs to be removed.

Fixes: 934c3c3c127a ("RDMA/hns: Add support of direct wqe")
Link: https://lore.kernel.org/r/1619593950-29414-1-git-send-email-liweihang@huawei.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c