From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7E58CA9EC0 for ; Mon, 28 Oct 2019 14:07:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8040F20659 for ; Mon, 28 Oct 2019 14:07:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572271639; bh=/RshxhbL9N90hYm2MFXSFdkhq0RwUE+p1VQykN5ANQI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=TB00vFrEeiT7WbkwClKreMmMKaTTd6134JGLQl3RS8mPmxRLMVHC6SfYzchqtCrqX jNFnL+uNiAtJg9RlItvXbtS0hhesGn4Xc4dt+lRzPCg9ZSJYqNg7deC9LMHMkNdz0w T6qrYOHm1Vijaok8+8LXxBblLUHZ4stdjr5ETeew= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730496AbfJ1OHT (ORCPT ); Mon, 28 Oct 2019 10:07:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:60024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730388AbfJ1OHS (ORCPT ); Mon, 28 Oct 2019 10:07:18 -0400 Received: from localhost (unknown [77.137.89.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BBA73205ED; Mon, 28 Oct 2019 14:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572271638; bh=/RshxhbL9N90hYm2MFXSFdkhq0RwUE+p1VQykN5ANQI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IAShDbqg/qPtodl2i9m51kg6gSXTOeoLsM+pMp6wAofPiP6SCCGt7/YDSRd4CZz3u 85XnL2AVTo9PFTC1+9pQ6scJ7YdjlrAdIvOsD2QeHH2Xurqb+ucojy7qhe+U2avRyu hZ2TLWYMJOI1kCyjkWCgz8xwATBmqfsVqBpsdw0U= Date: Mon, 28 Oct 2019 16:07:15 +0200 From: Leon Romanovsky To: Or Gerlitz Cc: Doug Ledford , Jason Gunthorpe , Michael Guralnik , RDMA mailing list Subject: Re: [PATCH rdma-next v1] IB/mlx5: Test write combining support Message-ID: <20191028140715.GJ5146@unreal> References: <20191027062234.10993-1-leon@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Mon, Oct 28, 2019 at 03:38:13PM +0200, Or Gerlitz wrote: > On Sun, Oct 27, 2019 at 8:29 AM Leon Romanovsky wrote: > > > > From: Michael Guralnik > > > > Add a test in mlx5_ib initialization process to test whether > > write-combining is supported on the machine. > > The test will run as part of the enable_driver callback to ensure that > > the test runs after the device is setup and can create and modify the > > QP needed, but runs before the device is exposed to the users. > > > > The test opens UD QP and posts NOP WQEs, the WQE written to the BlueFlame > > is differnet from the WQE in memory, requesting CQE only on the BlueFlame > > nit: different Thanks, Jason/Doug should I resend? > > > WQE. By checking whether we received a completion on one of these WQEs we > > can know if BlueFlame succeeded and whether write-combining is supported. > > > > Change reporting of BlueFlame support to be dependent on write-combining > > support.