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 CFBB6A00C5 for ; Mon, 24 Oct 2022 03:41:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A973240A89; Mon, 24 Oct 2022 03:41:41 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 3E85F40A7E; Mon, 24 Oct 2022 03:41:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666575700; x=1698111700; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=VpDBuMozOpYhVuZJwyjiP+b4tQMZqrWRhP8YjgCsPjY=; b=ICq12g4tgZ5pKBfs8KLshfceLtJRs1qcn5i7D8L5xiQQOd9dUgQll2eF JZbSxqeK0sXnTNOhtS1iUrdrBPLY55j/5wvt+qMaqAwTifQxhfZeMU0Gv RuxKRPlZKrCUykcK3hlf/4Pb5Z5jCSybTrfpZmnmB4AYXH/w2k6hMolHk PUIp7dYqRZKDd7D1EIx+DKT+93orIgzyoRfDzg18gcSsoz+S2fnpiY3Qz 2RC3nyHbx8sPUhqkxqzUHF2U3q4VbusVT74HdYmlKtnY75QvqoDuHMgM0 mCRBWQEQwW3anZL4AyM0m+rVhTPZXauFEyS3gz1WehKnlch64wRh6s7rk A==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="307309765" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="307309765" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2022 18:41:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="633550585" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="633550585" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga007.fm.intel.com with ESMTP; 23 Oct 2022 18:41:38 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2375.31; Sun, 23 Oct 2022 18:41:38 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2375.31; Sun, 23 Oct 2022 18:41:38 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2375.31 via Frontend Transport; Sun, 23 Oct 2022 18:41:37 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) 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.2375.31; Sun, 23 Oct 2022 18:41:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kG8lA31skxYLTvJyqmNLYz6FPs9IBulQVH3XFg65F42OBegmIfsDkHUXKMTUX+FEgk8enHXMeg7iOkJDB87tE1x7mhII1CWa3a/sZYMfhwWdWhPaVjQElclJOVAIDzSN9WZ4qBMN7vkUaovqgfAgUZfohcu7wbsYxqdDXj0TT8Ol/eBk2LRKqqPfA+oLpkBBDaW3xu5XQaOLV+3gF6Ktv2U1TwT00hAej8KhaXxHo2RHvU/fE3KDxyNSrF899TucyoVA6xtS/Jce2eldtrdHpWAcjLe437ilW61QHJTwWJeoLEJfRuXo58uozTh0cyECiy8VcR1O9JzxYjez10IxPQ== 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=VpDBuMozOpYhVuZJwyjiP+b4tQMZqrWRhP8YjgCsPjY=; b=R+rPZGgG1iOVdPS69MPWY25jfswv07TXA3w1yZ2sL9P3kbXbVldy49uRS3HttBU6iC5Z+YchCPimd9iwRXretwzjU1ktYmw5uKUNJPSat9e4eSvrxp6qO8J8cAe/WZYADZs8e+PYwFWRFqHCpT/b72NP7O3GNP3NViaUPCebY0Sg3bCBTLMjxzNpEAr+xPyqALpUDHUA1Lhw5F25MRQHNNB90q+MhlUyQAgGc+Xm27LwWFpcIpcFWJK8G2y7EZvdRzpep3zYxEYICoiNsLRiW4a+Nj12I8PLjzwwkDiPUDmklrzca9206kO5n7mD82Nq8nB3C8ZO3boRyUqK+f4lLA== 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 SN7PR11MB7019.namprd11.prod.outlook.com (2603:10b6:806:2ae::22) by BL1PR11MB5496.namprd11.prod.outlook.com (2603:10b6:208:314::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Mon, 24 Oct 2022 01:41:36 +0000 Received: from SN7PR11MB7019.namprd11.prod.outlook.com ([fe80::a0bf:a414:d7a6:8117]) by SN7PR11MB7019.namprd11.prod.outlook.com ([fe80::a0bf:a414:d7a6:8117%8]) with mapi id 15.20.5723.033; Mon, 24 Oct 2022 01:41:35 +0000 From: "Jiang, Cheng1" To: Maxime Coquelin , "Xia, Chenbo" CC: "dev@dpdk.org" , "Hu, Jiayu" , "Ding, Xuan" , "Ma, WenwuX" , "Wang, YuanX" , "Yang, YvonneX" , "He, Xingguang" , "stable@dpdk.org" Subject: RE: [PATCH v2 1/2] vhost: fix descs count in async vhost packed ring Thread-Topic: [PATCH v2 1/2] vhost: fix descs count in async vhost packed ring Thread-Index: AQHY3SP9330Ecni0Bk2JXFb+/7CPW64YkHCAgARIaRA= Date: Mon, 24 Oct 2022 01:41:35 +0000 Message-ID: References: <20220822043126.19340-1-cheng1.jiang@intel.com> <20221011030803.16746-1-cheng1.jiang@intel.com> <20221011030803.16746-2-cheng1.jiang@intel.com> <1240d2b7-d07d-9861-248e-d7d915f9f89a@redhat.com> In-Reply-To: <1240d2b7-d07d-9861-248e-d7d915f9f89a@redhat.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7019:EE_|BL1PR11MB5496:EE_ x-ms-office365-filtering-correlation-id: feb55f8c-d6d7-4edb-b841-08dab560e2e8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Bynd+UNjpsTjY6AzoGHoEtsjbHWQRP7EqLkxZrCQ5MzBulVZ8GRYx1mp+uABTZI5urjeAImBLaqDrXxQXoVL5cRUCZUJw1TFPToYYoZS1v86q+0AJAnWCxtXN6ezgNVVVn75wRtdr3/OFZhg6WpvuRIdRiOJktvKp/KlvyyC3/BPWhmZv1VPFjNB17amw3fWzeaSOlK9f4Jnr4YiZlsHxMqXDoYgNzTctPbM9gilaK1bANE3A2vTkv+v/QHEfbfGBlRN4yXjeKCX91AXC/dA2jy4HAoewGXii83xPEfUxkQMhngb5g+sYgUsy6dm2XAM+DytNRKKgeUNa5Bb0N9F/ap/NgRNPxw4b7MGSgpekBiACet05cs62v+eiJyS+oFjsOyUp4J+qfmMvLgv8qRA98l2FESJPsSxAu1iZj/MeyB09mPowRSvF5m+9QdXpV57TTwN35FDX6aLMa/KxW8PYisHXjF+TdkdWvdLBUQRbxtu+gtp8YTRxNCy+Ln+vtb0egFytM507v1MB7GSTOeHDjUSOwD7rcZ+/UmfH316tRX2QqTHfoNo8PiwwrPQy8cyLZSF+z0RkpMVQpEzJGFAv/4r+2OPFaUfloaHwDFgwsnTR6w7jERGdEAlN+KkkLxyecX3mv00fALIsRJOtEWTSdlur7+YBoM8JAFB0PWlDuwRMm+mT5CyJjlsw5N4KTzlpo5KX8s/YiusNqzi1f/w4KOaoSdi+HX5hUD0xm3aT3UgDzJV7FwBC55hbd36kgBR8h7KYIteWATiGmgqSm8SAA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7019.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(136003)(366004)(39860400002)(396003)(346002)(451199015)(52536014)(55016003)(122000001)(5660300002)(38070700005)(54906003)(110136005)(2906002)(6636002)(478600001)(8936002)(33656002)(83380400001)(71200400001)(41300700001)(82960400001)(38100700002)(86362001)(26005)(316002)(9686003)(66556008)(76116006)(53546011)(66476007)(186003)(6506007)(64756008)(7696005)(4326008)(66446008)(66946007)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TzlwWWp0UTYwZG1qL1dBYlZMNkEwTktqb0YvUmFGYlhEUGxxTXRVWHZzUnJ2?= =?utf-8?B?UjRxN1IxVkNCcDRBMGRGZVVsU29MckxPblhrOFZJeEQ4TGlqdWdrRGkzdml6?= =?utf-8?B?Lzc2TUpxbWtWaVEvUG4yekk1VE5kdkxwMF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=?utf-8?B?SlVCcVlMRjl6MVlCaFptMHAzVllXeHZzV0xSZElLSll0R0Q1NFh0ZG5oS2tI?= =?utf-8?B?MHZST3AwZnl1U1paakprOEh0THJwMkc0SWI0TG9KUURnVis0QmZ5N2RDazcz?= =?utf-8?B?d2dpM2c5Q1FydFJ6U1F6aXpXSDg4bmNQSk0vTUtMVDdCREtKaU1wMlk1dURz?= =?utf-8?Q?C9mqTMMSMamNlxTp+7pjJXlNR?= 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: SN7PR11MB7019.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: feb55f8c-d6d7-4edb-b841-08dab560e2e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 01:41:35.4580 (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: r5PqwIxnaNDdz23a6kW/ZFMDSgSfB6fUKvbJjNQo6v3QBdPV7CCL7cWFq3AhSjKKXw6v6dcNDnkl29QBZ9Y4cA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5496 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IEZyaWRheSwg T2N0b2JlciAyMSwgMjAyMiA0OjE2IFBNDQ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