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 CCB6F4373B; Tue, 19 Dec 2023 04:29:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3947142DC9; Tue, 19 Dec 2023 04:29:01 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2068.outbound.protection.outlook.com [40.107.96.68]) by mails.dpdk.org (Postfix) with ESMTP id A10E2402BC for ; Tue, 19 Dec 2023 04:28:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jfy0xqWW42atilM2kuQ2Y5xsDmjtK/UIP4oDvqBzuW8NmOs+BVbQYlX+pAU1kyPRdvKooIqjgV7CKKfIh9YMxIw0KDvOnSHlY/cKoT8V187EmW1j9MeTNoZFtek9iFg68HlBGDxrBPMX64slvHjwkTKgsVlkolggEhpiHK+RD+OdrqzIcAo9bcfAGuNZDoXBBvDLBf0UKL1MJgn9Grdz26UE+SUWiYplud85QgTSs+hvYFH/N8jfhkUzaHdFLLYVwdVeffG8PW2geDFMye7EBpRalx4hYbQgjEr5L6wBhutGn7vu5lcEFm+/zxTg5VDjoCnjC8h3/aaia5D6e5kaYQ== 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=UmOa3NUMIzTjD+u4J4dFlA6LMqWic86uGfT92EdU8g4=; b=VVh+1KGllMPFLviFQv5mSzCl/AiXgpFVLUNNfC2FpGKhcQbx+J46cu6veSkB013H8d5B9PWbpUgxcF5keaUg4yjW88P90AgmZHNH0zYff+2lDiEczKrbgDrdSUQp05mdnpcVQMoKO4SRDlHBBfpSmNs/ZlGE+A90QQ8wmo2Qvhc6uYelYXwSaH8ds+9tHqnDdpdBHMe5ChL2M/6sdNohiGkL/KuzUN/S2IlfmruSk1ynxGbz1YG0F8WEVM4uxpNkEBDPyYVFjzkIq6Vl0UuvIamzGGn4hm059OmBweLV/cIcoT+7prgRS23bPvp/3xys4gXy3qgyT2yDbrWjDFM2DA== 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=UmOa3NUMIzTjD+u4J4dFlA6LMqWic86uGfT92EdU8g4=; b=Ns2Ty8KkQgZ/NM5l1EoBkH6Umol72zyJ8NFvRpcebed2nEZZ43FGKxR6Fb74lcTw1keHg7JIXUPAE/l7BvthUozFEk7M0x9+OfgbZ4fkHp+c1eBAIsPCZtSHWGtZFv7fYwFsBZegxx7dh3MRd3xrLA4/49NebI1ZGe/mB8vupSg= Received: from CYZPR12CA0007.namprd12.prod.outlook.com (2603:10b6:930:8b::25) by IA1PR12MB9029.namprd12.prod.outlook.com (2603:10b6:208:3f0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Tue, 19 Dec 2023 03:28:55 +0000 Received: from CY4PEPF0000EE32.namprd05.prod.outlook.com (2603:10b6:930:8b:cafe::6b) by CYZPR12CA0007.outlook.office365.com (2603:10b6:930:8b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.38 via Frontend Transport; Tue, 19 Dec 2023 03:28:55 +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 CY4PEPF0000EE32.mail.protection.outlook.com (10.167.242.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7113.14 via Frontend Transport; Tue, 19 Dec 2023 03:28:55 +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; Mon, 18 Dec 2023 21:28:44 -0600 From: Sivaprasad Tummala To: , , , , , , , CC: Subject: [PATCH v2 0/6] fix lcore ID restriction Date: Tue, 19 Dec 2023 04:28:19 +0100 Message-ID: <20231219032826.4814-1-sivaprasad.tummala@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231218074905.42749-1-sivaprasad.tummala@amd.com> References: <20231218074905.42749-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: CY4PEPF0000EE32:EE_|IA1PR12MB9029:EE_ X-MS-Office365-Filtering-Correlation-Id: 276d1837-839d-4e45-51e4-08dc0042a149 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GdoqIAH4A9plVXb8BrmU6PO/3eHCwdpXrAQ9iLWnCkgO1KsZ85xEEvyn5DyM+v32DmwDBiJugGmOx7yxb7HBYqr1XMDGpyzrS7nEcw5jV4s6MYuePgZYtW83LDkQiqXYlBCe2NEghM+Y5mpEgccLZrRxDok5Qvgnsqt0eLESZyj/1hC5w8EoF4BapTup67V9GIQqRFoyOV5u/Jt1BG58LL3xzFWGE28A3yL7BJnbiWKYdLcB43o1loMlfEhTmTxJePXdbvBPCQRNZZWF/JkiNhcw3qwgUsJIPJFqAjlV+MeEdyK2KqwQWjTJYa4Sccz1H6GOoC9WjvGGXdEe6x/dcn41fktQa5h2F65uJVakw8HhjvY+i+8we6MkKJBLxAnArQJpwq/uixf9dpGYU8KR3Te5qvoVVoGmz+aqS5QeN+sqtEbCHNMWQCIx/ijC6qsBY3Y3gFxMMlYxAQVMtT44GVIbxGkHoU8fBqPItXmjCd77gCwi2BX3f3hAqaDwEEzDVvKXq33EH5Fa6LWri178skUSLPzaqCocI2qIoBMovyXwHLfODZaff/fTQsD295eHcZB4ACSXShGubLHVE+u0O7d/whf/xo3Y8p4RQ/HM/FqpHwOg8/js1X9L/r48C5+tVbHTdGLk35zUf5vzVODSm+F21bU/wsnHbQebTXIaB+GQqZf2cgiucq/r9v+TppxdXHsJIWmpLLPKG1oz/jMpTyTbDR29alDk7B5D7rzycw+nG/GZvy/pUeoUKyvtXLkri3BlEaeIoXRAEt39Dq/lzQ== 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)(39860400002)(396003)(376002)(136003)(346002)(230922051799003)(1800799012)(451199024)(186009)(64100799003)(82310400011)(46966006)(40470700004)(36840700001)(40460700003)(426003)(16526019)(336012)(2616005)(1076003)(26005)(4326008)(83380400001)(36860700001)(47076005)(44832011)(8676002)(8936002)(5660300002)(41300700001)(316002)(2906002)(478600001)(70206006)(6666004)(70586007)(81166007)(36756003)(356005)(86362001)(82740400003)(110136005)(40480700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2023 03:28:55.2452 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 276d1837-839d-4e45-51e4-08dc0042a149 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: CY4PEPF0000EE32.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB9029 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 | 16 +++++++++------- examples/ipsec-secgw/ipsec.c | 2 +- examples/l3fwd-graph/main.c | 14 +++++++------- examples/l3fwd-power/main.c | 16 +++++++++------- examples/l3fwd-power/main.h | 2 +- examples/l3fwd/main.c | 19 +++++++++++-------- examples/qos_sched/args.c | 6 +++--- .../guest_cli/vm_power_cli_guest.c | 4 ++-- 9 files changed, 44 insertions(+), 37 deletions(-) -- 2.25.1