[PATCH v5 rdma-core 0/3] 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 record doorbell and
cq record doorbell in the user space.

---
v3->v5:
NOTE: No v4 version.
1. Use existing ccan/bitmap functions according to Jason's
   suggestion, thus [patch 1/3] added.
2. Delete all unneccessary casting.
3. Use assert.
v2->v3:
1. According to Jason's comments, init resp and cmd to zero.
v1->v2:
1. Consider the compatibility between the kernel and userspace
   according to Jason's suggestion.

Yixian Liu (3):
  ccan: Add bitmap support for rdma-core
  libhns: Support rq record doorbell
  libhns: Support cq record doorbell

 CMakeLists.txt                   |   2 +
 ccan/CMakeLists.txt              |   3 +
 ccan/bitmap.c                    | 125 ++++++++++++++
 ccan/bitmap.h                    | 243 +++++++++++++++++++++++++++
 ccan/endian.h                    | 355 +++++++++++++++++++++++++++++++++++++++
 providers/hns/CMakeLists.txt     |   1 +
 providers/hns/hns_roce_u.h       |  26 +++
 providers/hns/hns_roce_u_abi.h   |   6 +
 providers/hns/hns_roce_u_db.c    | 165 ++++++++++++++++++
 providers/hns/hns_roce_u_db.h    |   5 +
 providers/hns/hns_roce_u_hw_v2.c |  15 +-
 providers/hns/hns_roce_u_hw_v2.h |   8 +
 providers/hns/hns_roce_u_verbs.c |  50 +++++-
 13 files changed, 994 insertions(+), 10 deletions(-)
 create mode 100644 ccan/bitmap.c
 create mode 100644 ccan/bitmap.h
 create mode 100644 ccan/endian.h
 create mode 100644 providers/hns/hns_roce_u_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