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 34E884373B; Tue, 19 Dec 2023 04:30:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50E2642E1A; Tue, 19 Dec 2023 04:29:54 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id 2914D42E1A for ; Tue, 19 Dec 2023 04:29:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g8HuACXAXwGhhl3zpAHjEWhwZC2KzU2CoGcou60i3jL+EJEiLZrOzVAizg8FHfM6+mSt3HhMTbI/O7gd/Dx8SRYBQVtxoNvihmWH8oqgujspOaklvQKTR35Sd7CaKx47VSl2f8XtS7dqr02t/c2QDTCXwmCgJDQkgJrsy5xXyOoWRPs7fXY7ATO1yPHhZQ+JZedc5+v8DOOPhaqn5XDMDZs/pljymMNM+tKelgNRoYxmUrXkyF1magN8sUVVwIw87h7KlITa2koWqLDMWhaQig7kqGkxGCdkRIbd2RhO5L6qJ1+lEUupaeyNCk25+T+iXf2+iifQqttdmUsHjTyTug== 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=cMzH1meuP23CBYOpB24ynFWLxmmCcsYuAS8QMM+s/WBalgR3XQyt6wuvuwnV6EmM34hg3RgetUCOVfRsw9ZU6rh81Q9oibjopPPrVsyxW44jk66XArbEngI+VpOcBQGfnRNcXnCHSvnPwl3Cwt1eSyJHTHQR7ZlNVufXWnQeSorl5sRL8dIlV52p+q5gsyZhLooz57MH53J35cACftu12qfZdc/iK7py2iNmOyHzMtcMaDrM21YJMBv4aoPf/2gvtg/l18IIa13+TbezcP9mJlOgFgM0ndw6YL25EOPkjK2o6JPmmINtBK2Jy1ne8o+dBOpHumwSocie8Hu8Tr8h0Q== 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=Nzq1+0s5BuLjcKCXqD1kzquz/bwLF2/dMU8762ViLZl2xU/v++l1J+S4TgKexbYuJkXEHM9+2JbURM4nF6qKQ4cH6EUDRMZ6V84vtlncDC0LGNXTy1WcH80K17zzVckjUmHN8RgBTWpa7vv9efG1g6yb+tl4rrcWp5TKlMTItWU= Received: from BY3PR05CA0035.namprd05.prod.outlook.com (2603:10b6:a03:39b::10) by CH3PR12MB8257.namprd12.prod.outlook.com (2603:10b6:610:121::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.38; Tue, 19 Dec 2023 03:29:50 +0000 Received: from CO1PEPF000042AD.namprd03.prod.outlook.com (2603:10b6:a03:39b:cafe::5e) by BY3PR05CA0035.outlook.office365.com (2603:10b6:a03:39b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.17 via Frontend Transport; Tue, 19 Dec 2023 03:29:49 +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 CO1PEPF000042AD.mail.protection.outlook.com (10.167.243.42) 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:29:49 +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:29:43 -0600 From: Sivaprasad Tummala To: , , , , , , , CC: Subject: [PATCH v2 0/6] fix lcore ID restriction Date: Tue, 19 Dec 2023 04:28:26 +0100 Message-ID: <20231219032826.4814-8-sivaprasad.tummala@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231219032826.4814-1-sivaprasad.tummala@amd.com> References: <20231218074905.42749-1-sivaprasad.tummala@amd.com> <20231219032826.4814-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: CO1PEPF000042AD:EE_|CH3PR12MB8257:EE_ X-MS-Office365-Filtering-Correlation-Id: 66bd324b-18a0-440a-f896-08dc0042c1a8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eAl/vaeKHAH9pOgzh5NWRbUi/4+EZ9ouqSVCC+3u8/N+VMO+o13EhdDIrJ4xRlM7WyXzJ11gv1BlvBOB44PeYeZodQU7F32v/j0+m/ztLV8905wfpCB8ZN1dNR+jvjxBvsYry8V9unufnxvzwXRXJBQxqMarnhLZscTfciO1G1ecEu7thOjAOb7fwDflEkw5CW1627AYbCwBkLf5zSYNYVbjNDLZVU7e5UEKMX5aQmYdQNmg0MyNAe2n9ZIj0CK6TiNSI6oPJE/41NQG0Lyql6EcW41lDYqte998SvGYyomhJZjLSnEw1WZOB1oXPRMVy2+awXhe8iQA6cOEPMuIN5e4Fn/v7u93WKPqouLAnoKi2Es4OwDBNeiLMVtPVE/GqKaDC7L92l6iQq9Zcl1hTYyN0oCRJd96EMb0Pu9nULwJ+Lo6SRT26R4U5rDQdMZIpviZFBPKrFHdvERMBYBlE5QqwIfjU20v5J5Dhl88Vn7DzgQxwQ/EW/HlHV2kc2m8WjatWRriLlbrdV5cM3TLc53B2Yb5CQvJE2cNESmwsUpYXtWOvWIBUKKTDcFmlcQJ1DyMoRJEnV/ggZPx4vFeIdj1Cl6NHRQr1pRCR3FBcyUOHmp1UYNxqTyPyctKqmCjI/CVJ4MkeAS6WYn67gQeEfVcnMZ1kfsXqQrGZaoAo12GdTlOZEkARBEyNajee0LWLhxMY64s4r7dJKxU7uaO3RSJUZPr/PGiiNeBtCvt1yLdV7qvemb7veQ64zipeU/BNJtgnVPMp9z+5KDoy66wgQ== 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)(39860400002)(136003)(396003)(346002)(230922051799003)(64100799003)(82310400011)(186009)(451199024)(1800799012)(46966006)(36840700001)(40470700004)(5660300002)(8936002)(36860700001)(44832011)(8676002)(47076005)(4326008)(6666004)(316002)(2906002)(83380400001)(70206006)(110136005)(40480700001)(70586007)(426003)(336012)(478600001)(356005)(82740400003)(41300700001)(40460700003)(81166007)(1076003)(26005)(16526019)(86362001)(2616005)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2023 03:29:49.5123 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 66bd324b-18a0-440a-f896-08dc0042c1a8 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: CO1PEPF000042AD.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8257 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