OSDN Git Service

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)
commit591f762b2750c628df9412d1c795b56e83a34b3e
tree1c13737fe907c319e8d5ad42c6c7dbb7172b3b60
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
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: 01584a5edcc4 ("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