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 4EB2843CCA; Tue, 19 Mar 2024 19:41:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B19C40297; Tue, 19 Mar 2024 19:41:46 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2053.outbound.protection.outlook.com [40.107.95.53]) by mails.dpdk.org (Postfix) with ESMTP id D05C240041 for ; Tue, 19 Mar 2024 19:41:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X82UPrhPwXrNz/9fknH4Kig8eaCHGOzlFLlykNqhn8IdsTrSLaV2iYAAT6kOZLlzvNb/ne3QM0HulPoz4g5D5InZXZ7s2JKsIcyGQ5zMywT9xjP9i6XmgtOIowGTw0TrcLW+05CPR58mapFK8OptE16A/Wd1qOt8le7J687ssg8qish9p/MjEu43xmdwh6DAMn66K5N3QWdAhVPAZu0js8hYR63VUMkLmn5+1SXgtbHtGojYomca71BZWeeGzwU0jHZMErIyygPQl/mueiQ4JUYBpWWx/KvEgVUSK3dHo6eroP8SQP34qG0p+blh1By6WFtNE9+/FK7vXbNKrMPpBQ== 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=BN5boRhk2YI3/SpREANkZBtkcme0rT+u0J+ImaCnHVk=; b=Ecsvcv4ekU8D4UWojZNHOdYtmQvHIWVY32VtNpfr3eZdMxBTARW1uQAEhCEPB7p3+2b06PQXC+E+ILdKGVLpMTUQx6xAUZXfa+nPFR/0RTFcZkYHwoHQ2aAQA6yigNWRN/McXlpMQowjEbWEyCaNvBKeD1A6Uj8/8PoFp3WLDa8Cn5NHZTAnK/cxqLfrBUUbgn9E8VxwNyk+msn6SVIh/StoWqb4YvyC9oYw4rt2m50ScLYn0DpH1M9wxwziMuTRuXgoSEV6J/TNlQ2rcG8SuVYvwNs7kyFXMhURTPPKlhymvu6hXrvSWADzK65LT/ZhKqqpLmasSiCLcmcOX8VR2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BN5boRhk2YI3/SpREANkZBtkcme0rT+u0J+ImaCnHVk=; b=mN6VDljb9PvmltlfHLpVMRzIYeLUoCp2r1FDS0M0Mr1ZANG61MIpkwLzFDXMA6w3J6UV+xDndnfybX+FrmjEARMdLoZepZGYNBREbOX/3zgrHJ15FUbkO3i1D6r7EQ/RMmPdyOyzIXgO21+iIGrPKn4wshBnGZNCSFI0qL2/qlE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DM4PR12MB6399.namprd12.prod.outlook.com (2603:10b6:8:b7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.23; Tue, 19 Mar 2024 18:41:42 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7386.025; Tue, 19 Mar 2024 18:41:41 +0000 Message-ID: <9fdafd44-ccd1-4ebb-a359-cdfdd6e3c134@amd.com> Date: Tue, 19 Mar 2024 18:41:36 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 0/6] fix lcore ID restriction Content-Language: en-US To: Sivaprasad Tummala , david.hunt@intel.com, anatoly.burakov@intel.com, jerinj@marvell.com, radu.nicolau@intel.com, gakhil@marvell.com, cristian.dumitrescu@intel.com, konstantin.ananyev@huawei.com, stephen@networkplumber.org, david.marchand@redhat.com Cc: dev@dpdk.org References: <20240116182332.95537-1-sivaprasad.tummala@amd.com> <20240318173146.24303-1-sivaprasad.tummala@amd.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEB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F1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240318173146.24303-1-sivaprasad.tummala@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0440.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::20) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM4PR12MB6399:EE_ X-MS-Office365-Filtering-Correlation-Id: 3ca5c5c9-b079-4789-f17a-08dc484437a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l5zdeHE6fabtZbf2aYdeS8kRfPL08RzGmUgAG4N9yB/6UTS3Gkx/v919E/dUc/2eaykLZE58/o0qURL+TwvmnySejk5RotLeE1U868fL/88jECt/D7j+nONBxL0UeG+YYXtOEFSCmwD4Yb5KwO29eKNJAK+bmGkdzQYd65y0BuXeNKQ9+s3lN54p46VYcvBsAq/mfSy6wO5F2vFrC6qf6ESbpZj/Oemax6/OJKjavEQgU1FyRnB7NHb/X1br2W8sVh7MrLWsAy4FVwszsqZTcA96QdfRWstRuYPKnbJ0zKXob18MNcO0ydy32MlI++maVevr1mdldax2ExLxdsLEIhXSPh5aquZ5lUI5sRoZ0ij5KtY7PfhEO2QumbWCxhooiPH/XhyvekbSnqYeynjiCRhQCVWD6fgk8QfKdShXTOFf3X/jFBvOnALvELmG3pn8fc1atKEnvdj7bKpMecwGo3Y92hZ0iTXtZ34RTAzClMRnUeQm3nkQlz5IbbBR2G/qSWj2/DRLJ8uXCsveMP6PcRSGHSy5I3nQh7jodwXcw/JfSE2zXMkccrOjW7KiLqmuLljmjgWB3UnsElfrBYRK7DvQArHQiyPiEqDId6aLjmp90UR159eLop4lJrHDaIhvXOTP1RY4yzob9xRNvOcfiKBckpjppUXboB7CuL3E50J1myGjmUEHQXjmn5zEshBJCl5MIEIf2VXehMbpXhA6Tg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(7416005)(1800799015)(376005)(921011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Mk9UV254Wjc5dUJzWlBrUzZFWVJNUm1aZVhFOFVpSzZjQXQrR1pnMTArTnVG?= =?utf-8?B?bmVDVUdvOGtvc0lIcjFyZmNwbjZ3YTFzY1lBSjYrRnoybkFnU0E2QUxtOVk5?= =?utf-8?B?R1hodDlkVXBrcjMydlQ4ZzhXNi9lcXA4aXVsQURFSUh2TGJKN0ZGN3FyZlRG?= =?utf-8?B?SGY4alFzcVd4M1R1ZndraG9kMm56eFdtZ3FyQS90ZGV1OW1UOXpkYzNIODlk?= =?utf-8?B?dWFJdUtPUVc4RVpXa2lVbVlWcWltS015bnNPenVFRkdESFcva2xjdlBKQWlW?= =?utf-8?B?NDRRQnRHMkV3YTJMK2R0QXBPQTVseWE2WlJKL3FVazN2dVoyTlIrSTVhdndS?= =?utf-8?B?Q25RRDJNQ1gydWtlczZzL2kxWW5FL2k3TnJnMENGWVlxd0sweSs4cjkrNGhQ?= =?utf-8?B?YjJTR3MwT3FUeFdWN1lscFM4V2FDZit5ZWg4RkJlN3UzS0hZUXBmdVh0dVBl?= =?utf-8?B?RjNnY3h3dWpyR3lOVFZCbDRVci8yc3NEZlFueEpnM3pJZnR1NG1OemZGc1Vx?= =?utf-8?B?ajRsNlFYVE5QMk5vRk1LaU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8?B?Q1RFRytuNUcrZ2FhOFJKSjJxMlQzZk9mNGh4eVlYYXhlRjJ4eUpwSmprWEY5?= =?utf-8?B?bG13VGx4dllTcmU0a3RzV3VXZWFubjFZWUVlVkExUS91bFYwcFpOQW81QUxl?= =?utf-8?B?VGNwU2YrSEF2cWtVMVA1VlViaDR0SlVjS0NhZWlOcDlZZG81VXRheW1lcXFH?= =?utf-8?B?YnpYcDIxSGw5VzExNXcrcU5lWnhJWk05S3B4dnF5R3Zrci9sdUFMUzhtWHpL?= =?utf-8?B?cjM1MDliY0hYRFVmWlc4aGxBRDUxdmlpSFVHaUtSWUYrVlg0NDhnSk9xL3N0?= =?utf-8?B?SStSdFV2UEFrRWhxSGpIY1E0elJQTlp4Zit3dDNTZmRHMEFLcmxPbVNMNk9y?= =?utf-8?B?b3BEQTlXY2RTbUlPdDA5aDMrRllualZaS3J1UlI2UzhxZkxjd3p4TmI1Y2lk?= =?utf-8?B?aVRPQTJSVm8wS2xzUDVYWGRWUHFTalhmQ0JIZkU1ZU9KU1ZGeDkxeGk1SkZR?= =?utf-8?B?dmxDMS9yZWxmbGFiYTRvQmw0OEdzVlMwa2x2bmozdjZjWHh6RndUajhYR0FX?= =?utf-8?B?cjBFYlh2K3lTNXN0elhabHNJQWUyRktQdGhvcVJKOFJ5SzFSQUo5cWh2UTda?= =?utf-8?B?eG9LTFB5aGZoRXQ4ZTAyYmJvMHpBR1g1R21Sa1hNdWc3VjBTU1hKeGZTUkgz?= =?utf-8?Q?6lfxkez9E2PW6fFDfee5/Nxuu?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ca5c5c9-b079-4789-f17a-08dc484437a1 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2024 18:41:41.0391 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v+PBUsbosMvW/VyLiePZhKJxKj5tcr/Y0bbpBb0LmAJzMKLLV2DKEitny0d1pmQ6 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6399 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 On 3/18/2024 5:31 PM, Sivaprasad Tummala wrote: > With modern CPUs, it is possible to have higher > CPU count thus we can have higher RTE_MAX_LCORES. > In DPDK sample applications, the current config > lcore options are hard limited to 255. > > The patchset fixes these constraints by allowing > all lcore IDs up to RTE_MAX_LCORES. Also the queue > IDs are increased to support up to 65535. > > v5: > - updated lcore_id type to uint32_t > > v4: > - fixed build errors with queue_id type > in ipsec-secgw > > v3: > - updated queue_id type to uint16_t > > v2: > - fixed typo with lcore_id type in l3fwd > > Sivaprasad Tummala (6): > examples/l3fwd: fix lcore ID restriction > examples/l3fwd-power: fix lcore ID restriction > examples/l3fwd-graph: fix lcore ID restriction > examples/ipsec-secgw: fix lcore ID restriction > examples/qos_sched: fix lcore ID restriction > examples/vm_power_manager: fix lcore ID restriction > For series, Acked-by: Ferruh Yigit