This patch series add two new features, include SRQ and DCQCN. >From first to the fourth patch implement the SRQ(Share Receive Queue) verbs and update the poll cq verbs to deal with SRQ complentions as well as add the process flow of asynchronous event. The next three patches mainly add DCQCN(Data Center QCN) and timer support for hip08. The remaining patches includes two bugfixes and a Code optimization Lijun Ou (7): RDMA/hns: Eanble SRQ capacity for hip08 RDMA/hns: Init SRQ table for hip08 RDMA/hns: Add SRQ support for hip08 kernel mode RDMA/hns: Add SRQ asynchronous event support RDMA/hns: Init qp context when modify qp from reset to init RDMA/hns: Use the macro instead of qp state transition support RDMA/hns: Fix the bug while use multi-hop of pbl Yangyang Li (3): RDMA/hns: Add SCC context allocation support for hip08 RDMA/hns: Add SCC context clr support for hip08 RDMA/hns: Add timer allocation support for hip08 drivers/infiniband/hw/hns/Makefile | 2 +- drivers/infiniband/hw/hns/hns_roce_alloc.c | 2 + drivers/infiniband/hw/hns/hns_roce_cmd.h | 16 + drivers/infiniband/hw/hns/hns_roce_device.h | 130 +++++- drivers/infiniband/hw/hns/hns_roce_hem.c | 109 ++++- drivers/infiniband/hw/hns/hns_roce_hem.h | 5 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 613 ++++++++++++++++++++++++++-- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 178 +++++++- drivers/infiniband/hw/hns/hns_roce_main.c | 137 +++++++ drivers/infiniband/hw/hns/hns_roce_mr.c | 139 ++++++- drivers/infiniband/hw/hns/hns_roce_qp.c | 50 ++- drivers/infiniband/hw/hns/hns_roce_srq.c | 490 ++++++++++++++++++++++ include/uapi/rdma/hns-abi.h | 6 + 13 files changed, 1799 insertions(+), 78 deletions(-) create mode 100644 drivers/infiniband/hw/hns/hns_roce_srq.c -- 1.9.1