RE: [EXTERNAL] Re: [PATCH rdma-next 1/3] RDMA/mana_ib: Access remote atomic for MRs

From: Konstantin Taranov
Date: Thu Apr 10 2025 - 09:42:03 EST


> > @@ -24,6 +24,9 @@ mana_ib_verbs_to_gdma_access_flags(int
> access_flags)
> > if (access_flags & IB_ACCESS_REMOTE_READ)
> > flags |= GDMA_ACCESS_FLAG_REMOTE_READ;
> >
> > + if (access_flags & IB_ACCESS_REMOTE_ATOMIC)
> > + flags |= GDMA_ACCESS_FLAG_REMOTE_ATOMIC;
>
> Can you enable this flag unconditionally without relation to running RW?

Yes, ATOMIC access does not depend on Remote Read and Remote Write.
I also do not see any conditions in other drivers.

- Konstantin

>
> Thanks
>
> > +
> > return flags;
> > }
> >
> > --
> > 2.43.0
> >