linux/drivers/infiniband/hw/hns
Yangyang Li c9813b0b99 RDMA/hns: Support SRQ record doorbell
Compared with normal doorbell, using record doorbell can shorten the
process of ringing the doorbell and reduce the latency.

Add a flag HNS_ROCE_CAP_FLAG_SRQ_RECORD_DB to allow FW to
enable/disable SRQ record doorbell.

If the flag above is set, allocate the dma buffer for SRQ record
doorbell and write the buffer address into SRQC during SRQ creation.

For userspace SRQ, add a flag HNS_ROCE_RSP_SRQ_CAP_RECORD_DB to notify
userspace whether the SRQ record doorbell is enabled.

Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20230926130026.583088-1-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-10-02 11:47:08 +03:00
..
hns_roce_ah.c treewide: use get_random_u32_inclusive() when possible 2022-11-18 02:18:02 +01:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_cmd.h RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Unified Log Printing Style 2022-09-27 10:15:25 -03:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_device.h RDMA/hns: Support SRQ record doorbell 2023-10-02 11:47:08 +03:00
hns_roce_hem.c RDMA: Remove unnecessary ternary operators 2023-07-31 15:16:12 +03:00
hns_roce_hem.h RDMA/hns: Remove redundant 'phy_addr' in hns_roce_hem_list_find_mtt() 2022-09-27 10:15:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Support SRQ record doorbell 2023-10-02 11:47:08 +03:00
hns_roce_hw_v2.h RDMA/hns: Support hns HW stats 2023-08-19 14:26:34 +03:00
hns_roce_main.c RDMA/hns: Support SRQ restrack ops for hns driver 2023-09-20 10:51:45 +03:00
hns_roce_mr.c RDMA/hns: Fix base address table allocation 2023-05-17 16:05:00 -03:00
hns_roce_pd.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_qp.c RDMA/hns: Fix CQ and QP cache affinity 2023-08-07 16:46:58 +03:00
hns_roce_restrack.c RDMA/hns: Support SRQ restrack ops for hns driver 2023-09-20 10:51:45 +03:00
hns_roce_srq.c RDMA/hns: Support SRQ record doorbell 2023-10-02 11:47:08 +03:00
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Remove redundant DFX file and DFX ops structure 2022-08-23 11:34:42 +03:00