From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77852A00C4; Sun, 13 Feb 2022 12:26:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE9C04067C; Sun, 13 Feb 2022 12:26:41 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id C862B4014E; Sun, 13 Feb 2022 12:26:39 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 859EA3200A1E; Sun, 13 Feb 2022 06:26:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 13 Feb 2022 06:26:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=fsIoddTryJWFK8 EnZKgnHEntP1WXKkD60COwc4T4GMs=; b=Wx0Ai0tWF12EEfrW6vCc4jSnC5XZa3 C2UFwwPNtbjze+kjOHytJUgphJMPk/Av9V51bl6LbPBebS3UlJ0LmqBs7xpIKIvr vyXAsOEJ+LJMQBXG/45XY9y5MYyV6lrvX/q2KITuYATH10DdxPoyoC2Ig+ooSjXX pqXaoK30uTH/kMaRjKvcl/+gjZ4TM/+XFeKN2dZfaiaBcPGakAmsob21f4lCYI4x MSpHHDxrT5kr+nnOghvBknqwgV11pwXR64RRYV7ooXGTBuh7hnsc0VifPtWmApbS SGPuw57rE/bhVKHFQWjvsRM/E/1WSIa3La/vrz0RPNdC1rAXe4f+OuNg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=fsIoddTryJWFK8EnZKgnHEntP1WXKkD60COwc4T4G Ms=; b=P3Pjk2HtnZ/ooKUK0uA/vFT+qX9ipov4irX2D50eizHVrlvKsQYT/JeCH dGqYtF2BUCQ8wfZhlR43s5HTaHvA8vquQJ7xkTvcGRkXDtmewcHckQ5BLt6b++Mk BNZCqutVlG4uUd6MGB1Qhg0eD+DHw3V9kc4lZFt3rPvV9TPP+zJFGUTkP2yKQ4cW n79LbcwFUCNFhefT3AhIExXynhpZ0STZqqiZjSSo0Pom+wevgHO2+sHqLgbMVufD 6V/bkNr/b3/acd6YBeHLZ8T8ZxcvKvZUfpyhncxtLIZ4vq6s91AUJjgIND8J88MM vlhzDVuJq1tRmYnJxuULMRKNuPo0Q== X-ME-Sender: <xms:7eoIYllDbEgDpnCZsMzczCo6QB4PIQpzmyLCv7-JWo5scNmT2oEl_g> <xme:7eoIYg2_nKZSsO92Us1RtMW_33ZXycNOAbnVoA4OzwdOSmwKgbz1_iYTlBk1EPUa6 aYcZ6vOLAwV_0bvWQ> X-ME-Received: <xmr:7eoIYrpevyGnMH5LbBUC7zuhWKgUSvnmzu5AHo29D6zaytbjsUDi8lfjGOHp29c0cxVvfLD0Xh_ZZRRlR8gP> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjedtgddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: <xmx:7eoIYlnd8TEkFMiAGHbvOdX_P1VtbTIT_sDe56pyHLels3fDqz7nYQ> <xmx:7eoIYj35KAnNfHVCL73Gs4bBKDgns1PoMO55CVH3RMcQ3aVjFKOi0Q> <xmx:7eoIYkuJgeHx1Mm3kQaafKpDKvqF7IqSG27YC5q9vkhPcc50sVOQQA> <xmx:7uoIYhARsUbwr0IrBEFAdclZiyNBxboPGCeWdiHKm0vvjXCQAxC01Q> Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 13 Feb 2022 06:26:37 -0500 (EST) From: Thomas Monjalon <thomas@monjalon.net> To: "Guo, Junfeng" <junfeng.guo@intel.com> Cc: dev@dpdk.org, "stable@dpdk.org" <stable@dpdk.org>, "Wu, Jingjing" <jingjing.wu@intel.com> Subject: Re: [PATCH v4] raw/ntb: clear all valid DB bits when DB init Date: Sun, 13 Feb 2022 12:26:35 +0100 Message-ID: <2992509.U3zVgo479M@thomas> In-Reply-To: <MW3PR11MB45875739199D9BB7A5890DFBE32F9@MW3PR11MB4587.namprd11.prod.outlook.com> References: <20220209044716.3709178-1-junfeng.guo@intel.com> <20220210070634.689869-1-junfeng.guo@intel.com> <MW3PR11MB45875739199D9BB7A5890DFBE32F9@MW3PR11MB4587.namprd11.prod.outlook.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org > > 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. > > > > Fixes: 62012a76811e ("raw/ntb: add handshake process") > > Cc: stable@dpdk.org > > > > v2: fix typo > > v3: fix coding style issue > > v4: add ops check before calling it The changelog should be below line of --- > > Signed-off-by: Junfeng Guo <junfeng.guo@intel.com> > Acked-by: Jingjing Wu <jingjing.wu@intel.com> Applied, thanks.