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 71587A0548; Thu, 15 Jul 2021 10:50:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99B694014D; Thu, 15 Jul 2021 10:50:18 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0C8A040143; Thu, 15 Jul 2021 10:50:16 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10045"; a="207484205" X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="207484205" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2021 01:50:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="428720636" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga007.fm.intel.com with ESMTP; 15 Jul 2021 01:50:15 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.2242.4; Thu, 15 Jul 2021 01:50:14 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 15 Jul 2021 01:50:14 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.176) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 15 Jul 2021 01:50:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nDu4rt1nO23dF2k8afKyS9XPZOvBEfThtQmoibsz+wT49hXDcI1qzTwc63aafvNeLWNgNdGVrmCTEALTu7XCE7sCFkmGuExCpIZKHV2Z1+qbiiXxpM9iXNxKDuYZT3bmBXasZHebrHfcc+TxzPjG6DQ94Gt9yUbnjhSTh8Se3JT/dzuAGk7b9v/UyBFbhNBqqELS/sBMCStQx/vccdle7c2hePIORuSaDJl4Kac1OQHWN8Of2C2+hYdyq4H1ZeWPKj8qbVS8hR2StOksitTl72moQsm25pqKbL9O/XZU0YAANjCg2okq11wINU69kwPqliPbS2UU7HmH0S3nD8UrhQ== 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=rwABum4lYJBUmxHIHO+18dI4rT1/Z6T75zd+KQr6sKM=; b=Upq5I7NK2VTb/7XfQl/FE0K5lGy+9WjvwzrJnbH7slt/mBzy5Nr51jpGtPKRocz085ktMw9qQyDQg/NWow0NMz690TMyl73hfvN6qnLNvwif76Ni2fmXih3ikA0HnPVJ7nBXBKY596qAdrc8oO3ZYRU5iR2ANv+9JupVzZHJpi5Q+CGICo1ZV69aGavRzyeQdOg66FJuXyIv3VS/E3eBPYsKrcul8MbXd2y/G1xpnoWBt4ekHJQcROhhrfXOD+QijSbAm8iH5gotdkL44kZjlsVWdjNEW8vIv8TbjhMXJW/R+rSBxO+LFCw4MSzJckj0TZVa30guoMG/F5HvdP+MKg== 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=rwABum4lYJBUmxHIHO+18dI4rT1/Z6T75zd+KQr6sKM=; b=c+XMPm8+M8F5+YCEed95TTMr20uowBdlU67UBeqtWEkGbaC5y+F4iwWk/5ccvWaif2xaanb4jFLHS3IgND8gqd2DSj5isrq6hqD68/W1zFQi9Ws19OWEdX2/3kvX5X1BnwnicV/OpCwpGosxHQrPxM2Varx2A/lSV9fgQK3SNNE= Received: from SJ0PR11MB5006.namprd11.prod.outlook.com (2603:10b6:a03:2db::22) by BYAPR11MB3256.namprd11.prod.outlook.com (2603:10b6:a03:76::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.23; Thu, 15 Jul 2021 08:50:10 +0000 Received: from SJ0PR11MB5006.namprd11.prod.outlook.com ([fe80::2005:352e:369a:e5f9]) by SJ0PR11MB5006.namprd11.prod.outlook.com ([fe80::2005:352e:369a:e5f9%9]) with mapi id 15.20.4331.023; Thu, 15 Jul 2021 08:50:10 +0000 From: "Jiang, Cheng1" To: "Xia, Chenbo" , "maxime.coquelin@redhat.com" CC: "dev@dpdk.org" , "Hu, Jiayu" , "Yang, YvonneX" , "stable@dpdk.org" Thread-Topic: [PATCH] vhost: fix index overflow issue in async vhost Thread-Index: AQHXc+h2faaqg1lRcUGajiRvjLd3V6tDwViAgAAAf6A= Date: Thu, 15 Jul 2021 08:50:09 +0000 Message-ID: References: <20210708104432.46275-1-cheng1.jiang@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2015e720-7543-4c8f-11a0-08d9476d8d86 x-ms-traffictypediagnostic: BYAPR11MB3256: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2331; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZObGqKIh/Be3mtat71osP/craEMqKDt/appHLArsUGKrQ7PWRAiPfDsIgymQcUwNhVg+UrfBveLN14H/0aApDrjNbKq3v1LsV7+cnYKxN7DlUmr1CClO0vhlJJDVno4/qOnWo5oG49KR9EBiqMin+fnE5U2yRs9hfXaOnnOz3O/QcQXWqN0aSLbdvI9UmKAbjuk9Z9Ifn/5SpQ2t/WLHeL2Z0RQ9VzrKJ02fUOBh2SAXNKZSiPfyO0Qjt2ZvopG5bnDJbgpGFI4fhrsL95pxA8WkAuUJOZugkyuR16eaeocGe2ikC0kx752G11R+WL7/UAKC4L9ly+QclMPG1o4Y+P7qevG0Uee9a7OOlaBWoTxD4TAICp3WvbL2WMVF4cy9P4Bfe2/T6AfK2jnChnuWjvOXar66EG4nfVouAexuk45nj8rYi/dn0laTNx+E6ITngoKeAoZljMKk1Ed/L2s9+ntBFr1yC+yqH6V4nHDTH7eJXaw+ygaWdVvEI+W/vwOqZlyQwcUvfF8YjgOqUohKQW+4JRqI+3aOQyldFc87zYA05A2iffjiLh5iyt6dYuA7BHK5xXSXn0CiFWjx5IKJNCqF01sZMfO+V8DuH8O7cYUM7DnZqmm7W/W2p9gymFCrCtsST43tIoI4M1QzuThQ/hg7xJD7NnaBW0jRj2azrY/s1gchtdJ1L/Ze2iom3i0Rk7AJmyk0Ns9PE9Bt6PMibQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(26005)(71200400001)(86362001)(54906003)(316002)(122000001)(53546011)(38100700002)(7696005)(52536014)(6506007)(478600001)(55016002)(76116006)(83380400001)(8676002)(33656002)(186003)(66946007)(66446008)(66556008)(2906002)(66476007)(4326008)(64756008)(110136005)(9686003)(5660300002)(8936002)(38070700004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WTNmcURZVjBQOXRoU2hxaVJZMHh4SGluNTZhVms5THpJNk9tQXFNMThOVXB4?= =?utf-8?B?d2VWRFM2MUhrdzVyQUtCRSs2TzE3YVRnWFJsbVJ0UlR4NlI5UHFZL3Q4U29X?= =?utf-8?B?Q0xHcWx3WHRLekhkUGtkOG1UNWwxRHVmTENZY0srd1dkRFRXNzY2aWFaeGtM?= =?utf-8?B?TUx0azdCd2FocU1WalpHSnE1VFBVWmZUZVZaRlYveFhzMnFTTVpLRGM5TCtH?= =?utf-8?B?M2tKOHlvY25tMlVUb25zSExXaFFzbmUwOXpwbUhGdVlFL1pza1RPMHE2c3VB?= =?utf-8?B?M1JYcXpQeFhycWVaTVZFdFkwVEwvcm53SG13TGVZKysxMGtKSnhSL2xjQ3Jp?= =?utf-8?B?MURiU1VKZVRWd2cybmxJQU5JYjVtUGp3SS9xUVlUcmdvZXVHRlp4NENaaUxD?= =?utf-8?B?WDF0NWxYN1ZvS1gzejhydzNaUEZMT293RUx1UVJsVE53Y0Yzb0tQNW40cHRU?= =?utf-8?B?L3IrNDVkZlZlRGE5TGdDVFFVMzlMZ1NEWDdUWjlLUG50UU8wZVFGUlArN1Fy?= =?utf-8?B?Qk1kVzN4MEczcVpmamhWcmovaEQybTB1ZmtOaWlGN2FucE5RZHc0cExWUW1X?= =?utf-8?B?KzBJN0lMVkVnY1JudlVoY2U3TGo1OG52dmd1TFExdUI4Q1JMYWhHQUdpci93?= =?utf-8?B?T3ZybFFFaWJ1T203WjZSOU91Slc3QkFIWnhrR1k5MDBkekdnc1orNHRQQmpC?= =?utf-8?B?cGkxMTJkbDhETExZOVpUcmlxM2tnQzlDc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STQ4eXh5bEliaVNDaVZ6a2UrS2VsbGsvS2lOdHo4U0lKVFlp?= =?utf-8?B?cTBneHhOKytmS001c09ZV2hGcjJrNkhkMUlXZS9VNS92Sm1leTU2Zi9lYmhq?= =?utf-8?Q?oXTSuyDWBjJzcxOaKC01LUWJsQWzcwGTezqt+6C?= 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: SJ0PR11MB5006.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2015e720-7543-4c8f-11a0-08d9476d8d86 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jul 2021 08:50:09.9832 (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: U4Ypu8cDmp3VWQ7oTKrAL6LUrwwOeTwr6b13IYKCQmyGNxlqu5Jd7YxCXlSnwuVXTXFSXmSx/T7ibwmmw7waIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3256 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] vhost: fix index overflow issue in async vhost 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" SGkgQ2hlbmJvLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFhpYSwg Q2hlbmJvIDxjaGVuYm8ueGlhQGludGVsLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIEp1bHkgMTUs IDIwMjEgNDozNyBQTQ0KPiBUbzogSmlhbmcsIENoZW5nMSA8Y2hlbmcxLmppYW5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