On Sun, 26 Jul 2026 12:29:18 +0300, Michael Gur [off-list ref] wrote:
The uverbs ABI reserves the optional access flags range as best-effort:
drivers should accept any flag in this range and treat the actual support
as opportunistic, never failing registration when an optional flag is
requested.
Add the optional access flag to the allow-list of dmabuf registration
through the reg_mr ioctl. Uverbs users can now request any optional access
flag on dmabuf registrations and mlx5 will apply the flag's effect on a
best-effort basis when supported.
[...]
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
--
Jason