public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC v2 rdma-core 0/6] libhns: Add support for Dynamic Context Attachment
@ 2021-03-04  8:49 Weihang Li
  2021-03-04  8:49 ` [PATCH RFC v2 rdma-core 1/6] Update kernel headers Weihang Li
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Weihang Li @ 2021-03-04  8:49 UTC (permalink / raw)
  To: jgg, leon; +Cc: linux-rdma, linuxarm

The HIP09 introduces the DCA(Dynamic Context Attachment) feature which
supports many RC QPs to share the WQE buffer in a memory pool. If a QP
enables DCA feature, the WQE's buffer will not be allocated when creating
but when the users start to post WRs. This will reduce the memory
consumption when there are too many QPs are inactive.

For more detailed information, please refer to the man pages provided by
the last patch of this series.

This series is associated with the kernel one "RDMA/hns: Add support for
Dynamic Context Attachment", you can review it at:
https://patchwork.kernel.org/project/linux-rdma/cover/1611394994-50363-1-git-send-email-liweihang@huawei.com/

Changes since v1:
- Add direct verbs to set the parameters about size that used to
  configuring DCA. 
- Add man pages to explain what is DCA, how does it works and how to use
  it.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/1612667574-56673-1-git-send-email-liweihang@huawei.com/

Weihang Li (1):
  Update kernel headers

Xi Wang (5):
  libhns: Introduce DCA for RC QP
  libhns: Add support for shrinking DCA memory pool
  libhns: Add support for attaching QP's WQE buffer
  libhns: Add direct verb to support config DCA memory pool
  libhns: Add man pages to introduce DCA feature

 CMakeLists.txt                             |   1 +
 debian/ibverbs-providers.install           |   1 +
 debian/ibverbs-providers.lintian-overrides |   4 +-
 debian/ibverbs-providers.symbols           |   5 +
 debian/libibverbs-dev.install              |   6 +
 kernel-headers/rdma/hns-abi.h              |  64 +++++
 libibverbs/cmd_qp.c                        |   3 +-
 libibverbs/man/ibv_create_qp_ex.3          |   1 +
 libibverbs/verbs.h                         |   1 +
 providers/hns/CMakeLists.txt               |   9 +-
 providers/hns/hns_roce_u.c                 |  96 +++++++
 providers/hns/hns_roce_u.h                 |  44 ++++
 providers/hns/hns_roce_u_abi.h             |   1 +
 providers/hns/hns_roce_u_buf.c             | 387 +++++++++++++++++++++++++++++
 providers/hns/hns_roce_u_hw_v2.c           | 138 +++++++++-
 providers/hns/hns_roce_u_hw_v2.h           |   7 +
 providers/hns/hns_roce_u_verbs.c           |  44 +++-
 providers/hns/hnsdv.h                      |  44 ++++
 providers/hns/libhns.map                   |   8 +
 providers/hns/man/CMakeLists.txt           |   6 +
 providers/hns/man/hns_dca.7.md             |  35 +++
 providers/hns/man/hnsdv.7.md               |  34 +++
 providers/hns/man/hnsdv_is_supported.3.md  |  39 +++
 providers/hns/man/hnsdv_open_device.3.md   |  70 ++++++
 redhat/rdma-core.spec                      |   5 +
 suse/rdma-core.spec                        |  19 ++
 26 files changed, 1051 insertions(+), 21 deletions(-)
 create mode 100644 providers/hns/hnsdv.h
 create mode 100644 providers/hns/libhns.map
 create mode 100644 providers/hns/man/CMakeLists.txt
 create mode 100644 providers/hns/man/hns_dca.7.md
 create mode 100644 providers/hns/man/hnsdv.7.md
 create mode 100644 providers/hns/man/hnsdv_is_supported.3.md
 create mode 100644 providers/hns/man/hnsdv_open_device.3.md

-- 
2.8.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-15  3:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-04  8:49 [PATCH RFC v2 rdma-core 0/6] libhns: Add support for Dynamic Context Attachment Weihang Li
2021-03-04  8:49 ` [PATCH RFC v2 rdma-core 1/6] Update kernel headers Weihang Li
2021-03-04  8:49 ` [PATCH RFC v2 rdma-core 2/6] libhns: Introduce DCA for RC QP Weihang Li
2021-03-04  8:49 ` [PATCH RFC v2 rdma-core 3/6] libhns: Add support for shrinking DCA memory pool Weihang Li
2021-03-04  8:49 ` [PATCH RFC v2 rdma-core 4/6] libhns: Add support for attaching QP's WQE buffer Weihang Li
2021-03-04  8:49 ` [PATCH RFC v2 rdma-core 5/6] libhns: Add direct verb to support config DCA memory pool Weihang Li
2021-03-12 14:27   ` Jason Gunthorpe
2021-03-15  3:21     ` liweihang
2021-03-04  8:49 ` [PATCH RFC v2 rdma-core 6/6] libhns: Add man pages to introduce DCA feature Weihang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox