Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/139295/?format=api
http://patches.dpdk.org/api/patches/139295/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240415194631.124343-1-sivaprasad.tummala@amd.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20240415194631.124343-1-sivaprasad.tummala@amd.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240415194631.124343-1-sivaprasad.tummala@amd.com", "date": "2024-04-15T19:46:31", "name": "app/testpmd: fix lcore ID restriction", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "87e6ffb0d14378ddeea6200814a20a68de1c9172", "submitter": { "id": 2510, "url": "http://patches.dpdk.org/api/people/2510/?format=api", "name": "Sivaprasad Tummala", "email": "Sivaprasad.Tummala@amd.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240415194631.124343-1-sivaprasad.tummala@amd.com/mbox/", "series": [ { "id": 31745, "url": "http://patches.dpdk.org/api/series/31745/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31745", "date": "2024-04-15T19:46:31", "name": "app/testpmd: fix lcore ID restriction", "version": 1, "mbox": "http://patches.dpdk.org/series/31745/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/139295/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/139295/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3831043E7D;\n\tMon, 15 Apr 2024 21:46:54 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7270B402C4;\n\tMon, 15 Apr 2024 21:46:53 +0200 (CEST)", "from NAM12-DM6-obe.outbound.protection.outlook.com\n (mail-dm6nam12on2055.outbound.protection.outlook.com [40.107.243.55])\n by mails.dpdk.org (Postfix) with ESMTP id 656B74021E;\n Mon, 15 Apr 2024 21:46:51 +0200 (CEST)", "from CH2PR15CA0002.namprd15.prod.outlook.com (2603:10b6:610:51::12)\n by SA0PR12MB4447.namprd12.prod.outlook.com (2603:10b6:806:9b::23)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Mon, 15 Apr\n 2024 19:46:49 +0000", "from CH1PEPF0000AD74.namprd04.prod.outlook.com\n (2603:10b6:610:51:cafe::5) by CH2PR15CA0002.outlook.office365.com\n (2603:10b6:610:51::12) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.33 via Frontend\n Transport; Mon, 15 Apr 2024 19:46:48 +0000", "from SATLEXMB04.amd.com (165.204.84.17) by\n CH1PEPF0000AD74.mail.protection.outlook.com (10.167.244.52) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.20.7452.22 via Frontend Transport; Mon, 15 Apr 2024 19:46:48 +0000", "from jfw9ny3-os.amd.com (10.180.168.240) by SATLEXMB04.amd.com\n (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 15 Apr\n 2024 14:46:46 -0500" ], "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=GBrcvxm1AZcPe7V3ll/6Jz22OJ3d3Bw8CgtnuDq0EEfdl6wEQJROhhPCjGLHNeeVM1w79q2Yajm0j+zt+s9NzqWLeoxxUxCoc4XoElkYZl1uL79P4HgEDZkVx61rvAZVAuDunyQzcmj0gtV21RW4wz6AOCUVY8GBfpLkicqcswxsyOr0b1k85NNvaD3dkjfQ8Ed9PpXELRUDfCZTL/dsJ7fCWflDHWQS7ZeFIqGYGmhSlCEH/eM8P3rlsgQf2PajjN3vuhMU8YXRYeCgBAycx703XBgJyZCMZKIwyduKwdHLS778nOPXLYGPOFpUCZrZLAalwYbq94GPc8WXhW4zMw==", "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n 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;\n bh=KRmwHpKuSE2eolTfjtMh9KgbbpRyJkmp4nT1mikmong=;\n b=G0fijM8m8xF5P+5KokzhEOKosnpZzCeokGI6gsEPhaYzxbFoI12Ujftn+BOZIegE3RwtW8u/y39eioTs1YMxWK/BUBpFHhCGQCCWYd+RNJU+ob64GKg+BFjYS1mSwzs/kKNiqqDC07IHbBlmo8CAp66w2c6PvqP2SQMeouKmsPekqNuNDreUMJaN1/a13/YAi/eT4hcM2KsHLr5JeBGRmxGOseifx6Iv8SnqXx1F8MUYzbeSdr+T+4pqdZIco6iKlu3YbbabPDZ+zOCbALBwutQBNZS2st0Ndi+vjHPcpAbSGsOTeNXnb2+dh+qvcGHxG46h3kPZ851XibEZtx+wOA==", "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 165.204.84.17) smtp.rcpttodomain=redhat.com smtp.mailfrom=amd.com; dmarc=pass\n (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com;\n dkim=none (message not signed); arc=none (0)", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=KRmwHpKuSE2eolTfjtMh9KgbbpRyJkmp4nT1mikmong=;\n b=mQlmo3zyNbIh/Oxmfct3BUEc/qDDzDJqa/scsgG/CgeQFCNmEo8o+xyRHfJ2psu8KxNVjOUjbRJNnTLBvdZi+X3cwyKNyYqdYpKqISwckgyBQh+Y4BlOy3b97TBPtvBpN6P2gxrkIvrVMFt1NsUAONP9Kki/OKSZWmXszNm+usk=", "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 165.204.84.17)\n smtp.mailfrom=amd.com; dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=amd.com;", "Received-SPF": "Pass (protection.outlook.com: domain of amd.com designates\n 165.204.84.17 as permitted sender) receiver=protection.outlook.com;\n client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C", "From": "Sivaprasad Tummala <sivaprasad.tummala@amd.com>", "To": "<david.marchand@redhat.com>, <aman.deep.singh@intel.com>,\n <yuying.zhang@intel.com>, <ferruh.yigit@amd.com>", "CC": "<dev@dpdk.org>, <stable@dpdk.org>", "Subject": "[PATCH] app/testpmd: fix lcore ID restriction", "Date": "Mon, 15 Apr 2024 19:46:31 +0000", "Message-ID": "<20240415194631.124343-1-sivaprasad.tummala@amd.com>", "X-Mailer": "git-send-email 2.34.1", "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\n (10.181.40.145)", "X-EOPAttributedMessage": "0", "X-MS-PublicTrafficType": "Email", "X-MS-TrafficTypeDiagnostic": "CH1PEPF0000AD74:EE_|SA0PR12MB4447:EE_", "X-MS-Office365-Filtering-Correlation-Id": "63ba1992-bdf1-4c48-9eb6-08dc5d84ca38", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;", "X-Microsoft-Antispam-Message-Info": "\n g+UGUsLtMohRHb7rFtVDpRgBX+QP9DSOlZdDz8js8dPN7IkM+N8cHRPwRfXTgq6Omb0/S2pTLTEM9i1bs5zKdr15PsssXQT9YjGA4wdXR7Vnlk1/+nNDIQ/8rnkQMAvkBab7Y7sCOrRC9qWA6yCYExMgbBYNVclth8quj2lWBcj3h7UAWHBUdOi4xA3RS5e/k3pq+yYPk5ppBGvGXSviMxLm2GxFPKMibFu6/ein9GIEaDluAx5ZFX1AUdZYVew3WZvq9nP7S4MO8r65LN7G/htbaFpGPoROy0eNI+Be7c4VupYxYL0iifkbKQ6iCkowbH6CQS831zURt5mgNLOdh8l7ie/OgDg/DL8mU0i8wzNQWvlQTFqG/9Op3WmY8eevuzDqzbmnDCkHzV7qxQvLrhbnLU5MfccpmJEtDF4Fqeb3okaSJqR/gbuZbIoPew+4NoAZtd21jt7HJZHraGOh/Xt7VZVqxdXkBAPJqrZERmp2brbmj9ZArQxZlkSruY+t4BuUxGROG6N6ooYb8355q+/I715whkRamteVSDDcxkACK1MUxHFfE5tJl5nGV57mVMw+uqe8HjhtOEJ51LG+4K/sp0xnLQ0HeQji41hZO5mWN+e1PcAqlo9b1D/66DnfNNNGL/51S2u2bM6R/yyiqpzaggfrmDNzipltEcjbENt9at7JIkgzr3wc4AonKOugUWnIix1vSsL7H6KKQGp+AAGDSIJxXHkWaM7MALywJ0b7veZEIZqPsJe044cmQCDm", "X-Forefront-Antispam-Report": "CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:;\n IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE;\n SFS:(13230031)(82310400014)(1800799015)(376005)(36860700004); DIR:OUT;\n SFP:1101;", "X-OriginatorOrg": "amd.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "15 Apr 2024 19:46:48.8917 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 63ba1992-bdf1-4c48-9eb6-08dc5d84ca38", "X-MS-Exchange-CrossTenant-Id": "3dd8961f-e488-4e60-8e11-a82d994e183d", "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17];\n Helo=[SATLEXMB04.amd.com]", "X-MS-Exchange-CrossTenant-AuthSource": "\n CH1PEPF0000AD74.namprd04.prod.outlook.com", "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SA0PR12MB4447", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "With modern CPUs, it is possible to have higher\nCPU count thus we can have higher RTE_MAX_LCORES.\nIn testpmd application, the current config forwarding\ncores option \"--nb-cores\" is hard limited to 255.\n\nThe patch fixes this constraint and also adjusts the lcore\ndata structure to 32-bit to align with rte lcore APIs.\n\nFixes: af75078fece3 (\"first public release\")\nCc: stable@dpdk.org\n\nSigned-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com>\n---\n app/test-pmd/parameters.c | 2 +-\n app/test-pmd/testpmd.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c\nindex c13f7564bf..6d2bf9b7c1 100644\n--- a/app/test-pmd/parameters.c\n+++ b/app/test-pmd/parameters.c\n@@ -1072,7 +1072,7 @@ launch_args_parse(int argc, char** argv)\n \t\tcase TESTPMD_OPT_NB_CORES_NUM:\n \t\t\tn = atoi(optarg);\n \t\t\tif (n > 0 && n <= nb_lcores)\n-\t\t\t\tnb_fwd_lcores = (uint8_t) n;\n+\t\t\t\tnb_fwd_lcores = (lcoreid_t) n;\n \t\t\telse\n \t\t\t\trte_exit(EXIT_FAILURE,\n \t\t\t\t\t\"nb-cores should be > 0 and <= %d\\n\",\ndiff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h\nindex 0afae7d771..9facd7f281 100644\n--- a/app/test-pmd/testpmd.h\n+++ b/app/test-pmd/testpmd.h\n@@ -84,7 +84,7 @@ extern volatile uint8_t f_quit;\n /* Maximum number of pools supported per Rx queue */\n #define MAX_MEMPOOL 8\n \n-typedef uint8_t lcoreid_t;\n+typedef uint32_t lcoreid_t;\n typedef uint16_t portid_t;\n typedef uint16_t queueid_t;\n typedef uint16_t streamid_t;\n", "prefixes": [] }{ "id": 139295, "url": "