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 EC43EA04B1; Wed, 30 Sep 2020 07:50:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 426001DA49; Wed, 30 Sep 2020 07:49:55 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 443011D538 for ; Wed, 30 Sep 2020 07:49:51 +0200 (CEST) IronPort-SDR: srIEpvIQTLJahP/flXf0JZd7K9OzQrIGrrxTEepupI6T2/sTLxsqFdWhx0Up6ktSmZyhU2Yrn5 7NXrarxmX1pA== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="226522003" X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="226522003" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 22:49:49 -0700 IronPort-SDR: 91bAwb5SJhs37Qe1GLgQVbbvVyzhItbiBL6NUAq6+g7xNVXx/HUXzFGkLesElkOQEqFEtbk91I YP7eSQ9Lvs9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="457533880" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga004.jf.intel.com with ESMTP; 29 Sep 2020 22:49:49 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Sep 2020 22:49:49 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Sep 2020 22:49:48 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 29 Sep 2020 22:49:48 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.51) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 29 Sep 2020 22:49:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XhZVtDLREVjSWui9RbrQEANqGRzfjDpLr7fWykHLsn6XkFjjYheAFpqvURtgtlDaAOjLJjuBWK/GMgUgvFf8pMXjn1zR7Crvp4H9dmW/z2SVxWL6BdqLL+USxB6jZik+Yc+si/MQOBx7TZGxW4V6FYy9Nq6/xh1NGN33sdwYi8n03nUv2wvK//TuC7DtP3uiPHux8OARJFMIaya92n97UTTslE3PJbQX074EOw3SGzmMwkJRFqhZEqyzr4r+K/7KQwXsXQfXSen/9qWX5HDb1CX35HJEk9v6yMm0tSNZuzwkhDl64CI3whQyBwB/W2nC7qq6XBkfiO7Uk09O5gz0iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F8Q/gDFrkbde1YyuycBeSEj2wbvR4T4/c9SYCfRvzX8=; b=Ls8lluDh+9TMfZ0s2dpGutY5SdJ1z4046H9R4Ty8zBFrfQmxGQ/5pEHqzWRy8UNqXRJLPVt8EY1h5xmTOwCd9h0fDturxxpU1QJsLpNbWfSuEbcrig798qUBfzizPd5y6fBd8Vj/4MxEG+B0pbgB56ytXnsVrCnvCuEzyBOZ/esz7hGsXPYK94BM/WonMXfRZu9D1z0YlqSIWncUiwKMhisqycCvM7jQ2NYbiQrM3I++IbMRT+uz7q6S+OsEtqXxtgQ+d4WejZxF4HVhW1RHa5tcezATezTe5AkeaxGccrZ7Ihii4EQIRR8e74eAzIMzSNaZ0mtBpW9jX/hG84bscQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F8Q/gDFrkbde1YyuycBeSEj2wbvR4T4/c9SYCfRvzX8=; b=oPHa3BtqBQl2SmG/nscVEq6Qx8H+PBICpw6tMkoLPpJkJ1yXDT5AntSALiJwFMNXli+wBkD+Pd051TH8bHuPpiNs/IS2L7JoIA2YqDCvlgPDTDzCQUIr9+LKEcM3JHXUmBADUpGTZ85+4HjjvSQopt9AvOOEeXI+ODs3XNPSuv4= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3885.namprd11.prod.outlook.com (2603:10b6:208:151::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.22; Wed, 30 Sep 2020 05:49:47 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da%3]) with mapi id 15.20.3412.029; Wed, 30 Sep 2020 05:49:47 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "Fu, Patrick" , "amorenoz@redhat.com" Thread-Topic: [PATCH v3 4/8] net/virtio: introduce Vhost-vDPA backend type Thread-Index: AQHWlnuo+ERbWCjP40m5Qq9yyi1BdamArYsQ Date: Wed, 30 Sep 2020 05:49:47 +0000 Message-ID: References: <20200929161404.124580-1-maxime.coquelin@redhat.com> <20200929161404.124580-5-maxime.coquelin@redhat.com> In-Reply-To: <20200929161404.124580-5-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8ab0c028-8d6d-43d5-facd-08d86504a3aa x-ms-traffictypediagnostic: MN2PR11MB3885: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:13; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K16ZAamJwllKonO5FIA4PNiBqeaTiQGC1ruWwYbXtz/Y1UjENwR/NNzkuZ/2DuW9IwjTHGzdnYU6EV9dY142kIMUjACyHUEXQS5v+gCRvfmPaPuNVXid1Gk0gtxOplDON7X1eoeKhv2ArYvcqp6/GeZkUj94d84bBin8L5i3ACDVAoZC84q9eo0c+iUUZR1StBPLZByiUb9vVkv5W8fFsnyCoP1VkuN9o3a1QrSvc86oVhWekCtuDRvyE3Mce+bWsmY42GlDcSjJMLjjrUDfUnWxBxoP0Hw7vi4mPgqwP9uInF/LMVoWpUJwRRZPmW1smdQuBvtzI1eE7USJOkXNB3LcajB8hVheCP6r2WLju5MuGR0CkdmxWYZjAxYMyyrM x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(376002)(396003)(39860400002)(33656002)(316002)(186003)(110136005)(8936002)(6506007)(52536014)(478600001)(53546011)(7696005)(66946007)(26005)(76116006)(5660300002)(55016002)(9686003)(8676002)(2906002)(83380400001)(71200400001)(86362001)(66476007)(64756008)(66446008)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: kk4tAJhTsGHQQWc5JSS8mqPJn7GG8sq/ojWJngfgzxFQVlqXK91IJPMBH/uLGHJ3TpHqFPNiliG46XdXyUk8OgXvDX5T8B+99EoC6RusMLbg3soayFmM0kt+20jbYFXPww73pxaw8Aeuc0V43aDTni6LWvjPwMdc9xc2ReELWeoGq3VzyDReXBQCt266GvxzM6EFGP6Lm4/eqUj3SGg5UlPf7OobqNEHi9Y4By8r6eINvKVRG7eBFEt3ysNrHR8YAiRTBC6UnFqzbpHYVVP0cVvNxbGw1UCVU31qkNxNWEoUX5PTef1y1aoYMAgozUiih/s4IcpU6QjvK0vJT8IQI86CRmXj6vzFzm34El05QG53SljxLrZgKB5Fg6Hfn4aaT+bZZMyBH2qNgXUM+RVySpWBLmhPPHqhQB/vsxgwo+YD+yUiTJpn/t4+oxKQcvAGm1WXhsYnHPkD+LTVbEmLAbMD0Qcs/y22KemDe84GZpFzaLjIXa1g9320LPFBwack/XNvu+UtnK0EzRA9h0zdWav2tJKz4BknMH5Lit/fNd2YQILRQL65dpMz+jTxj35sg01nUv3oNHfKkpjs2lhYWji7VFURUgNXsOpyljOcjmnZk8xlmrdalSCOQalnT/kbqUVrobiLmMt3ScL49cwedQ== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ab0c028-8d6d-43d5-facd-08d86504a3aa X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2020 05:49:47.1901 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xevW8LJhdqylcamNWDGoga85WBNG452EM3XnIi9YF3lcGQC31NLVAbeEdN1FIjavvAlUOAwY8/gHgw37dVrxvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3885 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 4/8] net/virtio: introduce Vhost-vDPA backend type 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIFNlcHRlbWJlciAz MCwgMjAyMCAxMjoxNCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5ibyA8Y2hlbmJv LnhpYUBpbnRlbC5jb20+OyBGdSwgUGF0cmljaw0KPiA8cGF0cmljay5mdUBpbnRlbC5jb20+OyBh bW9yZW5vekByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUgQ29xdWVsaW4gPG1heGltZS5jb3F1ZWxp bkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0ggdjMgNC84XSBuZXQvdmlydGlvOiBpbnRy b2R1Y2UgVmhvc3QtdkRQQSBiYWNrZW5kIHR5cGUNCj4gDQo+IEJhY2tlbmQgdHlwZSBpcyBkZXRl cm1pbmVkIGJ5IGNoZWNraW5nIGNoYXItZGV2aWNlIG1ham9yIG51bWJlcnMNCj4gDQo+IFNpZ25l ZC1vZmYtYnk6IE1heGltZSBDb3F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