From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5B864A046B for ; Fri, 28 Jun 2019 03:34:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 148922AA0; Fri, 28 Jun 2019 03:34:00 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 21C6228EE for ; Fri, 28 Jun 2019 03:33:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2019 18:33:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,425,1557212400"; d="scan'208";a="246018300" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 27 Jun 2019 18:33:56 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 27 Jun 2019 18:33:56 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 27 Jun 2019 18:33:56 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.156]) with mapi id 14.03.0439.000; Fri, 28 Jun 2019 09:33:54 +0800 From: "Li, Xiaoyun" To: "Wu, Jingjing" , "Wiles, Keith" , "Liang, Cunming" , "Maslekar, Omkar" CC: "dev@dpdk.org" Thread-Topic: [PATCH v8 3/6] raw/ntb: add handshake process Thread-Index: AQHVK+6o79towhlVi0i2Ic6Aw6NBW6avOwAAgAEQLgA= Date: Fri, 28 Jun 2019 01:33:53 +0000 Message-ID: References: <20190620102147.41557-1-xiaoyun.li@intel.com> <20190626071224.4819-1-xiaoyun.li@intel.com> <20190626071224.4819-4-xiaoyun.li@intel.com> <9BB6961774997848B5B42BEC655768F81146A40D@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <9BB6961774997848B5B42BEC655768F81146A40D@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v8 3/6] raw/ntb: add handshake process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Yes. Thx. > -----Original Message----- > From: Wu, Jingjing > Sent: Friday, June 28, 2019 01:20 > To: Li, Xiaoyun ; Wiles, Keith ; > Liang, Cunming ; Maslekar, Omkar > > Cc: dev@dpdk.org > Subject: RE: [PATCH v8 3/6] raw/ntb: add handshake process >=20 >=20 >=20 > > -----Original Message----- > > From: Li, Xiaoyun > > Sent: Wednesday, June 26, 2019 3:12 PM > > To: Wu, Jingjing ; Wiles, Keith > > ; Liang, Cunming ; > > Maslekar, Omkar > > Cc: dev@dpdk.org; Li, Xiaoyun > > Subject: [PATCH v8 3/6] raw/ntb: add handshake process > > > > Add handshake process using doorbell so that two hosts can communicate > > to start and stop. > > > > Signed-off-by: Xiaoyun Li > Acked-by: Jingjing Wu >=20 >=20 > > + hw->db_mask =3D 0; > > + ret =3D (*hw->ntb_ops->db_set_mask)(dev, hw->db_mask); > > + if (ret) { > > + NTB_LOG(ERR, "Unanle to enable intr for all dbs."); >=20 > Typo? Unanle -> unable?