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 8D6BCA0C50; Fri, 16 Jul 2021 09:56:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F95240151; Fri, 16 Jul 2021 09:56:05 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 215E74014D for ; Fri, 16 Jul 2021 09:56:03 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10046"; a="197956837" X-IronPort-AV: E=Sophos;i="5.84,244,1620716400"; d="scan'208";a="197956837" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2021 00:56:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,244,1620716400"; d="scan'208";a="413393061" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga006.jf.intel.com with ESMTP; 16 Jul 2021 00:56:01 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 16 Jul 2021 00:56:00 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 16 Jul 2021 15:55:54 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.2242.010; Fri, 16 Jul 2021 15:55:54 +0800 From: "Hu, Jiayu" To: Maxime Coquelin , "Ma, WenwuX" , "dev@dpdk.org" CC: "Xia, Chenbo" , "Jiang, Cheng1" , "Wang, YuanX" Thread-Topic: [PATCH v5 3/4] vhost: support async dequeue for split ring Thread-Index: AQHXcWWjCKg5mPXiy0mE3SmriPkkYqtAfkSAgAGFJVCAAYt4gIABSjsg///rLQCAAIcJoA== Date: Fri, 16 Jul 2021 07:55:54 +0000 Message-ID: References: <20210602083110.5530-1-yuanx.wang@intel.com> <20210705181151.141752-1-wenwux.ma@intel.com> <20210705181151.141752-4-wenwux.ma@intel.com> <74bd35ee-5548-f32d-638f-9ea1748e8e35@redhat.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring 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 Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVlbGlu IDxtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU2VudDogRnJpZGF5LCBKdWx5IDE2LCAy MDIxIDM6NDYgUE0NCj4gVG86IEh1LCBKaWF5dSA8amlheXUuaHVAaW50ZWwuY29tPjsgTWEsIFdl bnd1WCA8d2Vud3V4Lm1hQGludGVsLmNvbT47DQo+IGRldkBkcGRrLm9yZw0KPiBDYzogWGlhLCBD aGVuYm8gPGNoZW5iby54aWFAaW50ZWwuY29tPjsgSmlhbmcsIENoZW5nMQ0KPiA8Y2hlbmcxLmpp YW5nQGlud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