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 3A0B9A0A0A; Fri, 22 Jan 2021 09:02:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22902140D25; Fri, 22 Jan 2021 09:02:19 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 670CC140CFC for ; Fri, 22 Jan 2021 09:02:17 +0100 (CET) IronPort-SDR: Ak7fZaYUP9E9n1sROPATZE9nOTZcR8eGgeY/e/TqfK5G7f8JBsZtxeh4k00aZ8ZAoB2qBrcrpW WVSW6cKtYW3g== X-IronPort-AV: E=McAfee;i="6000,8403,9871"; a="178631189" X-IronPort-AV: E=Sophos;i="5.79,366,1602572400"; d="scan'208";a="178631189" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2021 00:02:16 -0800 IronPort-SDR: kszRJ5Dd3RvL9bIl9tB1oH+1btmI5sHzD9Cf11JKSUIpG1bUMi4F2lv/cD51ZurYjlVTocDAEb oWJqaHONsnDg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,366,1602572400"; d="scan'208";a="356851857" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP; 22 Jan 2021 00:02:16 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 22 Jan 2021 00:02:15 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 22 Jan 2021 00:02:15 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 22 Jan 2021 00:02:15 -0800 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.57) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 22 Jan 2021 00:02:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g0Xdd9dp3/qTxTBUKPbUjxtMWmEaQNuDCTRkJIqAg9d4mCDj8QUJ31ZfqopG609e7WcbGBlMEDk1mZGMOt87ThugW8hDbLHE96+v1hulu5xLgrq0JZB74KRnVi49jgSLb1h0sT/2arrHnjj7OoAL56vi9RI+z6m66TL52Pca1ewjpG7JV/7VHtKfOf0jjayw+XFvzNMqECPM3ATKKUXuoTW8ljKAhTYoOYy12nJ3XGNJEkwnO51gq/jFO+/gfEvMAHRN9vQHtC/ZVogAQvNZfHjpEsuFOglY2xkf6C6t9oGQl5zq9Xl/12Zkn9UxbKEIqyotlrzJdzA6D7hidP+hmA== 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=pUzxkRS6Yxu/HNxrJdit1P3aTiY0DR+WERYvJYW33sY=; b=gDRafDuVBAeTTYfG8PMCkp2R4pewOIHyzw1wIIxvhKq3xcURCJYufxzXUI46EcGQwsoiumEQ173HVbLdqRbj7TkMxYrb2fATxJwaLHsQddTL6BfupuOx3olizYG7gkc1YO/adCCwapxWiBrmu60Vwvm3cOynvIEieVsb95M9DHu6uInOpqx3GMRHcsYVeARAfDvTFw+tEGcsh4n9jGXm5PYjTf6OlThMWo0sUx3Bvs93zbQcqJ1G7/vN32vtCO3XgQfyvr953dCmiZfov2liLmBTo74HedbUydmypbXXar3mgWYtf43NncP5Act8r1wM0sY49rJmOSYyqT3tgrNegg== 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=pUzxkRS6Yxu/HNxrJdit1P3aTiY0DR+WERYvJYW33sY=; b=tBvLuEwyVZeTHRJj8pvzpAozzYdiVcHhnvrN84mZiyN9/0Du9GlcIpv2vhfm82tKxPC2kNzvBksqruZZRQsKxU1Y3pdMzg06Le4STBNM1yAyFSd9PhZvohjEx40s3e4AwmuxuTU6e7OkfdQrE1WKLc5aNexKsE1zjONhq1fgjKk= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3886.namprd11.prod.outlook.com (2603:10b6:208:137::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Fri, 22 Jan 2021 08:02:13 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed%7]) with mapi id 15.20.3763.014; Fri, 22 Jan 2021 08:02:13 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH v2 32/44] net/virtio: add Virtio-user vring address ops Thread-Index: AQHW7qn73dtfU7pyY0W9VIITINtsIaozTElQ Date: Fri, 22 Jan 2021 08:02:13 +0000 Message-ID: References: <20210119212507.1043636-1-maxime.coquelin@redhat.com> <20210119212507.1043636-33-maxime.coquelin@redhat.com> In-Reply-To: <20210119212507.1043636-33-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.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3ab3e88d-bf37-4f8c-d053-08d8beac06f2 x-ms-traffictypediagnostic: MN2PR11MB3886: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1122; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t3eFXH7XWRhfD7yJ7YGO2lVRWIMjrjs0PrrUnALAR+4fl6xdFMQhURnvtzwAjTk9aZqcS0N61eKv00ogmbjQYFcC4oodnIUDmVlFipm9f0lrcyAZZL5JiUU1P0xoG6tr65ucbtytLRGJ1uK3bRp03rncGYHfGNia4SxWdc9OGIUmjVI1cUXoMN6eWCtI5JUPQEsT9E3AtYOpi7JCuw1MvJsNd/jOIOSU7zJkOBvlMvou3ik+ayfFULhLJJyF2l/2gvZ4RY97IoTiMejy7Uocl6goruNUhifK+q5mqmDzsRAiSrxFy+j3VykVcod6ajVLGeRMnBzi/v+kqZhLj5Lz1hufif1lk2H875Bgm4vgUMYKA93sT3biskEYJOdo35GIscyBGNjiy04PfmNbew70+A== 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)(376002)(396003)(136003)(366004)(39860400002)(346002)(478600001)(52536014)(6506007)(83380400001)(33656002)(5660300002)(55016002)(8676002)(9686003)(8936002)(53546011)(86362001)(26005)(71200400001)(186003)(2906002)(316002)(7696005)(76116006)(110136005)(66446008)(64756008)(66556008)(66476007)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?OThDWktPMlNhSGNuVlo3K3U2ZHI4NTVjSEY0QzA4TWNCOEoyVHlIUmpBNDVV?= =?utf-8?B?VDVYUmhLRGhKeEpRUjlPZnRUaGVXenhDa08vdGlxRHk3RmEyWmpqb0prMXJi?= =?utf-8?B?UHU4UVVKRXQxall6VnhHcWgyTDVLazM5eTBzQjBFS0Uzb25UUE5pZkl4akVO?= =?utf-8?B?T1F4ME13dkJwYnVXNUxUUTlnM3ZWK0RWSlh4bW5LTHZ0K0N6YzlhTWg0aW00?= =?utf-8?B?SytaN25CZjhDQUpzbExSZDJHdjZrV2YxdGU2aVNKL0kwcWxmV3czY1I1WkJC?= =?utf-8?B?Q2FjS0NsZ3crclRFeHhMMFJqSytiTXdDUFJkWjBGOHJHeW5MOUswaXY2MUJK?= =?utf-8?B?ZkN0ZU9YdytLQXNjM2pyV0kxdXdLT1NhOWNvWDR1Q3I4dDVPUVpyTlJkaFRU?= =?utf-8?B?ZGRkc0h3b0J1MEpjZ1ZoMnA4cGY4bTBOY2NnR3VqejBFWTFkMTVGZjN1TDJH?= =?utf-8?B?TUQ1SVdEN0MyNzFXamVpQ3Q1SGd1cDRic1ZtS2U4aG1QdnA2cUVFYVBkYnY3?= =?utf-8?B?bkpnWWc2N3I4TVdNQzFsY2lHTUl0MGV0a3BQcC9IZEx3TVB3S2diV0E2Q093?= =?utf-8?B?aE4vTWNoSzc2UFh6R3NYcWlRc1QyUW83bEoySnNPWU9oQ3VUNlRIbGI0Q1RO?= =?utf-8?B?c0FwSnQwK2NkNGUwckE0RHRPZGJySTd3VldxT3JSdEV4VDd2RS9MbzBSTzVu?= =?utf-8?B?V1RtM3k5dElQbkVyVkdyMGhHZk56bEdrTXRvWis1ZmVPYnJieW1xYTRwTm1i?= =?utf-8?B?WFVURTJ0YXQ3S0NRdmF3Y1Vad1JsWUdqam55Y1JxRklzWWF0aTJPeWFvVGNK?= =?utf-8?B?TDhSU0hhUzN4bHNDVHVyKzRnRlJkaWNZMjFNVXNHZ0duUU9lb2pUUjlhUUha?= =?utf-8?B?Y0RadGJMTnl0M051Q0tubDVzTFZjTi9GMmZHalpCQUZWbFg1cjEwREZoZllS?= =?utf-8?B?ajladElGemFtMG1lZ2cwRDNmY3kwb0lFMnQxWXZGa1pFYkZDVE9VWE1NMjN5?= =?utf-8?B?TG9QNnNZWHkxVnF6c0paR1Q2b0J2aGpsMVlmVjBWVi95WlZzUzNPaHBESGFT?= =?utf-8?B?WEhlWVhUMUxIYzNjUnNqd0pTRllaUE9PeHY0NjNkNTMweWZBVFFOTVEzSGc0?= =?utf-8?B?d1BrTVEyOUhWajhFMlFwRTZSTFN2RGc3c0hENTgrbHloSGhXQjRPelFvOVhV?= =?utf-8?B?MzI5TU1lY3N0OUpldWk5cXRWc1hYVXFCbDJBYXVnK3F5eCt3TWxaSjJsWTFB?= =?utf-8?B?YjdSaUIyTjFjdXE0dWNHMjVYWG1TZFpubGFOMkt5dVRybXR2Q2RRbGNpV0Qz?= =?utf-8?Q?eHsqQ/jJ2AHZc=3D?= x-ms-exchange-transport-forked: True 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: 3ab3e88d-bf37-4f8c-d053-08d8beac06f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2021 08:02:13.1264 (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: NnF2Nh8Y5v9cMdriZAZOToDx9bntF7JonsAbaZ+pMYYzkUOhaELKY/gjdUAAzU4G3kRwYnNj9R4O2b/rKVFhGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3886 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 32/44] net/virtio: add Virtio-user vring address ops 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMjAs IDIwMjEgNToyNSBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5ibyA8Y2hlbmJvLnhp YUBpbnRlbC5jb20+OyBvbGl2aWVyLm1hdHpANndpbmQuY29tOw0KPiBhbW9yZW5vekByZWRoYXQu Y29tOyBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0ggdjIgMzIvNDRdIG5l dC92aXJ0aW86IGFkZCBWaXJ0aW8tdXNlciB2cmluZyBhZGRyZXNzIG9wcw0KPiANCj4gVGhpcyBw YXRjaCBpbnRyb2R1Y2VzIGEgbmV3IGNhbGxiYWNrIGZvciBzZXR0aW5nDQo+IHZyaW5ncyBhZGRy ZXNzZXMuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBNYXhpbWUgQ29xdWVsaW4gPG1heGltZS5jb3F1 ZWxpbkByZWRoYXQuY29tPg0KPi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