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 CFFF2A0524; Fri, 8 Jan 2021 08:20:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5539A140E1F; Fri, 8 Jan 2021 08:20:36 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 9CDCF140E1A for ; Fri, 8 Jan 2021 08:20:34 +0100 (CET) IronPort-SDR: uKcM9MD1NJM4DFHjj1zJcLTfsPaL6WHkMbfe+Ude6ppvvzJKcdn1yHdnnQAvqphvyI2Sv2GvTJ bG8dhs+QxFnQ== X-IronPort-AV: E=McAfee;i="6000,8403,9857"; a="157335396" X-IronPort-AV: E=Sophos;i="5.79,330,1602572400"; d="scan'208";a="157335396" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2021 23:20:33 -0800 IronPort-SDR: MEYUhZue8slWqfE2YpxYoEUm9e5cE/RtuvFi2PHIncdby7IRFs00ZQg/oCPUtzZMm+Lz3zp6+4 0YYv0t7p2QFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,330,1602572400"; d="scan'208";a="497777281" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 07 Jan 2021 23:20:33 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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.1713.5; Thu, 7 Jan 2021 23:20:32 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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.1713.5; Thu, 7 Jan 2021 23:20:32 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 7 Jan 2021 23:20:32 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.49) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 7 Jan 2021 23:20:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fhRpOfhNvyRiewzV/EDd7jlIBzFFcjWNQ4QuWOxy4T/N8H06Lh3Pjn/itnYwTEu+8OUx5gpBkG1U8x4csxuKg6MQ/AEBJSb2lf1JwMkvKDT7NSoytZjzC5IxZfGbeCoGcSAFRIy218Q8eAm/3EdPZX3FJpfS0d6/9t0DrqKbwIm7aUtpCDrUWCq0ThwgGetb5x/oSRKJuNnm7T0+9WGj6zJnGvO7wYa1fdTJX/Aj7XUcqs5J+W6ODl/7/pJbz5N7UJTxmo0QN6APPn2C2a9Cr7n//IVWd6upzZE5r1ju2ZkJWDlT4dSJOkIYB4u4zzFaF+5HA43L8KIQ+hfwYDlCFg== 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=ofT9bwGduo/YVEFFTEUb+uDO6if80ORrKs872qd3mSY=; b=XT6cAMolkOWzkIrWFmAlotb76HutTpV+CXJCVKe0DK279ntVcBtBNbe5gFcxBWC2yEOmt6gGhkhZKyDDsRdb0AXtoiSHgIyCIJwyZuPvQ6/qK+h1nrR8+rl2qQ6qxF5cpz2yAr+PZW+PkjwyoZUM67anD6xe9gJJm/39k1ZTHkJ05Y8e+JPdUwKtoXrCzJA3Kut0ZL0i0mMr/ESC5NuLiauf9EPPq8cqlek3wtVfvSLhxoLgE+5QAoMGc3aTO0zTA5VjPk9BwS6ZIBGI2IBAuaSb+YLqZjib9q79Orqtp7N5fmsdWlk3/ALfl1TiK7yTwbMsH7Y7+qTS82GBTOG+pA== 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=ofT9bwGduo/YVEFFTEUb+uDO6if80ORrKs872qd3mSY=; b=oJW3kjukHvqWcZsPMDTmAeUpRtNlElOBqWU9fpDk500DmJWTF4vrZA5Ag9zHYmyFe1Z2yAyZ+gv42WVnSrBAGd8fpDMEJ2bB6yEgJdsByvB/MSTVYr/iDXlosKYM3cSwXjbFVN+Ffw6aXcZ7tIVumDIWDPMZwGLeEp9fDZTniTw= Received: from BY5PR11MB4055.namprd11.prod.outlook.com (2603:10b6:a03:18b::28) by BYAPR11MB3702.namprd11.prod.outlook.com (2603:10b6:a03:f7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Fri, 8 Jan 2021 07:20:30 +0000 Received: from BY5PR11MB4055.namprd11.prod.outlook.com ([fe80::60b1:f05e:166c:9363]) by BY5PR11MB4055.namprd11.prod.outlook.com ([fe80::60b1:f05e:166c:9363%7]) with mapi id 15.20.3742.006; Fri, 8 Jan 2021 07:20:30 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "amorenoz@redhat.com" Thread-Topic: [PATCH 2/3] vhost: move dirty logging cache out of the virtqueue Thread-Index: AQHW2GpiHuS9DXyFHU+A190N7yfnWqodRT2g Date: Fri, 8 Jan 2021 07:20:30 +0000 Message-ID: References: <20201222135658.53916-1-maxime.coquelin@redhat.com> <20201222135658.53916-3-maxime.coquelin@redhat.com> In-Reply-To: <20201222135658.53916-3-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.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 857dfb5d-c075-4927-b7b7-08d8b3a5e189 x-ms-traffictypediagnostic: BYAPR11MB3702: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: T2R24N7IgFE16OK5uWWjBXecwtgu6Y8C3gzFxjH+OCZHIk/K1y3JJJ7QLKg8cn3hThLufG27swq/qgRDOOYyRZHbyNdXtPFm/m4H8HIlZRG7E27OCPaMJb1Ih6Epv9UfW88lfungVOTyqLibczDXFVZzgX3C6N0yspGAQ/kZUrfEjY7mSTndimv8U3+6rd8ZHyS0R8C7Ki1P449/EyKn4auvcI245JgcRq2nbK06clxggZ5BbjdsSXOMj4MR66C3FiIqGFHJ1poYEXCgogjYJxIe4m6y7Qf7+1FKMx+/HvroIII/Ihn0gRG+rIwHgPBvWwqSGxu3zNwfl1bcEyISPxGI5Z+5pMrj+Z88cUjwW5uYBh3i698RLAKOxw94RX+xqzQ35a0Eh2jGr0xCnrAOdpxIjyRZ/pUFJi8fy3b1iYnjUykbV+TIf49vbZ+yYqd4 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4055.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(376002)(346002)(39860400002)(366004)(8936002)(26005)(316002)(71200400001)(83380400001)(2906002)(186003)(76116006)(66476007)(66556008)(64756008)(66446008)(9686003)(66946007)(5660300002)(86362001)(7696005)(6506007)(53546011)(52536014)(8676002)(110136005)(55016002)(33656002)(478600001)(14143004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?RjlmakwxR0tpcmdlb0JNU2NSWTNDMU5oYURlN0JiUU5sQ2ZyUytGTXBCRUd5?= =?utf-8?B?c2xGQ3Z0YUJvaFJBT2VMNHpvZTVaSWREbmZ0NDVuTHRvL3FlTWZTZi9FSUlF?= =?utf-8?B?Zk5pRmxpSmlWVUp4bGFUZVkwNjJGeGlzcE1iUkFhQjRSbVhPSDVkeUNxQ0hI?= =?utf-8?B?MDJ6RVM2OG5jTk1NTGRTNDVQU1dMdlJod3FQOG8zVXk2YnlTVFcvdDV1ZVVk?= =?utf-8?B?aW5lVE00UDlRRmJsQ1hmN0o4S1dNTHdBMmxYZ1ljZ00wU1NibVZTZ0txWkc3?= =?utf-8?B?dHN1WXQyTXdPQ3hHaDluKzZTWTlEK0d4TTBiM2JhSmtTMEF1L2I0bVFDZUtX?= =?utf-8?B?TzNQU21GVXQ4d1dVUi9FWXlMb1FqZ2RZRE5tak80S0JkQXVvME9OVElvYTNr?= =?utf-8?B?MkZKWmRpeWtVL29GTE9vbTB5N1QycUlkTTRGZmZMZUh4aTRURFZPY3UvcU9z?= =?utf-8?B?SXN0eWtCcThvaGFVU3NJQ3JkNDI0cEUycFp5MFlvSUxHYmE0Nlo4cGdsbGUw?= =?utf-8?B?bW5EOXM2Mkt3cXJhUTZuUldwWXBTWjFsVE1rM3NITWVqYXBUbWFEbWFiT01L?= =?utf-8?B?YXI0U3lENWxYaTlBc0c1WU9ISFEvK21LenRsYUVQb2g1V2lHem9GcnRocFl3?= =?utf-8?B?WUlRNWlUTUVlS3FuZEpVRUg2T3V6WlJMSjFJR3FMRzZsZVc5bkNvSjFjYlFu?= =?utf-8?B?Z00zVmRObjJqUEpJaVR6U3NUT28wa1N0UjM4RTVLaHYvMFUxYVNaWXZ6RzhV?= =?utf-8?B?MjRHVTVkVTR0MjlIcmNqUDZJdFA5ZDcvVEtsUXZIaGVZSXBjd25weU5RekxD?= =?utf-8?B?OE5JbUZWMnpROEptTkJ4RFp1NlpaUStNMEdHMjZLL3ExeHB5R1d6WGw4MWRP?= =?utf-8?B?cjkyVyszWmIwdERZM0VKblRJL3BCbU9JU2NNQ2pqWlVGNm1zK1pvTkJya0ZO?= =?utf-8?B?cG1sMUhvZVRWOFJZdFlPWFI0QW5zZFZpTnFLUGk4L3V0cU85ejcvNUdGbTRk?= =?utf-8?B?WVhCV0ZDbGtrejd5Q0N6azFuekpRL3U0T0pWd0FTaVFsVHVQaEl6SlRTeUt6?= =?utf-8?B?N3I4OFdxMUlGYnZCamFOYlVwK0ZPRFRZcEo0bDNaVmVZVmx0U0tEUVIzTGNF?= =?utf-8?B?S2VHT21talQ3VTdoTm43Y2Iya1pJTGhPclBzbG1JVXZHdkh1SzlBUEcyaitu?= =?utf-8?B?VXREbzNOTHNEU1lOc0hjcnFKeXROZ1JjNGJ4R3JOS3FpTTJqNTFieTVZeW9U?= =?utf-8?B?bjBqYnc3eWVHU1FJT1VnMk1rWEVLejlTTi9vNnI5QXdOekxWZExVWUtSZHhh?= =?utf-8?Q?1g9tfG6xN7dJI=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: BY5PR11MB4055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 857dfb5d-c075-4927-b7b7-08d8b3a5e189 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2021 07:20:30.6360 (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: LHcKyFB7L8REwVJU5Dk54Km9L7e2J8+qscvfc12+AdPxjTm4KJPmMAGUhYzO13Q/yfWD0jyRI+bF+94SixwUjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3702 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 2/3] vhost: move dirty logging cache out of the virtqueue 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+IFNlbnQ6IFR1ZXNkYXks IERlY2VtYmVyIDIyLCAyMDIwIDk6NTcgUE0NCj4gVG86IGRldkBkcGRrLm9yZzsgWGlhLCBDaGVu Ym8gPGNoZW5iby54aWFAaW50ZWwuY29tPjsgYW1vcmVub3pAcmVkaGF0LmNvbQ0KPiBDYzogTWF4 aW1lIENvcXVlbGluIDxtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU3ViamVjdDogW1BB VENIIDIvM10gdmhvc3Q6IG1vdmUgZGlydHkgbG9nZ2luZyBjYWNoZSBvdXQgb2YgdGhlIHZpcnRx dWV1ZQ0KPiANCj4gVGhpcyBwYXRjaCBtb3ZlcyB0aGUgcGVyLXZpcnRxdWV1ZSdzIGRpcnR5IGxv Z2dpbmcgY2FjaGUNCj4gb3V0IG9mIHRoZSB2aXJ0cXVldWUgc3RydWN0LCBieSBhbGxvY2F0aW5n IGl0IGR5bmFtaWNhbGx5DQo+I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