This patch set updates to support rq and cq record doorbell for the user space and kernel space respectively. --- v1->v2: 1. Consider the compatibility between the kernel and userspace according to Jason's suggestion. 2. Revised some codes according to Leon's comments. Yixian Liu (4): RDMA/hns: Support rq record doorbell for the user space RDMA/hns: Support cq record doorbell for the user space RDMA/hns: Support rq record doorbell for kernel space RDMA/hns: Support cq record doorbell for kernel space drivers/infiniband/hw/hns/Makefile | 2 +- drivers/infiniband/hw/hns/hns_roce_cq.c | 57 +++++++- drivers/infiniband/hw/hns/hns_roce_db.c | 207 ++++++++++++++++++++++++++++ drivers/infiniband/hw/hns/hns_roce_device.h | 59 +++++++- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 70 +++++----- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 3 + drivers/infiniband/hw/hns/hns_roce_main.c | 10 ++ drivers/infiniband/hw/hns/hns_roce_qp.c | 68 ++++++++- include/uapi/rdma/hns-abi.h | 11 ++ 9 files changed, 444 insertions(+), 43 deletions(-) create mode 100644 drivers/infiniband/hw/hns/hns_roce_db.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html