On 2021/6/4 22:40, Jason Gunthorpe wrote: > On Mon, May 10, 2021 at 09:12:58PM +0800, Weihang Li wrote: >> 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", and two RFC versions of this series has been >> sent before. >> >> No changes since RFC v2. >> * Link: https://patchwork.kernel.org/project/linux-rdma/cover/1614847759-33139-1-git-send-email-liweihang@xxxxxxxxxx/ >> >> Changes since RFC 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@xxxxxxxxxx/ >> >> 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 verbs support to config DCA >> libhns: Add man pages to introduce DCA feature > > This should be sent on GitHub > > Jason > The implementation needs some modification, so I haven't sent it to github yet. The next version will be sent to github at the same time, thank you. Weihang