RE: [PATCH v2 1/1] RDMA/mana_ib: ignore optional access flags for MRs

From: Konstantin Taranov
Date: Thu Jun 06 2024 - 04:30:22 EST


> > Ignore optional ib_access_flags when an MR is created.
>
> Can you add details on why this is needed?

Do you mean to the commit message?
If we do not ignore these optional flags, the reg user mr fails because the next 2 lines:
if (access_flags & ~VALID_MR_FLAGS)
return ERR_PTR(-EINVAL);