All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cheng Xu <chengyou@linux.alibaba.com>
To: Leon Romanovsky <leon@kernel.org>
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: Wed, 17 Aug 2022 09:46:36 +0800	[thread overview]
Message-ID: <47178d1a-489d-d258-3722-34add81425c5@linux.alibaba.com> (raw)
In-Reply-To: <YvucWrCLUYjljcTj@unreal>



On 8/16/22 9:32 PM, Leon Romanovsky wrote:
> 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.

It's my fault. I shouldn't send the two patches together in one git send-email
command.

Thanks,
Cheng Xu

      reply	other threads:[~2022-08-17  1:46 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 ` [PATCH for-rc] RDMA/erdma: Correct the max_qp and max_cq capacities of the device Leon Romanovsky
2022-08-17  1:46   ` Cheng Xu [this message]

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=47178d1a-489d-d258-3722-34add81425c5@linux.alibaba.com \
    --to=chengyou@linux.alibaba.com \
    --cc=KaiShen@linux.alibaba.com \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --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.