Re: [PATCH v2 1/1] RDMA/mana_ib: ignore optional access flags for MRs
From: Leon Romanovsky
Date: Thu Jun 06 2024 - 07:39:43 EST
On Thu, Jun 06, 2024 at 08:30:06AM +0000, Konstantin Taranov wrote:
> > > 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);
I took this patch as is.
Thanks