RDMA/hns: Add support of direct wqe
authorYixing Liu <liuyixing1@huawei.com>
Sat, 30 Jan 2021 09:05:13 +0000 (17:05 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 9 Feb 2021 00:12:57 +0000 (20:12 -0400)
commit01584a5edcc4a04ed4b993f75b6cc4bcf3c21818
treef0ced8cede328c657decf9088634fd0513e070a1
parent429fa9698957d1a910535ce5e33aedf5adfdabc1
RDMA/hns: Add support of direct wqe

Direct wqe is a mechanism to fill wqe directly into the hardware. In the
case of light load, the wqe will be filled into pcie bar space of the
hardware, this will reduce one memory access operation and therefore
reduce the latency.

Link: https://lore.kernel.org/r/1611997513-27107-1-git-send-email-liweihang@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h