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 D8633A0C4C for ; Tue, 31 Aug 2021 18:12:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAD7F406A3; Tue, 31 Aug 2021 18:12:43 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 65DEC4067E; Tue, 31 Aug 2021 18:12:40 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="240765885" X-IronPort-AV: E=Sophos;i="5.84,366,1620716400"; d="scan'208";a="240765885" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 09:09:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,366,1620716400"; d="scan'208";a="531167653" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by FMSMGA003.fm.intel.com with ESMTP; 31 Aug 2021 09:09:12 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 31 Aug 2021 09:09:12 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Tue, 31 Aug 2021 09:09:12 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Tue, 31 Aug 2021 09:09:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aeQ5p/YBtqPMzxqcb9Ino/AxE6i3prkE9qGG8bYKMAp9XF6tw04K8Kv7FteeAodWk+lfkNUiSc01OAXwV53UL5I6R/Xq24Sq75a0zJEHDOWVvjYWQjYnT+3JrhHTu2BJnMBIiO3dRNGs+xF+t1PLcKKzbpJIx1/OQUdKi4yOHsTwMPJQwLCR8p3EICLzMxPDlOnNI91nbBgg9ziDQbjjFN2UTwo9vIe6ZM/VmJ2oS3+z2ToL8hl9F4n8Z8abodbeXwUMEvKyzJA+MLFhrHB2cAszqZ2zpmcD1nq3l51UXE6ZHkG9fN7SKL9Bdiuzwr8j2wOfR1kAEN7hczhWkItGTQ== 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=9jBsqnZx1MTd62K5la52oxKUr6pH5LR2RBiBGyQ8IMQ=; b=QUm4oJu6xmO1EmDa+H2kOQToUnzzqPP8IYqtvpPbSynMJKJjV3IvStCY9X2ENtT9WaxHIDv/RCOFrAbIwV+RPglU+6V4J5t7x1prxt95eUm/1lYNSUc1rLihu13nxtdp1yxy/TyOa+J3ccQAY5sUU8Rmbjeh5gXptC3ODmCCNyREUDvdbJnLIHXQ26dT4rwVPtIipC3fsbRqDiBwcaiGk2VPdx4fiMtQASMDUDGGB0JaRasVc65HrSmGDpRIX+5t4zb7RpHklZA6pgfD0JFPnh2MWdMzvPVwRHT5lo/SATH4a6tB34XTvoW4qDj1kzQ7AxkuP6GsEA6oYSwyiIH5hg== 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=9jBsqnZx1MTd62K5la52oxKUr6pH5LR2RBiBGyQ8IMQ=; b=jJOJmUR/KWMB0ixoesXTOYL/p2+kVK2T1qg5hI0l54l6MP/i/9Qpwy1/lry8wkmj6YZjws1UAI3jXKgHkRI6Z9hSMaE0RHRVyblorLn2jouzdLM9KICn44geTLvPNAON/F5bnqxWPF5Rp4hMvJPlIhCS5WrYCs4TWHrJDnymk2Q= Received: from BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by BN6PR1101MB2289.namprd11.prod.outlook.com (2603:10b6:405:54::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Tue, 31 Aug 2021 16:09:11 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::701d:ccab:5607:daab]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::701d:ccab:5607:daab%4]) with mapi id 15.20.4478.019; Tue, 31 Aug 2021 16:09:10 +0000 From: "Van Haaren, Harry" To: Ruifeng Wang , "Varghese, Vipin" CC: "dev@dpdk.org" , "thomas@monjalon.net" , "david.marchand@redhat.com" , "nd@arm.com" , "honnappa.nagarahalli@arm.com" , "stable@dpdk.org" Thread-Topic: [PATCH] examples/service_cores: fix lcore count check Thread-Index: AQHXnXW9buHGiXM24E2KLTRH8GUUwauNyPpg Date: Tue, 31 Aug 2021 16:09:10 +0000 Message-ID: References: <20210830080412.1548336-1-ruifeng.wang@arm.com> In-Reply-To: <20210830080412.1548336-1-ruifeng.wang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 16a34cb7-92c7-4a1e-ae9e-08d96c99ab28 x-ms-traffictypediagnostic: BN6PR1101MB2289: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dh524DYvoSeYeaVA5hKW6NtaB6ap+K2sEq6TmkIzrzpu+QtYomrGUK8+LXDw3IGcj8W9aMwOG1kpEl6XbhuAhF8o+h0DJ1HAbHy1+7mwuF6H9gtMeKocBmcokVkNFf0EhXf9mLmrOc+srxF1pBptcWcvukAULnLJCJsIrZnur1AAlG2//tpRh9guN9NclG3Lqb1TZTMZ5tL612nqab6/JWrte7TJpmYgBQ30kuYpP/kk7wkUA5gRxTfkHhZ+KT54zbE1sJVLWwWa2OEEdi15Ydf6gg6C8J4Rf2LaBhAtB4jTjeWvCvcPjlshxOEXBu+dqWVSBAVdr/U/pioiqNGb2oek0Ycu5fyDOPWFBVLcZAsWVzmRQxoKz9r8cPqbOBbLfHcVattKd0DlszLqG71DOD5JqqYTlENiIPfV8+yFtiyuQdtJUqsgggfR5SrEjck51bMvWqGLo5v5B7WHqbxDk30gvm0n0+Hgm6/4vgc36QcdYwPsqYkzSJxdQ9h/mH5rCCoWJmzQn26Gz8bcHO5qyOqutvpq1U3FtXCihzsfIfKBgwSONGxx4edXIsZrd/XEy5mUM6ZP+ZOMtaTBdah3Nc3nfXq9iBY3Th/PIm7UcfwT1AJ1Um5nIZNMs2BN80GJc+qOBtffeLs7MFJKM1Wg+R0RVC0lwbXSI2wAFpnkFnHUwN1RbbaeJMU4psn+3niqP09Bmcjt9GFiBvaeGtuzRg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5712.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(366004)(376002)(136003)(39860400002)(8936002)(66476007)(66556008)(64756008)(66446008)(7696005)(55016002)(66946007)(5660300002)(9686003)(6636002)(6506007)(26005)(186003)(76116006)(122000001)(4744005)(38070700005)(71200400001)(2906002)(52536014)(53546011)(508600001)(86362001)(110136005)(33656002)(8676002)(4326008)(38100700002)(83380400001)(54906003)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?yNxBFMm3zkxm8ATc88jmGwt95+3bPwAc5+zL74cRPxquhfEjEZbW9+N+vdVY?= =?us-ascii?Q?13aUJPaOWTXyXqsY+oDJYutldzfVBdnnvlg0kzd1C2WsNyKV6QSworfEOgOQ?= =?us-ascii?Q?srWLinsLUgPNNj9gzNBZ6IDLe0N5D2mVeooYEjS8QjmNUs2xoa7+gIhIpEgk?= =?us-ascii?Q?O7J2I8/4btLUgB0iqUW9LKWy/oC17td2sm5OGEfb4uukqxFwWHvp5F6uGPs3?= =?us-ascii?Q?ZYJAZ29yME79RS1A87VFqPtWc/D8cCmLVn2mgnIXkgjEKr3fM6I5Yfpo2BDq?= =?us-ascii?Q?NwwI3ltWodSzNwLvK4iUGlytI72+PrfzwefJv2rOyiNI5UquRlM2a3ZjBjOu?= =?us-ascii?Q?7cnZWuN5KnGsrDHkSuOCm+GZcyjwxDVxuvWR3+aCItouFE4t5T/K4kOE1leV?= =?us-ascii?Q?HtrImCemKsRNxoaJxh0I5rI9eHrfadnC/EHCNduBASuqXB6+sDKmlCi6Tn0A?= =?us-ascii?Q?X10XX38hbdqGcSB9YHXgIkaJXYuWhgA0GsfqxGwko+/UwRE1g4Sx4kxkDRVX?= =?us-ascii?Q?eztkydVIN5QdFdfQ1RR8sYcrNaqEuTsowyLWSfK+Pl/0/iPo+8paTscrFt67?= =?us-ascii?Q?rUUdTa+v3SdsJGCM3qrUdlrh2Ez8niRneLUFu+0hGab8y6xECEGkPe/GO/j7?= =?us-ascii?Q?cm5o2TZHMTB61SjqZp6Vcv8V5qc0NYkjtg0hO/UtHUyVcQDFxAH51D1w660U?= =?us-ascii?Q?7sMJ+f30EOihApfqkV/wqjS9CJ9G95aZ5aumQZvkzbtVngHO3isFk0My4i1S?= =?us-ascii?Q?V6K9XIEgPyaZqlaF15/D6HIi0cOrnLu4l+gjWRJFUB5Lfd9EHPNGaBsrtnWb?= =?us-ascii?Q?CCTRend0+bHNaN3+QEy0QAry4F6d9FwgQKqbvHgfqFZQ1D9b+dhYPI96O14E?= =?us-ascii?Q?NEJk5cFq1MpuzaMv7HgnKAciMoNvKsrd0TUUooSqeiB9dECr2z+7Igd3NAWC?= =?us-ascii?Q?2FZK/P1C5L8lmvA74Os99xaXWR9BnUH9dxNIHPYibMmqexQpNSS7+3DlpKrB?= =?us-ascii?Q?pjvYtresfvRBisL2PFytBUqWaf/lCAInBkXz9bodpsHj7W2p4fYmi5Pte0n5?= =?us-ascii?Q?F0GHaplcj+sxGyhVbwKtT+1P0JE7uBvJTFb1+4XcMCWCmMWzc1FosgruCxC+?= =?us-ascii?Q?pbEjMn4qor1IR+ujoqym68jFMB8NnrLKgbeOrWnEPP1qmxDmFMfKvuDUn0rY?= =?us-ascii?Q?2AuUU/IzNmVQSKFFOoNqWfCoWV5FBIIp/tdbbQUWvaCdwOblFoC79EyrZ1OF?= =?us-ascii?Q?qeagGU/H7HS6YFxQ9gIJ2PJ2f3gZtMCj0xbU8ctZR5/zAQlCmnIWJRDipIRw?= =?us-ascii?Q?Qmo=3D?= 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: BN0PR11MB5712.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16a34cb7-92c7-4a1e-ae9e-08d96c99ab28 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2021 16:09:10.5876 (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: cGaERln7RKt9cx8qlZgcp1BMOcnNiMgIbdr4tfHANyMW/qfSStN0P8NTv8gHFjpU3J679p/t94kAf7ZhRYQK0v3Emp2/BTp0GXg8auo89e4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2289 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH] examples/service_cores: fix lcore count check 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 Sender: "stable" > -----Original Message----- > From: Ruifeng Wang > Sent: Monday, August 30, 2021 9:04 AM > To: Van Haaren, Harry ; Varghese, Vipin > > Cc: dev@dpdk.org; thomas@monjalon.net; david.marchand@redhat.com; > nd@arm.com; honnappa.nagarahalli@arm.com; Ruifeng Wang > ; stable@dpdk.org > Subject: [PATCH] examples/service_cores: fix lcore count check >=20 > The example has various profiles to run services on specified > number of lcores. Due to incorrect boundary condition, service > can be dispatched to a core that does not exist. This puts main > core into endless wait. >=20 > Max available number of service cores is all detected lcores > excluding main core. >=20 > Fixes: 7f6ee6aee717 ("examples/service_cores: check cores before run") > Cc: stable@dpdk.org > Cc: vipin.varghese@intel.com >=20 > Signed-off-by: Ruifeng Wang Change makes sense to me, this was introduced in Oct 2020 so a backport to 20.11 LTS makes sense I think. Acked-by: Harry van Haaren