linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Weihang Li <liweihang@huawei.com>
Cc: <leon@kernel.org>, <dledford@redhat.com>,
	<linux-rdma@vger.kernel.org>, <linuxarm@openeuler.org>
Subject: Re: [PATCH RFC rdma-core 0/5] libhns: Add support for Dynamic Context Attachment
Date: Tue, 9 Feb 2021 15:38:49 -0400	[thread overview]
Message-ID: <20210209193849.GR4247@nvidia.com> (raw)
In-Reply-To: <1612667574-56673-1-git-send-email-liweihang@huawei.com>

On Sun, Feb 07, 2021 at 11:12:49AM +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.
> 
> 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.

That is definately not going to work.. It should be some dv thing,
dv create qp or a dv customization of the parent domain spring to mind

Jason

  parent reply	other threads:[~2021-02-09 19:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Jason Gunthorpe [this message]
2021-02-20  9:47   ` [PATCH RFC rdma-core 0/5] libhns: Add support for Dynamic Context Attachment 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210209193849.GR4247@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linuxarm@openeuler.org \
    --cc=liweihang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).