From: Juan Zhou <zhoujuan51(a)h-partners.com>
Support hns roce DCA mode.
Chengchang Tang (12):
RDMA/hns: Introduce DCA for RC QP
RDMA/hns: Add method for shrinking DCA memory pool
RDMA/hns: Configure DCA mode for the userspace QP
RDMA/hns: Add method for attaching WQE buffer
RDMA/hns: Setup the configuration of WQE addressing to QPC
RDMA/hns: Add method to detach WQE buffer
RDMA/hns: Add method to query WQE buffer's address
RDMA/hns: Add DCA support for kernel space
RDMA/hns: Add debugfs support for DCA
RDMA/hns: Optimize user DCA perfermance by sharing DCA status
RDMA/hns: Fixes concurrent ressetting and post_recv in DCA mode
RDMA/hns: Fix DCA's dependence on ib_uverbs
drivers/infiniband/hw/hns/Makefile | 2 +-
drivers/infiniband/hw/hns/hns_roce_dca.c | 1875 ++++++++++++++++++
drivers/infiniband/hw/hns/hns_roce_dca.h | 78 +
drivers/infiniband/hw/hns/hns_roce_debugfs.c | 406 ++++
drivers/infiniband/hw/hns/hns_roce_debugfs.h | 19 +
drivers/infiniband/hw/hns/hns_roce_device.h | 69 +-
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 304 ++-
drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 5 +
drivers/infiniband/hw/hns/hns_roce_main.c | 196 +-
drivers/infiniband/hw/hns/hns_roce_mr.c | 12 +-
drivers/infiniband/hw/hns/hns_roce_qp.c | 197 +-
include/uapi/rdma/hns-abi.h | 73 +-
12 files changed, 3099 insertions(+), 137 deletions(-)
create mode 100644 drivers/infiniband/hw/hns/hns_roce_dca.c
create mode 100644 drivers/infiniband/hw/hns/hns_roce_dca.h
--
2.30.0