All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Cheng Xu <chengyou@linux.alibaba.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, KaiShen@linux.alibaba.com
Subject: Re: [PATCH for-rc] RDMA/erdma: Correct the max_qp and max_cq capacities of the device
Date: Tue, 16 Aug 2022 16:32:10 +0300	[thread overview]
Message-ID: <YvucWrCLUYjljcTj@unreal> (raw)
In-Reply-To: <20220810014320.88026-1-chengyou@linux.alibaba.com>

On Wed, Aug 10, 2022 at 09:43:19AM +0800, Cheng Xu wrote:
> QP0 in HW is used for CMDQ, and the rest is for RDMA QPs. So the actual
> max_qp capacity reported to core should be max_qp (reported by HW) - 1.
> So does max_cq.
> 
> Fixes: 155055771704 ("RDMA/erdma: Add verbs implementation")
> Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
> ---
>  drivers/infiniband/hw/erdma/erdma_verbs.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Thanks, applied both patches to -rc.

As a note, please group the patches properly and not as a reply.
Or send them separately, or use cover letter.

Thanks

  parent reply	other threads:[~2022-08-16 13:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10  1:43 [PATCH for-rc] RDMA/erdma: Correct the max_qp and max_cq capacities of the device Cheng Xu
2022-08-10  1:43 ` [PATCH for-rc] RDMA/erdma: Using the key in FMR WR instead of MR structure Cheng Xu
2022-08-16 13:32 ` Leon Romanovsky [this message]
2022-08-17  1:46   ` [PATCH for-rc] RDMA/erdma: Correct the max_qp and max_cq capacities of the device Cheng Xu

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=YvucWrCLUYjljcTj@unreal \
    --to=leon@kernel.org \
    --cc=KaiShen@linux.alibaba.com \
    --cc=chengyou@linux.alibaba.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    /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 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.