From: Jason Gunthorpe > Sent: 31 May 2021 19:14 > > 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. So exactly what is this patch doing? 'Enabling relaxed ordering' sounds like something that is setting the 'relaxed ordering' bit in TLP. Doing that in any global fashion is clearly broken. OTOH if it is (effectively) stopping the clearing of the 'relaxed ordering' bit by one of the PCIe bridges (or the root complex) then it is rather different. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)