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 CFE1A4372F; Wed, 20 Dec 2023 07:45:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A06AF40279; Wed, 20 Dec 2023 07:45:26 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2062.outbound.protection.outlook.com [40.107.92.62]) by mails.dpdk.org (Postfix) with ESMTP id 55C9A400EF for ; Wed, 20 Dec 2023 07:45:24 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B8A/ZSJB3YvV8RmXi+R1t4LboMxpv2lqofxg7ZyCleo7NJyc4zXk4DnKgstOulLZ1HkDjeCbr7xvbvgLQxtlMqdplwUz3Phf6//iimCsxlqRzPuxU7qUBu4cuzeAH8LlcUS77UBSJXHMvEfcnzSZ3MiTwwDte3TfcFnZ2mMOUH81ndTTm6cR2zSvPt2kjs6TfQMKDRyE/D8nz+hd7zVbOeJgB+x9qnGk3loIb88TINy1T6Cp2RFzZ7XRJ0yF2USqAOeIVhkW/QOi/3tJ9xTeEC91DAS2dzTwRYuNgFGeJLAQVG+YlQya+pg8VEbbaCondyPEI69r/Y9jijMF907WSA== 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=g3BK0N42VCfl8aNmAW+gNurqCT3UNO4PuT4Z2XEYFUFOtscWt6hwtgRjYaKZXF9ESVvlr2fGmYajyIO7qShZMpXCw7TIO3736jlX2eh/qxgqCac85CXYdo57wyEHw4eH1UiqqD7w3PSJyz4JGYv/1RMzGCyLKwIejWLJuLpBS+AWszBlkfxNqlRqjTNR6VHjTLzNzc233CWZnTsYFl5eguzzhSVdAJNy0bstoYcfIkl1mvc5d339/7IOotrzcgQ+mlouuTw1nC6PhHztZ37MeTmeHYLd392FjtC9jsrtOVaUcxJprUvsfCAtRXEXyiCrTdjihG5Xy0LExtrawCQxGg== 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=dcNMz+KjmIxJz1Md36bsOIgOmPfPRd2tJgzJPosOwz0aees/GfFRWOF3pGxU468H7jvLPen2B+Fp83Dk5SnoS7H00t6hE3tRqU80olyOZW1rZvGolNkE8IZhorlrC8LSkgXAwk/5im+w8zEoPqfwRNYUEK2Jyaos4QdOzL+F+uo= Received: from MN2PR03CA0013.namprd03.prod.outlook.com (2603:10b6:208:23a::18) by DM3PR12MB9326.namprd12.prod.outlook.com (2603:10b6:0:3d::14) 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:45:22 +0000 Received: from BL6PEPF0001AB4E.namprd04.prod.outlook.com (2603:10b6:208:23a:cafe::47) by MN2PR03CA0013.outlook.office365.com (2603:10b6:208:23a::18) 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:45:22 +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 BL6PEPF0001AB4E.mail.protection.outlook.com (10.167.242.72) 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:45:22 +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:45:18 -0600 From: Sivaprasad Tummala To: , , , , , , , CC: Subject: [PATCH v3 0/6] fix lcore ID restriction Date: Wed, 20 Dec 2023 07:44:55 +0100 Message-ID: <20231220064502.2830-1-sivaprasad.tummala@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231219032826.4814-1-sivaprasad.tummala@amd.com> References: <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: BL6PEPF0001AB4E:EE_|DM3PR12MB9326:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fb6ba59-6a81-4834-89ad-08dc01273d3d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: upkdImD+DP7MR06NasPUu2AvFBpQWCN1WI6pIrd9e8rxzpxv3rPaiQU0FwkX8OWTz1HGuBKg5VoiBdOWS+o1jVhjvUXtyUY+Ytc9iyi/KUgvP4tm+VjHfPu/CFt3BDVeVDfoCwHnvL8hDOxh5rMz7ikLKkX1uebflUgJB0QpE5qgWA8AX96ED1rgfgehtpKcNkp+UM2IauW4uKAzCg9SFUjrHymslJFn/XICD1YADxp/e95C+PF8opsMhrgKLb6EaU3wUQdk9UaB1ReC0j6EDpwG3wBs41z9Qz/41ML2fsGy0AkZft0Cva8DILHcokHdVQS5rOwSXqb5nENQIhmqWBSGk+8PPbTYNdk+ES/zCiA6N5289nvRoxVjRYxKRh1kw+Dut8bEoZ5cC/2S7SNVq5z7rP1s57xoB03Dp7lxPEjzd/2X6s1ldEDQqMdmvQ7R0NfHoSCPFQeNhO9h5+lBUxC2M8+nlhbJYiKtp0ktC0UYHjC9GE3MfedJNaqYQePQ73agB4W9aXadweSrVJkpC9gOPqWXJoiusXAw39U4hzxbwLT1wtW53umAhHGvWBYd7y1F9bSPiEBTYiXFiHXlcEmOOI4t0zsNg9oRNFzYd9rZDlLGbBIYUu+I1QMPGnu7wOQ8oS4ovQ4MxHd3lvF/uuflA/QHHW7UaVdrHP5LjeZKern8iqdFJtACsCQRNRA4vj+bxs5kyt2xFLckpNe23G8GFnKLLy1vKeFvMJ8mXF5rxwjoodlkTg7c2a+n+IcpD9iNn3s6Uw8kTiKRKNvyUw== 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)(346002)(396003)(39860400002)(136003)(230922051799003)(451199024)(186009)(82310400011)(1800799012)(64100799003)(36840700001)(46966006)(40470700004)(40480700001)(40460700003)(336012)(1076003)(2616005)(16526019)(6666004)(26005)(426003)(82740400003)(83380400001)(356005)(81166007)(2906002)(36756003)(86362001)(478600001)(41300700001)(8936002)(4326008)(110136005)(36860700001)(8676002)(5660300002)(47076005)(70206006)(44832011)(70586007)(316002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2023 06:45:22.2094 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5fb6ba59-6a81-4834-89ad-08dc01273d3d 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: BL6PEPF0001AB4E.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR12MB9326 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