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 EABFD438E3; Tue, 16 Jan 2024 19:24:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D2BE40EAB; Tue, 16 Jan 2024 19:24:01 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2040.outbound.protection.outlook.com [40.107.244.40]) by mails.dpdk.org (Postfix) with ESMTP id A6D5040DF8 for ; Tue, 16 Jan 2024 19:23:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YiQ/VhM4Q2Ji46bMpROK6DQqr8BCAW0bxsSqIZIaJDRMqattacHnHmxTJoZc8ZyUXAJjVNFO6zvzXFE9tNrN2kI6rV2OypCkJo9bglI9OAWDzKM88bLH7iDhANCQdLgeaASChTKNNLEl+hvPFcvyyOI46WZF1l/uQUxMJ7ZIyaiij0p4sEc6ec5gJwC5c9Sn93n/HncNVphSAnnKGvo1uQMv6JaOuj/Il0U+y8XSPtFzl7Tbt/lIpUKDwMNw32DepLAbv7P9voo/SZLoMvS4YkM7kF184WyZd6oDnQPpRJ5pGjpum3jT0RaMJQX0dSWlToeGZ7QuaF1KNHR+N23m3Q== 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=30TiRv/D8FC0Hvzm+EpCTNn76PpaRswz1MaBO6ZbjZA=; b=X/6bEpafd3LiJS9A0pj9sxC+M71H+LH+XZRE3eHMzqkc6kR57zawouf9xzmlv6KgfiqFYV5XYBJJCAIIBaFQcrpF1jPpm50gfLKSm4TGP/vfqtMICKaXttsS8Z+n7Gv+OhHfVwj4rVEzIvLZLSehI5EOFYmeueuDl/0LcnWRBFs7x3koUIyv0hkVkXGcn5p81MhMA0LIghL2GnXJNaYXRxDg9GvJYs1SYhEmXz4+Pdez3acYeGG0bTrcvubS30NkQRyGEu4iKIsoDDV+REa2K+2aKt42U98Eug4tU0J7s0NMgFDG635ER37oBuz5wZbbp2ya/17AbF4M4NtZbhffcg== 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=30TiRv/D8FC0Hvzm+EpCTNn76PpaRswz1MaBO6ZbjZA=; b=Dp64VUAOHSLIooT/q4knuR/yGidwjmyDoHgg/KeWlo2K2s+AICgU81OnJvQ48Ip/hPj8Y8tSQlGEfzgrnxVaznKnjZqZk/dEmrfXdyk5eKdtkTXfKX/CSNnH3nQnL3ZUQzXw0789+Svcct+nEXWFAquHzhdrEi6KjL1hi66k1Co= Received: from BYAPR01CA0058.prod.exchangelabs.com (2603:10b6:a03:94::35) by MW6PR12MB7071.namprd12.prod.outlook.com (2603:10b6:303:238::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.30; Tue, 16 Jan 2024 18:23:55 +0000 Received: from SJ1PEPF00001CE1.namprd05.prod.outlook.com (2603:10b6:a03:94:cafe::dd) by BYAPR01CA0058.outlook.office365.com (2603:10b6:a03:94::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.29 via Frontend Transport; Tue, 16 Jan 2024 18:23: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 SJ1PEPF00001CE1.mail.protection.outlook.com (10.167.242.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7202.16 via Frontend Transport; Tue, 16 Jan 2024 18:23:55 +0000 Received: from 7dbylenovo.amd.com (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; Tue, 16 Jan 2024 12:23:53 -0600 From: Sivaprasad Tummala To: , , , , , , , , CC: Subject: [PATCH v4 0/6] fix lcore ID restriction Date: Tue, 16 Jan 2024 18:23:32 +0000 Message-ID: <20240116182332.95537-8-sivaprasad.tummala@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240116182332.95537-1-sivaprasad.tummala@amd.com> References: <20231220064502.2830-1-sivaprasad.tummala@amd.com> <20240116182332.95537-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: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE1:EE_|MW6PR12MB7071:EE_ X-MS-Office365-Filtering-Correlation-Id: 3888c95e-6611-4d9a-efe9-08dc16c04cac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6PY5ZAEi7s70HvdrXx7yyOhcn51YuFrAHzx1aQiHDdqUIwu6xylG1DrwxQ9hyQKf/DqNuzOZ6ChOmMI3wFO5RKcvGr++9mUqcRnkPTzoEQd4X8M2vF6KFiM2zRQ2z4bEsMbQlpaw82u8e6AezbgxSZgevhejmwD+kG2qleVed1tCxPsfcNPOWc3JcxeiqBYoeatmImCvAt1/sl1cPO2hMjIfhz3erthwWpfVjYFMYOgu1Y2EvQEc6RNmkVk2OPgFFJmKiNGt0+U5RcVusAFMETOMyYaLOBXHHntpyI5UCn4Hg+rRvOVn5PzitnDBAgTH3Utgoj3BMxSUbdkA6YbOK8mF3aA1Pn/mRWaWbgmqtsm7QJCODL4AkSDE+ordnHyLS8Da81JzZGG1kRSv8aCQyugyFFO/dWYLD6iwWT9gnTHH15q40aX0r9LAnV8SJ9STRO6n0vBaYYkJo99VuBXvrWeOn44qJnxlNotP5WZW4kGuX3fkc7B6A/NRU+DJC3HBpkG/caNWw3xZH7mysYc2cursCwJfPDnDuwmISa+FpYTDDahmr+rJWfxXSA6y3K+OyO/tX9U7+7hLxfoA/9N1OFlLUF8HB+TALLOsyYBIuoMJRE8w/L4OOF4emDo4mQnZPqVooDDGxSMKWb9/Yvo0IjIT2NSTVMBZzYW5xixVlzTiMB6vscQ4OmrQfA/BeOi+6hvoLOobrFfe6eVrxB+6t5GZiZtE0cxe9KzVhhlms5aF18zpWMESmu6dVPCM7uKgH8PWicptB+p5n+5MGPn6jg== 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)(136003)(346002)(376002)(396003)(39860400002)(230922051799003)(186009)(64100799003)(1800799012)(82310400011)(451199024)(40470700004)(46966006)(36840700001)(40460700003)(40480700001)(6666004)(426003)(83380400001)(16526019)(478600001)(336012)(4326008)(5660300002)(316002)(8936002)(70206006)(70586007)(8676002)(110136005)(26005)(44832011)(1076003)(2616005)(36860700001)(82740400003)(81166007)(356005)(7696005)(41300700001)(86362001)(2906002)(47076005)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2024 18:23:55.3670 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3888c95e-6611-4d9a-efe9-08dc16c04cac 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: SJ1PEPF00001CE1.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB7071 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. 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 examples/ipsec-secgw/event_helper.h | 2 +- examples/ipsec-secgw/ipsec-secgw.c | 34 +++++------ 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, 110 insertions(+), 109 deletions(-) -- 2.25.1