All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC rdma-core 0/5] libhns: Add support for Dynamic Context Attachment
@ 2021-02-07  3:12 Weihang Li
  2021-02-07  3:12 ` [PATCH RFC rdma-core 1/5] Update kernel headers Weihang Li
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Weihang Li @ 2021-02-07  3:12 UTC (permalink / raw)
  To: jgg, leon; +Cc: dledford, 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.

Please note that we didn't find the right way to get user's configuration,
so in #4 we still use environment variable to achieve this. We will be
appreciated if anyone can provide some sugggestions.

This series is associated with the kernel series "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/

Weihang Li (1):
  Update kernel headers

Xi Wang (4):
  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 support for configuring DCA

 kernel-headers/rdma/hns-abi.h    |  64 +++++++
 libibverbs/cmd_qp.c              |   3 +-
 libibverbs/verbs.h               |   1 +
 providers/hns/hns_roce_u.c       |  89 +++++++++
 providers/hns/hns_roce_u.h       |  42 +++++
 providers/hns/hns_roce_u_buf.c   | 384 +++++++++++++++++++++++++++++++++++++++
 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 ++++-
 9 files changed, 754 insertions(+), 18 deletions(-)

-- 
2.8.1


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

end of thread, other threads:[~2021-02-24 18:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07  3:12 [PATCH RFC rdma-core 0/5] libhns: Add support for Dynamic Context Attachment Weihang Li
2021-02-07  3:12 ` [PATCH RFC rdma-core 1/5] Update kernel headers Weihang Li
2021-02-07  3:12 ` [PATCH RFC rdma-core 2/5] libhns: Introduce DCA for RC QP Weihang Li
2021-02-09 19:44   ` Jason Gunthorpe
2021-02-20  6:12     ` liweihang
2021-02-07  3:12 ` [PATCH RFC rdma-core 3/5] libhns: Add support for shrinking DCA memory pool Weihang Li
2021-02-07  3:12 ` [PATCH RFC rdma-core 4/5] libhns: Add support for attaching QP's WQE buffer Weihang Li
2021-02-07  3:12 ` [PATCH RFC rdma-core 5/5] libhns: Add support for configuring DCA Weihang Li
2021-02-09 19:38 ` [PATCH RFC rdma-core 0/5] libhns: Add support for Dynamic Context Attachment Jason Gunthorpe
2021-02-20  9:47   ` liweihang
2021-02-09 19:53 ` Jason Gunthorpe
2021-02-20  8:40   ` liweihang
2021-02-22 16:01     ` Jason Gunthorpe
2021-02-23  8:07       ` liweihang
2021-02-24  9:48   ` liweihang
2021-02-24 18:55     ` Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.