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 250A7A034F; Thu, 6 Jan 2022 06:46:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF4AC40150; Thu, 6 Jan 2022 06:46:52 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id D691740143 for ; Thu, 6 Jan 2022 06:46:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641448011; x=1672984011; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qYF6+C4voXRihqKjZLnSlirb52tK9g/O2Z/TaZSPoNw=; b=bxugt4ier/gVhmYXEnn/vAYiYNolkyV4R7ZfxDYlDHSxG4cFpwZ8ARTV jWHIYZwMIGbB+1xgnNoMvB67PjhC0VX4n1Oz4c3OyZbQzzQhni74ku3A0 R3MahfCpxUWl0huW30oZx4UNVboXEHWW3QgO3+McmFRnASVkFpUw1LgKN fZFQP9Tvy4E3A7xDb69EFcD760cnJPd9UjY+RWMg/A8uoSsqrmt+7IacK Jt0KyliBAbeeJ3pefAudEAyRMgYWiPudVAgXGsMaIo1DOMSN1JglwmtfN rSSFR6q58uMApgsbNNfsR5ifqi1w7MOF+tiHxuOyVTNJXbMFyV2MB45us w==; X-IronPort-AV: E=McAfee;i="6200,9189,10217"; a="328943721" X-IronPort-AV: E=Sophos;i="5.88,266,1635231600"; d="scan'208";a="328943721" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2022 21:46:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,266,1635231600"; d="scan'208";a="761058444" Received: from irsmsx606.ger.corp.intel.com ([163.33.146.139]) by fmsmga006.fm.intel.com with ESMTP; 05 Jan 2022 21:46:49 -0800 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by IRSMSX606.ger.corp.intel.com (163.33.146.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 6 Jan 2022 05:46:47 +0000 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.2308.020; Thu, 6 Jan 2022 13:46:44 +0800 From: "Hu, Jiayu" To: Maxime Coquelin , "dev@dpdk.org" CC: "i.maximets@ovn.org" , "Xia, Chenbo" , "Richardson, Bruce" , "Van Haaren, Harry" , "Mcnamara, John" , "Pai G, Sunil" Subject: RE: [RFC 1/1] vhost: integrate dmadev in asynchronous datapath Thread-Topic: [RFC 1/1] vhost: integrate dmadev in asynchronous datapath Thread-Index: AQHX30wNb2AKbtvONkGzFOGHvw0mbqxBIGIAgAYmCOCACY2UAIAE7tSQ Date: Thu, 6 Jan 2022 05:46:44 +0000 Message-ID: References: <20211122105437.3534231-1-jiayu.hu@intel.com> <20211122105437.3534231-2-jiayu.hu@intel.com> <61b6c53f-753b-7bc7-9aef-58e706e647aa@redhat.com> <70570834-7e02-5472-ab67-644a3688b0db@redhat.com> In-Reply-To: <70570834-7e02-5472-ab67-644a3688b0db@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 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 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.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