From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 58393A00C2; Thu, 10 Feb 2022 08:09:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D0B74013F; Thu, 10 Feb 2022 08:09:10 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 8379641157; Thu, 10 Feb 2022 08:09:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644476948; x=1676012948; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=1mEs+2cGcztClYanUJ+mOFPhLbsNuZdV+PZ6PBI316A=; b=BkJsk9zMrEDaI+cOEp1LS/aOLSGCSZ9AcWHVLwM3xZUnJ70zc4nVZpyF S+UvJkDhC7kzqsdVsD67+uQwuRCFunwXJHshz0JqUr7ZyULXkpIwNRTBU cWRf/OOgVUMV2lwB9OuVw2icgJ5IBljrtW2LpX7v5nHCrzSPUpYKE5ajp SVsLtYiXpisvyvZbGCgECxRAz48ejeeZFRNea9ycBxwBnb56GMX8qTD6G D/2jBoupI7WhwOP01+sMTbMi+BHaNyjrJYRaGf/eFK0jmQUSXohkpaGoQ zKFALhsSzECumdQO3rxTKopVIR7GZsPcH+QT8Sr41bL21zmeQMX5idfIq Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="249636639" X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="249636639" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 23:09:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="622575973" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP; 09 Feb 2022 23:09:07 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 9 Feb 2022 23:09:07 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 9 Feb 2022 23:09:07 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 9 Feb 2022 23:09:07 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 9 Feb 2022 23:09:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ho/gZT1Y8XUydfJumiBKRjt6rxwPq+UPapMB6aevsFH9UJ12GU+cWfjemALt61IZiDIrEQfokEWfCyrXb12Cet5xdpvhX0QAQdtjlXXAIWo1LBEEVYwWv4E6J6c9MrBoHGEYKVpftmdtlZqUywEN8pcIKgphWzIfb57cTQ7GLveeReJNpCSpqz66Rxgb3esE6quglzUJ9J6jdIrZ9ygSyvixEKBaa87SDPNHVtLBDSNLI2g0uTSu3Sx8T+2DM0yvgPi9m5EBZP7RTJbpWkWMaK9KKk3ZdqecjlgDD/owGeWTOtuut3JI8ovWL7TGe0YdKik872rFu99clVILtsBpEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1mEs+2cGcztClYanUJ+mOFPhLbsNuZdV+PZ6PBI316A=; b=ntCZUaBhjQ/3yEFIgpILNtw5cDzU8Kx0ryWbNICdpaKWMr4vm51KVquzknSSstSqsLK7LTFYZld8EB2WYVmQyRhugNYsykJxm6odrfU6CIPnDIX4LIf0Xp1Tg5OL6a4K//ueJd+kBWhYdlB7bI+1On9z8Sz2SGKgira7CJA1dIvXrYoBZtzmriH6Ni3zCmhSwOZtQPEEBOZQ179/OZVmPSfyZuil3S40iPrMtdfAuXL2Bfi+eKwGa4hFT2HIOPwBiYOQsmj4Q6YjUTzppcr/LXFFkgjedsnOoQpg9mIyzPivYTcweGnjdbd0I4jU0ksmrJRFO8+bDzANM/dJpi35YQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MW3PR11MB4587.namprd11.prod.outlook.com (2603:10b6:303:58::7) by BYAPR11MB3832.namprd11.prod.outlook.com (2603:10b6:a03:ff::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Thu, 10 Feb 2022 07:09:05 +0000 Received: from MW3PR11MB4587.namprd11.prod.outlook.com ([fe80::cd04:de8e:fecc:6978]) by MW3PR11MB4587.namprd11.prod.outlook.com ([fe80::cd04:de8e:fecc:6978%8]) with mapi id 15.20.4951.019; Thu, 10 Feb 2022 07:09:05 +0000 From: "Wu, Jingjing" To: "Guo, Junfeng" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v4] raw/ntb: clear all valid DB bits when DB init Thread-Topic: [PATCH v4] raw/ntb: clear all valid DB bits when DB init Thread-Index: AQHYHkzP42yUrgrXNEqHVQoxAHLMs6yMXVbA Date: Thu, 10 Feb 2022 07:09:05 +0000 Message-ID: References: <20220209044716.3709178-1-junfeng.guo@intel.com> <20220210070634.689869-1-junfeng.guo@intel.com> In-Reply-To: <20220210070634.689869-1-junfeng.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 73ac670f-5a75-4fa3-cc24-08d9ec643961 x-ms-traffictypediagnostic: BYAPR11MB3832:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7Ekpn8vxhGALAV0Rbb7BzhcRm+iIQJ7qsp/bpcG74Tc2oJEl1ty8HbOZHqZUDYTvn/y0aMPgAbIuHiF77009xSRY3ISRFC9UuK+FxyBV2UXo7L2UDfaA6g+r92iPPlsAkQtbJp1cXI9Kbdhf4ejs5HXJzYBEw1RzHCg7/mH91tsFQo51rCslok6APtojzsBrA+b5einQHcO57FDCT//NKT2Ok7OOLk8aO+nKoUp1QtGgVR+hJ9BI3pVGIyzUxyo8iK2jMgIyKNO8Y+wBZBB1+FvJPJ3wpK5O61MhOLOLPbDr0YVhNGJ7r853YtBjHHu+qNQ977xtYlE5yBI4eeiwTakopGHsBfa9KJfuPMJsbE6v8FikuXkCPI7fSA+p1Rd6jh1E/az6OIBqSQ5jSLf18kDh2adjY9eO02dPvEte9dt6P6kjznahi7o+swEz9I3aOYbRajd1VuRBCRNXeIx4hBhsdKn4BBNujYwfCyygr3Qfh9OaHcRnGMWiyzOl7ZvzB3GA8hUFRAfGq6jnPtawyPx61BvS3c9S4WPe2o6RE1vLFtS7jutJVKeKgiaOKIbV9rFLhpm9De4FTdyBvmtcztJGCWBYBToH1aw8KGsjMqeH07Dsizy9zp/RCsfPWaUIgOCY5dD2aYoJp2SjL+2tc6BDmKRpHiLoTWOYFX6cicSnIvyxv4sxFTAp2Gc6SsdfRjwv0r3zvXOvII9rWAJ1iA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW3PR11MB4587.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(26005)(2906002)(186003)(38100700002)(122000001)(5660300002)(316002)(55016003)(38070700005)(4744005)(9686003)(6506007)(7696005)(450100002)(53546011)(4326008)(64756008)(52536014)(83380400001)(54906003)(6636002)(76116006)(66946007)(71200400001)(82960400001)(8936002)(66556008)(8676002)(6862004)(66476007)(66446008)(33656002)(508600001)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QkJj7DveBYzn73KAB8S2s92epux5KvlH3EvcRHbc/HEiYxExSRJMRspPyQGp?= =?us-ascii?Q?XMjZhUzKQUUJi4zXyhUquv+x76RDQ5Lc/K1tFKzq9gMQwM7ultgqbr/DyO/o?= =?us-ascii?Q?/33MB3r/F2CFqxuo+H/eaMNirSBxk7EEkaNvvu03hikVq08LLPWaFheC6YnV?= =?us-ascii?Q?kcEq6/ajyjcVgrCZJeWSvGElsyk/fHn6EWeJArdax8bQpPJLnToeTz8EqsPD?= =?us-ascii?Q?HevSUtuATRS2thQoFI+IRPcSw9EkSNn25vzPV9yXNWmQkw7l+Qmz89Pv01Hv?= =?us-ascii?Q?Y9jWtRZRkUD67J2gc28bbe5SE6yA0Ow8Pa7ihqwM7/NMkbOU+nEwXpXZ14eu?= =?us-ascii?Q?Xt+bseWm8HiEVOmIW5Md6uMJC0X2KfazBKNAhj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4+16Z95/5B7IfxpcqXYxCh/QNDRSFDyQg2YTHP3MPWSDkOUR4qdP?= =?us-ascii?Q?IKmK2LBK0HdMDNur4y5TyfYOLwUQjTjExbM4BIFx9w7fyvN4mc5qicgUJcHK?= =?us-ascii?Q?v1zO6Qv8ZP58HzDt4pJLTASYYzsAw5XmQBsQwV+RUxf4p3+GKxDHb4qInyv8?= =?us-ascii?Q?iTIOqJI74irP/Wl/d+JvzYIDMqE7TMpYbYP4itHedRAyLDeQNhcG2tzNbzoB?= =?us-ascii?Q?kJ6liOFHBJUh4QipbU7psi2753pGCleiDzPARv63F/zT+X1cwNLh7pyegdP4?= =?us-ascii?Q?6Bt4Y1RSO/tpN0HF/YQRU7PRb12WWxkdx4oF6RZI7gtR6dEq+sXJjk4lVqK1?= =?us-ascii?Q?/g=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW3PR11MB4587.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73ac670f-5a75-4fa3-cc24-08d9ec643961 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2022 07:09:05.1824 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xOoGKfAEmI17yEWJ9mHxkurhYheQSwWUVLRG5xhiiMyDQwPJuSw60JdYicw9rgLTTDyS3eQx43k5Klx2R+1jqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3832 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Guo, Junfeng > Sent: Thursday, February 10, 2022 3:07 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; stable@dpdk.org; Guo, Junfeng > Subject: [PATCH v4] raw/ntb: clear all valid DB bits when DB init >=20 > Before registering the doorbell interrupt handler callback function, > all the valid doorbell bits within the NTB private data struct should > be cleared to avoid the confusion of the handshake timing sequence > diagram when setting up the NTB connection in back-to-back mode. >=20 > Fixes: 62012a76811e ("raw/ntb: add handshake process") > Cc: stable@dpdk.org >=20 > v2: fix typo > v3: fix coding style issue > v4: add ops check before calling it >=20 > Signed-off-by: Junfeng Guo Acked-by: Jingjing Wu