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 A0E1BA0C40; Fri, 25 Jun 2021 09:26:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8ECA5410DA; Fri, 25 Jun 2021 09:26:50 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id ECE9940E03 for ; Fri, 25 Jun 2021 09:26:48 +0200 (CEST) IronPort-SDR: AClKnJTNQPfVcvPK6Hm6S+kJ4Uciy6Q+LhKG380ZPd7x66p7zKnowAlZC84FsmhmV0DYtq5A9h C+jWMH51lZpg== X-IronPort-AV: E=McAfee;i="6200,9189,10025"; a="268756336" X-IronPort-AV: E=Sophos;i="5.83,298,1616482800"; d="scan'208";a="268756336" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2021 00:26:47 -0700 IronPort-SDR: jMIDO6HE4pMmqnX0UuboDKA3Fcg9ZZfjqPiD0nwQb6hbi7JflhSapnfmrx8QYy4WL5FvuqLc5Y SUTV8X0R2ACA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,298,1616482800"; d="scan'208";a="481773675" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP; 25 Jun 2021 00:26:47 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 25 Jun 2021 00:26:47 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 25 Jun 2021 00:26:46 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Fri, 25 Jun 2021 00:26:46 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Fri, 25 Jun 2021 00:26:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VfQbw89YoWPUMbHPpd6EkADiEKOthZ+TTZJZnF0J63gEBU8zMHEjvUMby5Wf7riY1oqqegdvOF3FvKYGAQ75rNI1qnlwte9RCC2/oqvNvkMzYHnFAY5W8vLZSSDGMeF8Vkl+UYXN3VSlfg5uuLqvvhP7kvvdz5cb/q+CHR/nhy3p7nFXVz2XTs34rWFtRMkbDs7yTASENLeGadVaBsxf594l2Pwi5lLfyytvWHtv1seHqRfJdSeyqnsoGOe/kL6TMJwiBrYZ+N7+lYCmYtXkILbBFrNvfKV2fjVNr9pBv5/ztqFdB0OPLKPdbk1aGvU8Z55U2jAnW9ifIWHfC6g6dg== 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=NPWWuvEBIOZFso434JorpKzmXaH8nabp73zr8swGyOw=; b=MHYDk54ZLvfgxCkbwiuTCOuCMOB5KSmIaecWNGx9qtgYUegFkRK1Hk/e+zXh6M//3T5Wd4JQKydXdbMo5sTwtFtdoAQdCyAetCaoYxaTOKipd13X79+tKVAjAT4+CWWFfE5rh+qIa606BP7QD6wBXN4r0TP3xUNRrupWUQiWliIYPRQuOsMaSvUAYX5YAubaAlcpGdZWtM1GZXadIWY2p5CZmuHhRNcB9lebLIddlMqE484E96MRpvIS2E2d2JZbaNyXrTZadfq5efAh0mn00uKw1lMpxFltFO9cfvBZRSBqHZUYHVHfiouv3vxf9TXc8x0jckyO8CbYhMtOSHJtlg== 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=NPWWuvEBIOZFso434JorpKzmXaH8nabp73zr8swGyOw=; b=MH9X2rEFhPXFE8gXpBP0ugOMuri2o3CMw8iBbvLQu9PqRtjQk0FIe5gzKq9veQytiR+Pnl633fcKc6FB3oxR3A61OBk26uZWfDhjiWLTyanOK0RBjdO1j05Zk7XZE0xB9Tt3Apz6KzmC/1kyTCg34Q5VYoK/zjwKgDMZlTqXu/0= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4728.namprd11.prod.outlook.com (2603:10b6:208:261::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Fri, 25 Jun 2021 07:26:40 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32%7]) with mapi id 15.20.4264.023; Fri, 25 Jun 2021 07:26:40 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "david.marchand@redhat.com" Thread-Topic: [PATCH v6 6/7] vhost: allocate all data on same node as virtqueue Thread-Index: AQHXZErdRikzi9jiwUejaNulCOqqjqskXjnA Date: Fri, 25 Jun 2021 07:26:40 +0000 Message-ID: References: <20210618140357.255995-1-maxime.coquelin@redhat.com> <20210618140357.255995-7-maxime.coquelin@redhat.com> In-Reply-To: <20210618140357.255995-7-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.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e7f01364-c5ba-4bb3-9cf2-08d937aa937f x-ms-traffictypediagnostic: MN2PR11MB4728: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3+6j385PsMZoL+PZmzVzx5gkLyMMdRIpOZv/n6H64TmujfIKEJCYdzT3GFIOScbbtCEODf7HQ8hPPHebaY55ShZq6RKqMcCuo1cqExKjTk8NV+YNfby9uhLDS46RRjFMlSs0DEpKIiHQIN1vfW1CEhM9jqeiAHYDnBvewXp9VOk55MJFlISWJPFD/fFY2hBxWE4K3lpHEpYMJEQn+XeHiN2mTi3wvmf5/+d863hEjmv8rkCRQHRqRXY60/udv9PHOrTVYtZujJwNByjHAJ9bVS3JJ+VBAdNaPlw1b3qSGe0E/8NYb+DUyxgTNjwmV09PCploQ5sCtGQ/EAiQpQFX57+UWcIWBQNKrzUqZUvnbN0ncIb/DDrNuG0Dqic+L80K34TGzOBCB0esYE5jQsdJAZc/XBA7JhUePiWDj0NHvjaSRc11fGpIdECJCQVrooL7sIMchOnibhqBCpFrou9ievLjyGk77pNPJo4BbucvkZsqQD6+gYml7p7wI/+CUDcCm+y3H79JrIrrAizWM1Hqt0awdNT49A86vgkGX/QH0dSVpc5JR/40CiIEOmQXuzy7GY+mtXQq1jhtZkpxIIFUms9JyrZhIOy2VbobJDf41MXBn7p4IjkdHGfRcicKbEgIJ0ZtGT9cl0fAe5vJLXc+5Q== 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:(39860400002)(396003)(136003)(346002)(376002)(366004)(6506007)(7696005)(5660300002)(55016002)(53546011)(86362001)(9686003)(122000001)(38100700002)(71200400001)(66476007)(66556008)(186003)(66446008)(64756008)(316002)(26005)(52536014)(8936002)(33656002)(8676002)(2906002)(83380400001)(110136005)(478600001)(66946007)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WHJrcTZFQXRiY3V0WUVTRktFQk1tczAwU3lxbDltN1loYTY2N1AwRjRjamZI?= =?utf-8?B?VHRnSGU0ZlRXTnUvZXhGM3ZpUVBKcUNKWjVBM3FBRnVMalc1TEoxcERyWnNy?= =?utf-8?B?UktKbk9lK0hxQXJVbDlBQU4yMlMxbmJjS050ckZTbjJObUJMOHQxOGc3T2tY?= =?utf-8?B?UWlZTU9YNHBOTTU5YVRzOVNyZHZvTndvN2VubS9NSU5zeit6aXlVWGFWb3Yv?= =?utf-8?B?S0VPMGlHMjM0QXpTejNQeWR5OVlmZUdYNFBwREV5QzhlZVZhMW5yOGtuaTBl?= =?utf-8?B?Y1hWcnM5Y0l6a01zZXFmKzVza2hTaCtZaXplMUwydndHaHZSenNFSTI3VDVS?= =?utf-8?B?K0hjNkpnY0V0TnhOcUE2b1RRVHN1elN1aXMrOC92TFNPcUFyaEVxU0wrVEV3?= =?utf-8?B?RERIbzFkajRDNEtEdi9aSUk0TE90ZUJ4cmZ1Tm0ybjZ2N1hER2g3ZjNYcTZS?= =?utf-8?B?RnBvemZ1UlVYUGNmV05xZjUwb2plVWwvb1o3RFR4VXFUMTVoRmdFV05Neks4?=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diSE9IRXFXT2Izc016bFJi?= =?utf-8?B?SFBqQkxCdjBiZUgrK3owU1JSTEx1V2tHNHNvUUpGRm1IMFYwNXdHRGI2TDBo?= =?utf-8?B?d0YwdVd2elc5bkVzbGI2MXRpMXhuZU5wYmdpRDA5S1IvcDFVL3RES1pwTFV4?= =?utf-8?B?RjZuQmR1Y0ZKYXBGWjlSeCtkVHJHeWV0YitPMFVWUGdxcndQYWd6NlNnajU4?= =?utf-8?B?WHRwVG1TaGlLR2JRUVJTdjcvNU1QRXlveXhZMmpsbE9DU0VZenl5YWlybjg1?= =?utf-8?B?L1lVSWtUU2hWWTVGK0Uwc1NPMG44MzVhaVd4aG0vcVNib0dNaCtMdDlmSWhI?= =?utf-8?Q?L9PRdXbUY5Z93N/vnTykGQLMmRb8n/wNB/VGLQM?= 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: e7f01364-c5ba-4bb3-9cf2-08d937aa937f X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2021 07:26:40.6798 (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: CU+cqQO4C20z6q7AAvi8wSBlwe7eR/vL6DB9RCdAxYW8GLXy8eqLifn4DL9k4O79gOJ0jKshChKvz2KaHsLpXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4728 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 6/7] vhost: allocate all data on same node as virtqueue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List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