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 771A3A0032; Wed, 13 Jul 2022 10:33:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DB2D4282B; Wed, 13 Jul 2022 10:33:28 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 2AE3E4069D for ; Wed, 13 Jul 2022 10:33:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657701206; x=1689237206; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=FXE7UC5sy9f7mCpnwyMC27tFvXq6Q9ZFYRF+8ye2JD0=; b=gvDVOchnF1Ejs1nu17aqc64mlsYoTFOQl1z4Syd345zswlaqXkBWkkpj heE1WNVGZc7bT1xHiSqEPS6hugJ8WYl9XP9JxGWUU4rdYbrP7rBLcPhe3 DqEDKiUjZCGjHrWctDAtCL1GXt94sBpF6++Ks1Nx+VJIFBHNLjg+iOKAt FiCxC0SJHT9ZE97PeovCjTlhFTZeJtABwEweNa8WRB99PvULR/GWIJnuD rtuvp7PYykWiEHuzAeiVBofYvQW2/dd7WpS2Hm1lsILg9xXxsp87rVua9 X5s4Y+z8QVQPzVlDHt/ahfNRj+HhlzmPnfkzKc+2dEOMlnxspGUMptYkN w==; X-IronPort-AV: E=McAfee;i="6400,9594,10406"; a="285176180" X-IronPort-AV: E=Sophos;i="5.92,267,1650956400"; d="scan'208";a="285176180" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 01:33:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,267,1650956400"; d="scan'208";a="663272508" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga004.fm.intel.com with ESMTP; 13 Jul 2022 01:33:24 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 13 Jul 2022 01:33:23 -0700 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.2308.27 via Frontend Transport; Wed, 13 Jul 2022 01:33:23 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.41) 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.2308.27; Wed, 13 Jul 2022 01:33:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AwiE+XzaHFXSQt7u4Vb6kwHM7DTkDYmQcPqTF8MjPVVSLofDJmFAjGrFUiSiMTJydRxc7AtS1kd734qJdZtj1fCTbSaM+DBrWHhor/dCV62gQbu92jMJI60nmaqH23Lo+maHdsP8D92/SfVqW8RdWxS4Fr7xfgtsuyOC3B+0F+hW+3XPD0WXXYDPCxgbcOIpIYDvUZFQ0GbcZlArr+nMc2h+MnIjrOrTb0ALUIVBAFqPSxfv9QXGJv2LktoffZqtQe9yZZYr89buHnYEmF5cWnF3YXmk3YOgjTWE20c/oBHyl36oi78pLD9MRSAoY07u8Za2Y0NZdoi94HPYmtJ5Cg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FXE7UC5sy9f7mCpnwyMC27tFvXq6Q9ZFYRF+8ye2JD0=; b=BSD4YrFikUqQw2L4l35PC5tzFldkMVekspuvrDIgHQ16+BgzkcFrfXbv5AMir+6g3/XFovRTl/uJbcIptxHDB+awpkunv/7Nyv7WBtw0EZWNZzIVh8qvmhQFzbUEltUoNZ4znqBZjEaKbqsotHfbxNrZHGQob5N6Fc/ErCz7Jm5F98HjdW+Ee7JwhNsdNmVQ3XZxUtwBZ96DeBDXLLonnqGxUF2GKbNrM6Zi3ackKwZRWFLlpKbD+Qz7EUn82I1mwztc1MMVdFtWyq3hHUOmb4m5h47izPN7l77EntUfrqbEYDBPU5T7I/iynIuCzenFYOnp4b9s7OSpKTAPBa9Brg== 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 Received: from PH7PR11MB6006.namprd11.prod.outlook.com (2603:10b6:510:1e1::13) by BY5PR11MB4226.namprd11.prod.outlook.com (2603:10b6:a03:1bf::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Wed, 13 Jul 2022 08:33:21 +0000 Received: from PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::8de9:6ac5:c3c4:f200]) by PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::8de9:6ac5:c3c4:f200%4]) with mapi id 15.20.5417.026; Wed, 13 Jul 2022 08:33:21 +0000 From: "Ling, WeiX" To: Maxime Coquelin , "dev@dpdk.org" , "Xia, Chenbo" , "Jiang, YuX" , "thomas@monjalon.net" , "david.marchand@redhat.com" Subject: RE: [PATCH] vhost: fix missing copy length in batched copies Thread-Topic: [PATCH] vhost: fix missing copy length in batched copies Thread-Index: AQHYldbo/BpPrZIlLka+an7diKpFYK17+cJQ Date: Wed, 13 Jul 2022 08:33:21 +0000 Message-ID: References: <20220712100447.104162-1-maxime.coquelin@redhat.com> In-Reply-To: <20220712100447.104162-1-maxime.coquelin@redhat.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 03f39ad9-f675-4aff-a2c1-08da64aa587e x-ms-traffictypediagnostic: BY5PR11MB4226:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uBaK8vUIIwmtlz8r/HNinkq6w9Y/aCwtrFYGVKK2X4tcbk26bYBHnWlFnpKcwoTVbz2glVMRvNikN3BT84BEqSAzr/Bk49kqsBvK9xluaG9Tv9PoRYksySCz080vXlbq8/vJzFvxLOWdkvETUwzR8ft+W8+Dk6+Z3Ge1KLa//1TYnoA4yxPnsQMK73+b2zDOc3JNEiF/0HZ1goWyeXdBV4sLkZKvJcoy3Pftsqn/y0E+CuTMjtz8NuZA8+C4KJ8h53dNy213ceAgT+u4xlqcHvs8VvXopSmJFyW5KCpuZqxQxBvHLMGKX8FSKZIWOuS4+KP86IrNhagpFsP3lbe3qPJKjjmGiDWTPxRwRMRUwwSIMCnYY2Uh3cOk8gM/f/IIgd6qvWgVH8GjshsahCdei2PlCNpZz4M7ULnF9DEAW2p2EfvLI5+dRsV4ODEiUSP5jqfj2OePkCsscXSMleYbUFo7u0rnRjaFSJsRzcPyZi5U41HjrqhMoM39X5QEX9H3Cu44dZA7Ey85PLFAG/piogOQ1pCZUdCmw1sqn7lO9pGJwfgcRUR/yVET0DMUUyVXSUrrzMSIyIlEW2SgSu3XhcLjLKJYKEOZB+te8ASADTgSv7X4stuHD5QMXXUnc0ehfrm4nXuX95/vU3SLQdslOJ5n01G05mMfO1g8wY1dvYAXSiE8myXmX9/n32Y2XH6qXy6IJejqd5B6jf9aVNSDk4zRiqfeU6OFqhq9iGJVChxtuWoTsVOHWvY3vvIgNIYb88bHrCwClRpuU9w7ts+Cbd8VC1/CyJwZgbvjvtkD/W7PYRhF4GFDpe/MdtIYYAuW x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(39860400002)(396003)(376002)(366004)(346002)(136003)(41300700001)(38100700002)(7696005)(122000001)(4744005)(55016003)(86362001)(26005)(5660300002)(6506007)(33656002)(9686003)(8936002)(2906002)(52536014)(53546011)(71200400001)(82960400001)(8676002)(64756008)(66446008)(66556008)(66476007)(66946007)(478600001)(316002)(83380400001)(110136005)(38070700005)(186003)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xnChP3iekMSvYR0A2Mpet91nht9Sp7sRs1CkwgiFf3rVhWTw9HHc9qAdN7dT?= =?us-ascii?Q?rdtQ0eErfjUnbXLjl/OLfmUFhj58W8zvW9wU60+odEfYPMY2wcC/W0yiyGcq?= =?us-ascii?Q?lrqgEZPsoUdIPFXp1OOQqMHeCqojf/jVSMEFUG3yNkPU8/KslMth4tjglWmr?= =?us-ascii?Q?J/4y5Iy22UFyIsVmqgSQkFIMk8hkbBxFoM0AXeI89P2JwXaMLQgmWjGi/Ptv?= =?us-ascii?Q?yvv1S14JNpWSJLDCvxjx1y6/sMu/tR9QDj3QOw5wRJr7rU/CKRkeKNW/WfjL?= =?us-ascii?Q?nNkBb8a6LAVwgiefIo3CnZqUR/wRtERHFFLh0fj0KUvQJ5FA/R9ZdSnzdbtM?= =?us-ascii?Q?vsAPudLFT3DXNLz6fpaeD35Y4zhyWLTEQ1VouzlJajMakxbkj+9KPfLQA6VX?= =?us-ascii?Q?F4rr9+FyNJ2y8+NGZyp7EnECZP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us-ascii?Q?cQYTnF9nPbK4MApv5+/ePmKR5BrEOK4hr2BTch4Gs/67/7/DVi992yOMRBoq?= =?us-ascii?Q?8XMSUlIaA65VAiiup7CWLKRI6IHnqqh/bsa5zPSr2e5PsYJ2bpARViPQbusu?= =?us-ascii?Q?1PSRMftRmlT+vkv7nlk7yNGGE3walN1KguM0TIS0NpJ360BH/Rmn3vGkzDwX?= =?us-ascii?Q?fSurmMM5vjaHjw641Y5M9rOcwDsEezcTPmIR8rpkV8cp5G4LJJEexaONX93v?= =?us-ascii?Q?fT/h71WtrElIh5zPatE5ydtG4RCCUkcAVVbKHRiz?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6006.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 03f39ad9-f675-4aff-a2c1-08da64aa587e X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2022 08:33:21.8102 (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: ly3F77W8mX655ILAMJc6B7iLhDdO4spkwDhtRqyK1Xcagodb5egRmf8aEm9YOdbJ8XxTQ+eghiBMyEV6FpOeEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4226 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Maxime Coquelin > Sent: Tuesday, July 12, 2022 6:05 PM > To: dev@dpdk.org; Xia, Chenbo ; Jiang, YuX > ; thomas@monjalon.net; > david.marchand@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH] vhost: fix missing copy length in batched copies >=20 > This patch fixes missing the assignement of the copy length when doing > batched copies in the sync dequeue path. >=20 > Fixes: cd79d1b030bd ("vhost: fix unnecessary dirty page logging") >=20 > Suggested-by: Chenbo Xia > Signed-off-by: Maxime Coquelin > --- Hi Maxime,=20 regression test with this patch yesterday, it does not effect the other tes= t cases. Tested-by: Wei Ling