Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5159084pxj; Wed, 9 Jun 2021 10:27:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwu2pKI4lHq4cycCdPhUQgytnkSZC6ZfH+zVEYhU85sEP7GarZ8M0MMBPwEQFGIGvxS2d8J X-Received: by 2002:a17:906:2c4a:: with SMTP id f10mr860853ejh.493.1623259635069; Wed, 09 Jun 2021 10:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623259635; cv=none; d=google.com; s=arc-20160816; b=SW6qfhYQ+17gTpMrfPJM4CfB5IpxkDBBzxVdxseS14ZY2sCIadSPj5o+WN6LEk2BUV x/6/boOdrEzcQvSRHnjTd2Z3CoVce8JPab81Fo3MjXpic96rJgufKOwK7b1Zq+t6EC7F wHwRNn049DKyc8HnZTABXm+h6/+xJRr8TaS+Ez1TOJudXkVgm0K9EuQ48PUlR4nSVu4E iz779W13IZd3FGxwNv8qCP+9XTzQWUwn9pGNkXOmAGA1EunIUS3nc6hhGBfB9tR/mU+d PaFhmi9ds3Iki0sa3zV4wb1ZRFltDV6QqydxslraSCO+hSvKskFQ7xjkB365/c2Xt7G4 vx7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Awk+DEWtdw+tIBSwiC1QI3BVEJBFIqOqIZLYGNOOQjE=; b=FiQIBxTyrOwyoxNahBZXqTyvSAT607u4iJrwcz9LsKMj6IwtZJ3wnGFbl/dIOaqsb1 p5oufgXKmcR1GgXmtZSpBLQuQQI3oWouHJI46mYW6dUe85+9irPIu5sG4o8qHD0HYAnX bvw0eVdKuA+G31LGgohxAUOW6uCeTENVyVSui4MzKgCFHx3z6guq1swIY4gETUdFW969 GSQjveyqT30VSGDVBWea+w8vsbbtTC2Vcc5G/RuRH6wif89dvCMycwZi5kH/AcRgu5kv BJeAcv/1dgSyDue1zvHD0tbiEgPn/L+4KPsucv7C2iD9dDYUOcOyGOVArEl2BPDimoHu ifpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t6si253577eju.144.2021.06.09.10.26.50; Wed, 09 Jun 2021 10:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231414AbhFIMyj (ORCPT + 99 others); Wed, 9 Jun 2021 08:54:39 -0400 Received: from verein.lst.de ([213.95.11.211]:56108 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbhFIMyj (ORCPT ); Wed, 9 Jun 2021 08:54:39 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id ACA4D6736F; Wed, 9 Jun 2021 14:52:41 +0200 (CEST) Date: Wed, 9 Jun 2021 14:52:41 +0200 From: Christoph Hellwig To: Leon Romanovsky Cc: Doug Ledford , Jason Gunthorpe , Avihai Horon , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Tom Talpey , Santosh Shilimkar , Chuck Lever III , Keith Busch , David Laight , Honggang LI , Max Gurtovoy Subject: Re: [PATCH v2 rdma-next] RDMA/mlx5: Enable Relaxed Ordering by default for kernel ULPs Message-ID: <20210609125241.GA1347@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 09, 2021 at 02:05:03PM +0300, Leon Romanovsky wrote: > From: Avihai Horon > > Relaxed Ordering is a capability that can only benefit users that support > it. All kernel ULPs should support Relaxed Ordering, as they are designed > to read data only after observing the CQE and use the DMA API correctly. > > Hence, implicitly enable Relaxed Ordering by default for kernel ULPs. > > Signed-off-by: Avihai Horon > Signed-off-by: Leon Romanovsky > --- > Changelog: > v2: > * Dropped IB/core patch and set RO implicitly in mlx5 exactly like in > eth side of mlx5 driver. This looks great in terms of code changes. But can we please also add a patch to document that PCIe relaxed ordering is fine for kernel ULP usage somewhere?