From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 19D65A09FF; Thu, 7 Jan 2021 07:43:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E45A140E91; Thu, 7 Jan 2021 07:43:35 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 420EB140E7C for ; Thu, 7 Jan 2021 07:43:33 +0100 (CET) IronPort-SDR: swfJjKNPUiD71+cZbLt6hFrJehrc0UmJCBIvYw7A0zmWtXdqNTF+hloi9Fg/BYS/etEewO++WI m0phFLC59m4w== X-IronPort-AV: E=McAfee;i="6000,8403,9856"; a="177484301" X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="177484301" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2021 22:43:32 -0800 IronPort-SDR: 3HhQTcH3/5l2SB0Flz+sKGwu0jLbjmr24E74OYe0zVhDkMgUd53viwYccjljmtVmBjYaUo4MlF socaS5iONhrA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="567661325" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 06 Jan 2021 22:43:31 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 6 Jan 2021 22:43:31 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 6 Jan 2021 22:43:31 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 6 Jan 2021 22:42:39 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hwdMQO9+GTe7cnWBKsUZ9g3ECa9zQDA6xjneun8jWWweZ0vJd/rPIF89safLhd5Wb10CGaKpXxZX/kMFV1T06sVcI8QtM2K4PufI+R0ZS4cSV6ZqTFjg2ZuzfE36AmzoxJvwFV0EYyId7bgjr995bJaZwDeN1LYgFtbq7cfwGSIF/f8PDv/NhcCFGV2AyQI3Azxt3TtgPjEyac8IZZW0DxpUEUQeoBUMf5sYcWV7Fp/woNQmYWDOe9vzEHNkqCK9EGzIo5GWhuySWUQ5g4LA8ZPodwX0AAsAJq5Vtkdm1F3WXHoPTdVbH0ExPljt9CtI9s79U5d0gEDXzhyS6csr6w== 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=66VLth5WJlEbEWIiNOKgfGjL75vFwtW8cdS6sTRVNPQ=; b=WQCsT2phxFB+aap7Rr5p6yn4Nyq3iZXR6vdy333rdO1icqJrjn2YTiaLGogLq+cRntK/v8HaESyNb3JG2yzIg6YFTwtPNBMetHzWylqJ58DAZmvvkho7/OUKSXTxVe2u1Lnk1k8bvX/Tsc4LeNGpk4k1Qy4ws/N9g0oa+keu9yZ+8mPJLbgvMJAMb6QivJuqZF2Yre8pmzYRR/IO0vP19fZcd++d8n5LnT+Hvr/WeEdv8T4M2AUVbb0bHqnjzkipVPywM1tGCqe/zbFDen2zPnyWi+VDOAK1p2hM6KEwSlwF45QVeNtwpk5xCyGan5S1kD7EWCs9PeRkaO6vLpLWqA== 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=66VLth5WJlEbEWIiNOKgfGjL75vFwtW8cdS6sTRVNPQ=; b=T+mUTDuk/sy5mi5lWqdEvax/8rRwCuWLAHXEdssg7FPYAPQHYqnOdBfAk5C/PrZRTF49qnYzBmFcjMNaJou1NoSHPVPL8+C479BpNk8BTahkAJs5Or8nDET917d8Kcyg8cR883fXVLEpbQn8bEHBLZWRy1sVHgkT0kAhNCKSpwY= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3598.namprd11.prod.outlook.com (2603:10b6:208:f0::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20; Thu, 7 Jan 2021 06:42:38 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272%7]) with mapi id 15.20.3721.024; Thu, 7 Jan 2021 06:42:38 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 39/40] net/virtio: move Vhost-kernel data to its backend Thread-Index: AQHW1xV1yYHjIG3YhE6DvmMjbLNmE6obz77A Date: Thu, 7 Jan 2021 06:42:37 +0000 Message-ID: References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-40-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-40-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.55.46.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ac092dc1-be63-473f-3036-08d8b2d76c7f x-ms-traffictypediagnostic: MN2PR11MB3598: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:256; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VRp+UEqAP4UZFblcgDOMrPD41Np2YFMtocm8UuveI85xsr15+hmpQhcRJIChcYgeKfII4AevKCcaQBFW/RI72005mRjV+HGTAXYQtxsNiyxL2t37dyh5u1xacUCFoFehqHh3252d2QVVo5evV+1MPj/G25cfYLbieoVYySWdwTfb1qIilHX+i+px4deCq9Vv1gobXQyXrNhKD69ufiU2IViXhiZ0KfFTlK/sanNO19tAxdIHMLkl/RqhbmGXu+gS8+9I2tm+/HdTMyRihLtDiCTpjrpvpwgNrirQgoV9za0CblbSOMTf2o6Na/TIRySfYKSkB/AkIrQZF8fwEUZRKUVNab5D4WWU7gQzY4LwROdD4TDDN7Fu8HXHlZ/Erz2FhwORA5VbyRpZBTH1mWuRGg== 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)(39860400002)(376002)(366004)(396003)(136003)(346002)(6506007)(186003)(83380400001)(33656002)(110136005)(8936002)(316002)(64756008)(53546011)(2906002)(66946007)(66476007)(5660300002)(9686003)(7696005)(26005)(66556008)(55016002)(52536014)(76116006)(71200400001)(8676002)(86362001)(478600001)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: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rdmRFN1Z5U1pocjZ2UmI4?= =?utf-8?B?Yy9DRjhYZ0V5R3B2MzNNNXFOdkQ2dUFFREgrVlhST0dXcU8wS3dVek41b0pK?= =?utf-8?B?RVlFeUQwb29NeDJUcnZUK2c5cXh6WDhKcHd0bEdOeW1nQlpTdTNCdlJUcjg4?= =?utf-8?B?aTdYMTIwM29lbStQS0FVVTc1MDA3N2EzV3hMRUZ6cDFsVEJzZkxYK2ovQmIw?= =?utf-8?B?aDBpUU9ES0VZY2V3UElrZDZyYUdoSlU5b2NiTW96K0pjUTgwa1NLcDFyakQz?= =?utf-8?B?ODB5SGdPVHRGNEZHTTFTd2hCblkvTG95R2tWSlBBMWNKa2NyZ3BoaW9PcGVJ?= =?utf-8?B?bG9LRGZwSmw0ZkJGK3BhQlgySHBIV1JYajJmT0k5SXViWi9neXNCRkRNbHpO?= =?utf-8?B?Mnd4WWc0NzNEeHQ1WEJRa0lPbGdKc0ZCTGhBSUhaQTdhRjFaL3doa053NzNO?= =?utf-8?Q?XWaBvNvuE7Z5I=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: ac092dc1-be63-473f-3036-08d8b2d76c7f X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2021 06:42:37.9363 (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: BgId2jfXzhRAPMUue67h1m+YIXjcn9a7MWMVmVjChUWCmq9P3eVNpiaw0i2uvvSgzm6D9GR0n9q6WbGpdadHDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3598 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 39/40] net/virtio: move Vhost-kernel data to its backend 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IE1vbmRheSwg RGVjZW1iZXIgMjEsIDIwMjAgNToxNCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5i byA8Y2hlbmJvLnhpYUBpbnRlbC5jb20+OyBvbGl2aWVyLm1hdHpANndpbmQuY29tOw0KPiBhbW9y ZW5vekByZWRoYXQuY29tOyBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUg Q29xdWVsaW4gPG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0gg MzkvNDBdIG5ldC92aXJ0aW86IG1vdmUgVmhvc3Qta2VybmVsIGRhdGEgdG8gaXRzIGJhY2tlbmQN Cj4gDQo+IEFzIGRvbmUgZWFybGllciBmb3IgVmhvc3QtdXNlciwgdGhpcyBwYXRjaCBtb3ZlcyB0 aGUNCj4gVmhvc3QtS2VybmVsIHNwZWNpZmljIGRhdGEgdG8gaXRzIGJhY2tlbmQgZmlsZS4NCj4g DQo+IFNpZ25lZC1vZmYtYnk6IE1heGltZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhh dC5jb20+DQo+IC0tLQ0KPiAgZHJpdmVycy9uZXQvdmlydGlvL3ZpcnRpb191c2VyL3Zob3N0X2tl cm5lbC5jIHwgNzggKysrKysrKysrKysrKysrLS0t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