From: Michael Gur <michaelgur@nvidia.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: leon@kernel.org, linux-rdma@vger.kernel.org,
Edward Srouji <edwards@nvidia.com>,
Yishai Hadas <yishaih@nvidia.com>,
Patrisious Haddad <phaddad@nvidia.com>
Subject: Re: [PATCH rdma-next 0/9] FRMR pools fixes
Date: Wed, 10 Jun 2026 20:57:07 +0300 [thread overview]
Message-ID: <6c3014db-6fa3-4010-8575-e7554b3822bc@nvidia.com> (raw)
In-Reply-To: <20260610174510.GR2764304@ziepe.ca>
On 6/10/2026 8:45 PM, Jason Gunthorpe wrote:
> External email: Use caution opening links or attachments
>
>
> On Wed, Jun 10, 2026 at 03:01:36AM +0300, Michael Gur wrote:
>> From: Michael Guralnik <michaelgur@nvidia.com>
>>
>> This series addresses several bugs in FRMR pool handling.
>>
>> Patch 2 fixes incorrect masking of TPH-related bits in the FRMR pool key,
>> which caused stale TPH values to be used when creating handles from an
>> empty pool.
>>
>> Patch 3 fixes set-pinned flow to use the pool key returned from the
>> driver build_key callback instead of the raw key supplied by user.
>>
>> Patch 8 extends the FRMR pools API with a new drop() operation.
>> This allows drivers to update pool state on handle destruction when
>> revocation fails, without incorrectly returning the handle to the pool.
>>
>> The remaining patches fix error path handling, covering cases where memory
>> allocation fails during queue expansion, and where handle creation or
>> destruction operations return errors.
>>
>> Michael Guralnik (9):
>> RDMA/mlx5: Fix mkey creation error flow rollback
>> RDMA/mlx5: Fix TPH extraction in FRMR pool key
>> RDMA/core: Fix skipped usage for driver built FRMR key
>> RDMA/core: Fix FRMR aging push to queue error flow
>> RDMA/core: Fix FRMR set pinned push error path
>> RDMA/core: Avoid NULL dereference on FRMR bad usage
>> RDMA/core: Fix FRMR handle leak on push failure
>> RDMA/core: Add ib_frmr_pool_drop for unrecoverable handles
>> RDMA/mlx5: Drop FRMR pool handle on UMR revoke failure
> These fixes seem OK and Sashiko found two more:
>
> https://sashiko.dev/#/patchset/20260610000145.820592-1-michaelgur%40nvidia.com
>
> Can you send a followup?
Sure, I have a few patches around umr and frmr pools I'm testing and was
planning to send on the next cycle.
I'll handle these as well in that series.
> I'll pick this up tomorrow
Thanks
>
> Jason
prev parent reply other threads:[~2026-06-10 17:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-10 0:01 [PATCH rdma-next 0/9] FRMR pools fixes Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 1/9] RDMA/mlx5: Fix mkey creation error flow rollback Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 2/9] RDMA/mlx5: Fix TPH extraction in FRMR pool key Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 3/9] RDMA/core: Fix skipped usage for driver built FRMR key Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 4/9] RDMA/core: Fix FRMR aging push to queue error flow Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 5/9] RDMA/core: Fix FRMR set pinned push error path Michael Gur
2026-06-11 6:06 ` Tao Cui
2026-06-10 0:01 ` [PATCH rdma-next 6/9] RDMA/core: Avoid NULL dereference on FRMR bad usage Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 7/9] RDMA/core: Fix FRMR handle leak on push failure Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 8/9] RDMA/core: Add ib_frmr_pool_drop for unrecoverable handles Michael Gur
2026-06-10 0:01 ` [PATCH rdma-next 9/9] RDMA/mlx5: Drop FRMR pool handle on UMR revoke failure Michael Gur
2026-06-10 17:45 ` [PATCH rdma-next 0/9] FRMR pools fixes Jason Gunthorpe
2026-06-10 17:57 ` Michael Gur [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=6c3014db-6fa3-4010-8575-e7554b3822bc@nvidia.com \
--to=michaelgur@nvidia.com \
--cc=edwards@nvidia.com \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=phaddad@nvidia.com \
--cc=yishaih@nvidia.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