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 B49F54372F; Wed, 20 Dec 2023 07:46:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3522A42E86; Wed, 20 Dec 2023 07:46:13 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2071.outbound.protection.outlook.com [40.107.237.71]) by mails.dpdk.org (Postfix) with ESMTP id D1F4142DDB for ; Wed, 20 Dec 2023 07:46:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IXlv4XIgVEPEtH5NILBlJdjc6g5EKY46Q1ORIdEceHVlHRpZc8mtmCnCfuzYrOmVlVEFvlngAxebUBn56e8jioZiDiNXEEXF/Bi2f5Fqo1sGMB3OffG2Evd7WnXLl7bBAH4nI/CsVMCqo4osltoPBbtVV7SKW60jq2EIK4Qr3Bb9IYVix4ph0+/EUylt9wyobtGVi8qlcrx5l/yaP1mdI0SrhTJkjG56bZ5fTRpSBNHZQcb8MY3s+W84HHFOjRLMiZ6q0XinZLyXGhci93+TOipYc1astMsIjDDcElDIPXWwKCnFt/x+sMZunes/JyYC43rNE9cftp/dLa18amKqWQ== 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=1DgWk5mvo0+6VZ850an7bwvlvQQ9IOJGoj3oEQu/nt8=; b=lOF3g+VS6IDfA/5/BRycytUpuVK3m0n+r81PnSsg5oRRVQtltk5GWg4WsYAisc+2/CEQe9LeGXll+ks77T0xDpg3osCxeHQggpuKsCXOXI58kwlFPGWLcp/O5xT0xob6lEjyOpQEOekkF1pNZd0ayRhS4+4xSV7ex3RMWjwofI8qkOCNM00+YcIbsP3HmlLMveFxxxLqV26W0einS3px50T1W++RrHxwxFUkiQ6Wy/403vU5Sml24ub5fdJQJE8kk39qSv5heY995WF7iK0pv2srk0NYbY29mgqZKvRCAQfM8KmCpHr0NebACKClw6UujCHGqxX0wi5vYpcceP4j5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) 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=1DgWk5mvo0+6VZ850an7bwvlvQQ9IOJGoj3oEQu/nt8=; b=jnJHO+97f6g5LeAzJSfIoTQ1jbsQdWZr+rG1JzLkGiii6ZTcwltQu2Tuzc13d4QSYg3Gx1IrLzU8asG4JmkqrLsGBT3ppbM1XD88B2s6MCp2eVrn4Gp56yhnUzhVPmILy8Bcn9kKledtkg3vJ/qoTS3ZTp/QagTo3bZAENUc+JI= Received: from BL0PR03CA0003.namprd03.prod.outlook.com (2603:10b6:208:2d::16) by IA1PR12MB6330.namprd12.prod.outlook.com (2603:10b6:208:3e4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.18; Wed, 20 Dec 2023 06:46:10 +0000 Received: from BL6PEPF0001AB4F.namprd04.prod.outlook.com (2603:10b6:208:2d:cafe::95) by BL0PR03CA0003.outlook.office365.com (2603:10b6:208:2d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.18 via Frontend Transport; Wed, 20 Dec 2023 06:46:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB4F.mail.protection.outlook.com (10.167.242.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7113.14 via Frontend Transport; Wed, 20 Dec 2023 06:46:09 +0000 Received: from ubuntu2004.linuxvmimages.local (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 20 Dec 2023 00:46:04 -0600 From: Sivaprasad Tummala To: , , , , , , , CC: Subject: [PATCH v3 0/6] fix lcore ID restriction Date: Wed, 20 Dec 2023 07:45:02 +0100 Message-ID: <20231220064502.2830-8-sivaprasad.tummala@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231220064502.2830-1-sivaprasad.tummala@amd.com> References: <20231219032826.4814-1-sivaprasad.tummala@amd.com> <20231220064502.2830-1-sivaprasad.tummala@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB4F:EE_|IA1PR12MB6330:EE_ X-MS-Office365-Filtering-Correlation-Id: fd41c9be-ce47-4f71-ed83-08dc012759ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kXos6Mb4De0fs+/uutwQtsStb33BDXeRp3pqQ5yDtirSW+4LcmYZeD1DwGMLUiq4rnA9qgWC5qYK9DuHW1p9/GB6N+7IQdegU/wtMwPgajjtUw4thgYD/MUpSP/wphrVIYrlX3CsTyRXWXnW10PjrZD3UpAS77OFdnHyO18oYu2AdhqhhyuWXjlWWRTTlgi9DKXiFjxVEh2ydWntQGw7s+b7SjBGMcSBty+sIa6pNgnSuxmMQ3HFJzwGG2Eslbqsu4Vms9La3YE1ONUbPrvihbSh9QU5oon2iXIdcx/TTILWFTybmJjkG9o3RVThODAuHl/8mputEL4Pp640wbX85fSfbvZl6zqvfFK3p92v9S9f9OXcrGsDQdTYSzpXQu4bkvVBKL1rQilj1jpSilApU6P65a33rboDAI2153LKn4otBqDwTMV5gMq+4x0gu9hylDcRyGK1nwIOJSEoCOu7fcm6m8hu9XJOnm0uDn/MpKI6c9hpDuR+jEIDRXoXWb7UPDyW1n+49ndzAFx7pZOHC2DPKsKMu/CefnzVHI/yyZWYjAF4sNopDoptPjorcCfCypVAhVZvhdw4u9z8oDBbxsMoMdXx+p20aiHNnFOfJJENNVcQDMNfWINkuY3iHIGgm30W2JSzgIa8vMnuCTejDNZOQmiBdtTq9qYv9y2acWhgn/oDnrerJTyCDMxLRlEiEPanqGsLJglXHzRVeOV3QBLflq4Q8F21xAaoAoMprLn9JJ7OcgyeXbbhOYOrQX19oCdZiAcGoZN46qFiWfu+WA== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(376002)(396003)(346002)(136003)(39860400002)(230922051799003)(186009)(82310400011)(64100799003)(451199024)(1800799012)(46966006)(36840700001)(40470700004)(478600001)(81166007)(356005)(16526019)(2616005)(426003)(1076003)(336012)(83380400001)(47076005)(26005)(36860700001)(40480700001)(70586007)(44832011)(86362001)(110136005)(41300700001)(316002)(70206006)(8676002)(8936002)(2906002)(36756003)(4326008)(5660300002)(82740400003)(40460700003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2023 06:46:09.9287 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd41c9be-ce47-4f71-ed83-08dc012759ae X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB4F.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6330 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 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. 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 examples/ipsec-secgw/event_helper.h | 2 +- examples/ipsec-secgw/ipsec-secgw.c | 32 +++++------ examples/ipsec-secgw/ipsec.c | 2 +- examples/ipsec-secgw/ipsec.h | 2 +- examples/ipsec-secgw/ipsec_worker.c | 10 ++-- examples/l3fwd-graph/main.c | 31 +++++----- examples/l3fwd-power/main.c | 57 +++++++++---------- examples/l3fwd-power/main.h | 4 +- examples/l3fwd-power/perf_core.c | 10 ++-- examples/l3fwd/l3fwd.h | 2 +- examples/l3fwd/l3fwd_acl.c | 4 +- examples/l3fwd/l3fwd_em.c | 4 +- examples/l3fwd/l3fwd_event.h | 2 +- examples/l3fwd/l3fwd_fib.c | 4 +- examples/l3fwd/l3fwd_lpm.c | 5 +- examples/l3fwd/main.c | 36 ++++++------ examples/qos_sched/args.c | 6 +- .../guest_cli/vm_power_cli_guest.c | 4 +- 18 files changed, 109 insertions(+), 108 deletions(-) -- 2.25.1