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 133A7A058A; Fri, 17 Apr 2020 11:26:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5CB771DEE2; Fri, 17 Apr 2020 11:26:17 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 820291DEE0 for ; Fri, 17 Apr 2020 11:26:15 +0200 (CEST) IronPort-SDR: u1EJ00XHzHOK+PHebWZvkEhzJzX69qmSI26qm6jJ7bJyrPiRrWq9YYHQUqtS4lcvl2Y1YastpH b/dHGW083osw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 02:26:14 -0700 IronPort-SDR: Xm6lnHRCNuORis0rBKbQ6Y8kZkD13I9Len48Rn+iLC89qD5atWmqoP4DSgonHRr/xbs7400hDV 4UGvCyvB63fA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,394,1580803200"; d="scan'208";a="428171330" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 17 Apr 2020 02:26:14 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 02:26:13 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 02:26:13 -0700 Received: from shsmsx107.ccr.corp.intel.com ([169.254.9.191]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.22]) with mapi id 14.03.0439.000; Fri, 17 Apr 2020 17:26:09 +0800 From: "Fu, Patrick" To: Maxime Coquelin , Jerin Jacob CC: "dev@dpdk.org" , "Ye, Xiaolong" , "Hu, Jiayu" , "Wang, Zhihong" , "Liang, Cunming" Thread-Topic: [dpdk-dev] [RFC] Accelerating Data Movement for DPDK vHost with DMA Engines Thread-Index: AdYUh8uPQ3eFooe1TrqrGBybiMJ/hP//hzsA//93J2CAAJOMgP//cgDg Date: Fri, 17 Apr 2020 09:26:09 +0000 Message-ID: <89B17B9B05A1964E8D40D6090018F28151277D4F@SHSMSX107.ccr.corp.intel.com> References: <89B17B9B05A1964E8D40D6090018F28151277ADF@SHSMSX107.ccr.corp.intel.com> <89B17B9B05A1964E8D40D6090018F28151277C5C@SHSMSX107.ccr.corp.intel.com> <8e4691c5-3e58-fb5d-f1f5-6b9c994c3949@redhat.com> In-Reply-To: <8e4691c5-3e58-fb5d-f1f5-6b9c994c3949@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC] Accelerating Data Movement for DPDK vHost with DMA Engines 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVlbGlu IDxtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU2VudDogRnJpZGF5LCBBcHJpbCAxNywg MjAyMCA0OjQwIFBNDQo+IFRvOiBGdSwgUGF0cmljayA8cGF0cmljay5mdUBpbnRlbC5jb20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