linux/drivers/infiniband/hw/hns
Yixing Liu 0045e0d3f4 RDMA/hns: Support direct wqe of userspace
The current write wqe mechanism is to write to DDR first, and then notify
the hardware through doorbell to read the data. 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. SIMD
instructions allows cpu to write the 512 bits at one time to device
memory, thus it can be used for posting direct wqe.

Add direct wqe enable switch and address mapping.

Link: https://lore.kernel.org/r/20211207124901.42123-2-liangwenpeng@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-12-14 19:59:07 -04:00
..
hns_roce_ah.c RDMA/hns: Avoid filling sl in high 3 bits of vlan_id 2020-12-11 15:21:34 -04:00
hns_roce_alloc.c RDMA/hns: Delete unused hns bitmap interface 2021-08-24 09:15:17 -03:00
hns_roce_cmd.c RDMA/hns: Correct the hex print format 2021-11-19 14:13:17 -04:00
hns_roce_cmd.h RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_common.h RDMA/hns: Add hr_reg_write_bool() 2021-06-21 15:03:41 -03:00
hns_roce_cq.c RDMA/hns: Add the check of the CQE size of the user space 2021-09-27 14:49:49 -03:00
hns_roce_db.c RDMA: Use the sg_table directly and remove the opencoded version from umem 2021-08-24 19:52:40 -03:00
hns_roce_device.h RDMA/hns: Support direct wqe of userspace 2021-12-14 19:59:07 -04:00
hns_roce_hem.c RDMA: Fix kernel-doc warnings about wrong comment 2021-06-21 20:32:50 -03:00
hns_roce_hem.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v1.c RDMA: Constify netdev->dev_addr accesses 2021-10-25 14:33:09 -03:00
hns_roce_hw_v1.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Support direct wqe of userspace 2021-12-14 19:59:07 -04:00
hns_roce_hw_v2.h RDMA/hns: Remove macros that are no longer used 2021-11-19 14:13:44 -04:00
hns_roce_main.c RDMA/hns: Support direct wqe of userspace 2021-12-14 19:59:07 -04:00
hns_roce_mr.c RDMA/hns: Correct the type of variables participating in the shift operation 2021-11-19 14:13:18 -04:00
hns_roce_pd.c RDMA/hns: Support direct wqe of userspace 2021-12-14 19:59:07 -04:00
hns_roce_qp.c RDMA/hns: Support direct wqe of userspace 2021-12-14 19:59:07 -04:00
hns_roce_restrack.c RDMA: Add a dedicated CQ resource tracker function 2020-06-23 11:46:27 -03:00
hns_roce_srq.c RDMA/hns: Use IDA interface to manage srq index 2021-08-24 09:15:16 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00