Re: [PATCH rdma-next v1 0/2] Enable relaxed ordering for ULPs

From: Jason Gunthorpe
Date: Mon May 31 2021 - 14:14:04 EST


On Thu, May 27, 2021 at 08:11:14AM +0000, David Laight wrote:
> > There was such a big discussion on the last version I wondered why
> > this was so quiet. I guess because the cc list isn't very big..
> >
> > Adding the people from the original thread, here is the patches:
> >
> > https://lore.kernel.org/linux-rdma/cover.1621505111.git.leonro@xxxxxxxxxx/
> >
> > I think this is the general approach that was asked for, to special case
> > uverbs and turn it on in kernel universally
>
> I'm still not sure which PCIe transactions you are enabling relaxed
> ordering for. Nothing has ever said that in layman's terms.
>
> IIRC PCIe targets (like ethernet chips) can use relaxed ordered
> writes for frame contents but must use strongly ordered writes
> for the corresponding ring (control structure) updates.

Right, it is exactly like this, just not expressed in ethernet
specific terms.

Data transfer TLPs are relaxed ordered and control structure TLPs are
normal ordered.

Jason