From: Leon Romanovsky <leon@kernel.org>
To: haris.iqbal@ionos.com, jinpu.wang@ionos.com,
Honggang LI <honggangli@163.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] RDMA/rtrs: client: Fix clt_path::max_pages_per_mr calculation
Date: Tue, 30 Dec 2025 05:48:33 -0500 [thread overview]
Message-ID: <176709171300.595137.5416854575977542501.b4-ty@kernel.org> (raw)
In-Reply-To: <20251229025617.13241-1-honggangli@163.com>
On Mon, 29 Dec 2025 10:56:17 +0800, Honggang LI wrote:
> If device max_mr_size bits in the range [mr_page_shift+31:mr_page_shift]
> are zero, the `min3` function will set clt_path::max_pages_per_mr to
> zero.
>
> `alloc_path_reqs` will pass zero, which is invalid, as the third parameter
> to `ib_alloc_mr`.
>
> [...]
Applied, thanks!
[1/1] RDMA/rtrs: client: Fix clt_path::max_pages_per_mr calculation
https://git.kernel.org/rdma/rdma/c/43bd09d5b750f7
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2025-12-30 10:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-29 2:56 Honggang LI
2025-12-30 10:48 ` Leon Romanovsky [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=176709171300.595137.5416854575977542501.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=haris.iqbal@ionos.com \
--cc=honggangli@163.com \
--cc=jgg@ziepe.ca \
--cc=jinpu.wang@ionos.com \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®