[PATCH v6 for-next 0/4] Support rq and cq record doorbell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set updates to support rq and cq record doorbell
for the user space and kernel space respectively.

---
v5->v6:
1. Use refcount_t related operations according to Jason's
   suggestion.
v4->v5:
1. Rename db_page to page to avoid confusion.
2. Extend cap_flags from __u32 to __u64 to avoid unnecessary
   reserve.
v3->v4:
1. Add caps flags check for record db while destroy qp.
v2->v3:
1. Revised according to Jason's comments:
   1) not use BIT in uapi header
   2) aligned to 64 bits for the structures in uapi header file.
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     |  59 +++++++-
 drivers/infiniband/hw/hns/hns_roce_db.c     | 208 ++++++++++++++++++++++++++++
 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     |  70 +++++++++-
 include/uapi/rdma/hns-abi.h                 |  12 ++
 9 files changed, 450 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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux