Re: [PATCH rdma-next 09/15] vfio/mlx5: Enable relaxed ordering on the live migration data mkey

From: Jason Gunthorpe

Date: Tue Aug 11 2026 - 15:36:24 EST


On Sun, 26 Jul 2026 12:29:23 +0300, Michael Gur <michaelgur@xxxxxxxxxx> wrote:
> As firmware guarantees that all device-issued data writes complete before
> posting of CQE, there is no need for strong ordering of memory accesses
> on the live migration data mkey.
> Enable relaxed ordering on the mkey via the mlx5_core RO setter.
>
> This allows better performance and supporting vfio live migration on HW
> that restricts memory registration with strict ordering.
>
> [...]

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

--
Jason