[PATCH v3] drivers: update relaxed ordering policy for mlx5 mkeys
Raslan Darawsheh
rasland at nvidia.com
Wed Jun 24 09:15:56 CEST 2026
Hi,
On 22/06/2026 10:54 AM, Maayan Kashani wrote:
> New adapters expose additional ordering capabilities.
> Query the new caps and apply them when creating DevX mkeys via
> mlx5_devx_mkey_attr_set_ordering(), which sets PCI relaxed ordering
> and RAW=RO when relaxed order is supported.
> Use this helper on Windows (still gated by Haswell/Broadwell) and for
> Linux wrapped mkeys and crypto/regex/vdpa indirect mkeys when
> relaxed order only flag is set.
> Linux wrapped mkeys continue to use the legacy Haswell/Broadwell rule for
> IBV_ACCESS_RELAXED_ORDERING on the verbs MR.
> Upcoming FW will requires setting the correct ordering attributes,
> otherwise it fails to create the memory key.
>
> Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list