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 8D975A0032; Tue, 12 Jul 2022 12:15:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A87541109; Tue, 12 Jul 2022 12:15:13 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id C06EF410EF for ; Tue, 12 Jul 2022 12:15:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657620911; x=1689156911; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=WE6vezKrF8I6hG5MJ3FusSDBdS3lv74UWSaDUP0f84E=; b=Y6ObCd45SyeldempMPov7zw2KYZE1x9zET5/Q/Jyv5OyVrbDnqxPPSQs GMrFBChzQ+r/rxpHVkLgCrjiGgstZ/0z1Yyoh6SxqgSyLo9Kj13RCMWtX OyGvJ5Q77pBpX1UHIbhpMB/GO4MljrS1VNPa8AcLP8lC5vmp3XUy75jOl snNwL6luoEjlgj/D+1faqtprUd52y/o6YLuQJsvc4dxfSDpNz5iJp4/6T q0zOmLRBhs1QRwpF/no/h1JyYGBR3Zji80C53EYdyQMqM45r5GAIjf/yu yaJmLqCq/9rj8lORO8tya7M1eoLywaaO64uBzE0IWxo9dsj2F1IUUusq8 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10405"; a="265306517" X-IronPort-AV: E=Sophos;i="5.92,265,1650956400"; d="scan'208";a="265306517" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2022 03:15:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,265,1650956400"; d="scan'208";a="599334825" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga007.fm.intel.com with ESMTP; 12 Jul 2022 03:15:10 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 12 Jul 2022 03:15:10 -0700 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.2308.27; Tue, 12 Jul 2022 03:15:09 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2308.27 via Frontend Transport; Tue, 12 Jul 2022 03:15:09 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) 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.2308.27; Tue, 12 Jul 2022 03:15:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hkmuu2lyirrzRmDqCdHZgr4FxtQTFXkZ1s32PvO6ZkctOJ9wOgaOY3tA3IxHY1V8imVj1m060QH0r+deOFYlVsB1msnumO891j0HDvmTqamTGQbutAGlY62qFPawE/I0ioLh3eJi07znfRe415sFtoY5OEMK+9lnWxdrX1ZOuFejQ+DL1OQpjgjmGJkiMoeka0Mty7osDhHzJdfvt8dCundX088U0jLzQvskGSTEH0PDFsC9U2OkSxIDf90DA2Iq5c/nzlyEkTWXiG8APmydc3sm5r6t+eAMxg9mVySUDnSkyKJFRCh08tQSRsItyK1wHg1YzWefXDIn4UG9gsIsAA== 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=WE6vezKrF8I6hG5MJ3FusSDBdS3lv74UWSaDUP0f84E=; b=fhwO5fzra0ti0i62QfTzkNl4FkX1HFo6ZjBrJoNf0bd4cwH2oQl1Hkpj62eRDtWLf69c+BTcEessiS0uxZqtC+cKTRtWq7dSx9eEUgLtA6BmeMQjyG2J/Ubw/jKtgtKZspgx+mAX9+LgyhO9j0TzAsuPMPy0FXgorj+bgpvgsEAMNCILQEqNbTc50i3QoXAWSwud14OAsLhur2ryWOKMC2O6ClsAsTEO6fQo2GnIlAgqLZ0HuJqxcOamSGLxyT/d4FGp8Ptk6Cme88keqpgCzBozam2PWO/nzsxoyU1YPsKhL1zbRWWi6mQB7xc/lP2dIxFjmIhEQ0yVcGL6BUzsNQ== 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 SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by CH0PR11MB5300.namprd11.prod.outlook.com (2603:10b6:610:bf::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 10:15:05 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54a0:2dbc:18b7:2aa9]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54a0:2dbc:18b7:2aa9%7]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 10:15:05 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "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: AQHYldbiuNOqST/bVkqJxbVXqOlGW616g1gAgAAAtqA= Date: Tue, 12 Jul 2022 10:15:05 +0000 Message-ID: References: <20220712100447.104162-1-maxime.coquelin@redhat.com> In-Reply-To: Accept-Language: en-US, zh-CN 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: c8c86509-21ef-40e0-2353-08da63ef6438 x-ms-traffictypediagnostic: CH0PR11MB5300:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Bf10CeXLQa8//As+4I0uaEudPpQvIH18iX7fZCLTowYtjGduOvRF54ZBStHEhNfmwOH06EYDc1kCPYC7Rtwy427JYmOu4JJl3B5qc0yEwJmieG+PaMDVoPOvRBmaZsafvRbEkqPVeI5hOnKww3EA4T0VNhx/WDgfuzdV9l5PkBDmq323HNjk5QmnXdc8Eh91EnS/gWl5GAoTgsu+KSZKfCdAuB89kZ1H2x+le+hr3faap4rfa+TIq3NECs5NKpGbyCraY/QnLi5cTxIIwBFwzWQQsPWtf6Ub4NIaUeqI3MEStbQff0ci73MHhAeVYojRCW554E+GlQRTcYuDkSZ6urJZokjGH4yc6dfYGjvVPpoPAQaqAQYF+/n5wKoOXGoVU68K9STOpptN1A6W6yMUGJbNbjxvNcUqywdnfp8Z+HRR98HQgnqsZhkytumNNFbUSX1XOXVWgVArz95o1LlR4xILbHvrzWm9j0YXWYBc+tCC1RFNFPlhbexPLzS2g5Pj/ByESRp83QDVukLPE9xodNV97fQ/5LGoRIBadOZOSPMk68HNLAuYBehEpT0FfrKYxSEIeSNqWcDmggY90QG+4Rf8v80A6BVoWiMiNVrhYUqxIcefFZDGqU2H92G5b/AkpEkiCxSpB7ik4R2zJQ4TYMZ2t6RzapJyfHZgO7/7TcgaJ6M/DxyKVg8TgsLk1cCyOMIkF9c9yekNdUV8iHJHZQ88s1kHF3BPDakJwZqVg40kKKw6qITsjQXy76zNLq5EVKXyn6OZ9obKAEp4VkANMzTwoShLDXL1AzXplZ03UB9r9fWnYU2DAKpucVCuHoge x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(376002)(346002)(136003)(396003)(39860400002)(2906002)(122000001)(8936002)(110136005)(52536014)(38100700002)(82960400001)(83380400001)(26005)(5660300002)(33656002)(316002)(76116006)(55016003)(71200400001)(53546011)(66556008)(64756008)(66946007)(66446008)(8676002)(186003)(38070700005)(478600001)(86362001)(41300700001)(6506007)(66476007)(9686003)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YndLK0s1WEtFaCszMWtoZWlaSDJFb3BTcmxGdUlnK3JVTnRTalhxbHo2emdT?= =?utf-8?B?SEovMVluM1hWVUxZSWxIN0xLR0I0N21kcHQ4UHRuUDJDanFBTzZLVzMvc3V1?= =?utf-8?B?RmNLdnFFcUtra0pheFhVSDZ6VGtKYXNpVndFT0tra0E1cXVOQThqa2pBQmpy?= =?utf-8?B?cHZ0VStOdnZXRDlucUl0dHFtQzN1SUdMU1hzUnZMTjMveDg0ajJHNVdJZS9O?= =?utf-8?B?Yk50SDZ1T3FWNVU4NUh3bnduR3BYc2RLT25MM0RnNFRKZkRINk9hQUFaVkhK?= =?utf-8?B?NTRvODVGZno4aVhEaEREZFZEaXhuZm1OR1E1a3pQTDd4dmY1VkFMQitGRWlZ?= =?utf-8?B?eXd3TDlLa0k0dlF2NStHTTJzRi95Y2tETXZJdldqR3NMel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U4UG9xVWJZbTY1QXVp?= =?utf-8?B?R0VlS2EwaWZoMnZpYjk5NzNFVWoxaTJXb0RkU0xZTmI0MlFCZXNSaDVRam9W?= =?utf-8?B?OSt6d1dKS2dlQ2grMDhtMVhaUUxVcndSNVNYTEZrL2N1c2ZLbmNyTG5lQ0ph?= =?utf-8?B?WGxzWm9GYVVnNlJJaUhMaTM3bFY0RGVHZVBuUkxLSmVCaGZEekI3cFpteUsy?= =?utf-8?B?TlNaK0N4WFZQaGgrV3VkQ1U5R3JFQzgwdStUQkI4d1E4b1lOS0tGQkNUblJ2?= =?utf-8?B?c0VRdlF6T1VteHExdCt1N2hmVnJGWGQ3RDFSdkp6dHVzaU50ZlFldytjWTA4?= =?utf-8?B?M3JZZEptalh4emduWGtSNUIxdnlkNzBqMTk3UVgzbjR6QjdwZlExMVZUWnlw?= =?utf-8?B?U2ZLNm1GYTI3elV4UjJNbGNCeDRJa1ZGdjFreG05aW9HcXo1d283M3NJamJv?= =?utf-8?B?aGc1VjExaTJMSmg1Q0Vva2c2cG9WTWoxYkVYbEx3US9vbmRBYUZ1N3o1c2Z0?= =?utf-8?B?Zys0Y3pKcVdmUTA2bTBpZmJOSlhKZzNJR09RY3Y2bXFjZm94MGpxQVJCV0VD?= =?utf-8?B?cmsvZ2EyZzd1QmJGamxadzhDZ1dzYzN5dE9jaTBTT2YwMllkQ3RWcFBpWUl6?= =?utf-8?B?M3pjNGxscVc4TVlnbFhWZml2SngxUFlwSDdyRm4yandINWhyY0wzNW1sS0I0?= =?utf-8?B?T2xJYlJGZUttL3E2dEl1ekFYL2x4ZEdUMUdEeWdnOXE2VGZ0VXIwYXFxZDdH?= =?utf-8?B?cWFkSm81bUlHdTM1aytxUDlIWk9iaGtzaVFNM1U3dVREQ05oNjRMN3VzS0Fi?= =?utf-8?Q?m1Tl552LEvhFudqgx3V080WII?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8c86509-21ef-40e0-2353-08da63ef6438 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2022 10:15:05.5612 (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: WbAk04ij3QY0+y8oYsbVeTXAM1Jo9i5e/8TJcYzYydAJ827szA2HDiCU11ou3ECAN4QFv+fZqGFaVZmfHw2khg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5300 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBUdWVzZGF5LCBKdWx5IDEyLCAyMDIy IDY6MTAgUE0NCj4gVG86IGRldkBkcGRrLm9yZzsgWGlhLCBDaGVuYm8gPGNoZW5iby54aWFAaW50 ZWwuY29tPjsgSmlhbmcsIFl1WA0KPiA8eXV4LmppYW5nQGludGVsLmNvbT47IHRob21hc0Btb25q YWxvbi5uZXQ7IGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20NCj4gU3ViamVjdDogUmU6IFtQQVRD SF0gdmhvc3Q6IGZpeCBtaXNzaW5nIGNvcHkgbGVuZ3RoIGluIGJhdGNoZWQgY29waWVzDQo+IA0K PiANCj4gDQo+IE9uIDcvMTIvMjIgMTI6MDQsIE1heGltZSBDb3F1ZWxpbiB3c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