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 482E245E41 for ; Sat, 7 Dec 2024 09:07:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E54340EAB; Sat, 7 Dec 2024 09:07:22 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2080.outbound.protection.outlook.com [40.107.93.80]) by mails.dpdk.org (Postfix) with ESMTP id 8CB5740EAB for ; Sat, 7 Dec 2024 09:07:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hUOQJwB0bkWkDbHiapzTShYl4Xu4A6rBWoJhcrJx2R0gWWInh74yQMAoeYLFSTUcub/U6oCqqmZl96IGUn9rYoymyjQyBrc67/i3qje6bmqlNH+aV7AVWz+bjk/9nHPF/8tPYzJsS2P4rVa+gXGcxMv9feF0zgBYJHCZkJfjBD2z/kH7+y+8XgER4BMu0xpgYJbHJx3eLXX642a9SvK/mrPWQxEnQxdvhgFK2Wj469/bLf3IeWTIZXrEiGvzQnWEF3Pz9XJ3GGTw/XZWGr1L8PDYkh4xjAJxpJ79nbNYkgvnps8SEhB80w7HSwk4im58GyPlsLKp1vP928BJmLLw+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=cVtzYgBb0TOLwF5IsQYbU4IawnaqD1OgUShWoo3owdQ=; b=g88b1l0V9cQbKTVAFd4Yr4DkJTdv+lGole4AHAoEhSpuJS5gPAAo8hVniq7T/aAXkeh2GpHET/Z9pqk/fRR2b79KhBE9+CPHzoxTL2R/7SRzpCTQpju44sMoaNOCO4S8CWXPpq4WWTsqTMiGQrWLkm3QF7WE6CmDmHzJQnqvfbaTmTgS4NgCvMJ4kf2G1/QFq+JxgxLJNJe5f4j2G6xt0uwwW2zMZeOpBHaWgjMGJiOiTSJ52HntSq/hWL/jhDL4TtmZ5oFanUh+wBqcH+IH4cIEXDDhcP6tjevvWMJ589VsZsUw/PEtdo0rYZcSozidOuJ8qVpkQxqiEcCxeL4xgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=marvell.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cVtzYgBb0TOLwF5IsQYbU4IawnaqD1OgUShWoo3owdQ=; b=davr2IR3EhYYsVZYPT5YAuro9/2/Rve/jy3EW3GOcVyEr3kUcGBfhK7id+1pJtwH1qLnqoZkiLGOSVSNRVcOqfrc7lDmsd/t8qNEfkWerTcjA//G6k2GFR6QBDKoYX9HUcg0bwRldVqT4HHOxE0rlHS4gzxgnHcwzkeL3PJiK4zZ/kkBfmOsGk5b+HyzSoJRtAX8TuEnApLGDYrA1yvdVKqE1lVwBpFuCCCWSdGSbPvaY2jOJD+HEfmwJ9xTXAIgSwvIsEPT/mtBKFARqIsx7HfZtJGtAGjECHZ/MoWMMZ54+zhVEFjQp2jfg+LGz3S+pjd0QgYXxUnrJMWary8bEA== Received: from BLAPR03CA0078.namprd03.prod.outlook.com (2603:10b6:208:329::23) by PH7PR12MB8177.namprd12.prod.outlook.com (2603:10b6:510:2b4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.11; Sat, 7 Dec 2024 08:07:15 +0000 Received: from BL02EPF00021F6E.namprd02.prod.outlook.com (2603:10b6:208:329:cafe::83) by BLAPR03CA0078.outlook.office365.com (2603:10b6:208:329::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.12 via Frontend Transport; Sat, 7 Dec 2024 08:07:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by BL02EPF00021F6E.mail.protection.outlook.com (10.167.249.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:07:15 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:07:02 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:07:00 -0800 From: Xueming Li To: Sunil Kumar Kori CC: Xueming Li , dpdk stable Subject: patch 'net/cnxk: fix build on Ubuntu 24.04' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 16:00:21 +0800 Message-ID: <20241207080055.488538-64-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F6E:EE_|PH7PR12MB8177:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c6bcfb5-8dc1-4a70-8882-08dd1696296e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|1800799024|36860700013|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?eRNcnZ4oerTtmWjulzj3IJYSu54mVMyXIE46PtsPeI2G7JQCg5l9J3gVM+6b?= =?us-ascii?Q?q16eXBVV2I6cpUlpdW0AmAWb77m7gk9Rn3oL8hXoUmscM+tua9ulumKtxdT4?= =?us-ascii?Q?OMXPw/8V1+WnX9T9Wj17PBEnPb1wazuO8XTpuHwAso0fCT7np4u9VSyBxPEt?= =?us-ascii?Q?quiaiDaSkVfDUHbdf3RytBgA5YRkPY9X9u+9U3uHmzlZYILt13h9Dqst1VaZ?= =?us-ascii?Q?ZIl5cecsXMaGORrQZn6sji6HnwyWuHelPPKxOpcvjQ0B5FIrU3v/qRfWit8H?= =?us-ascii?Q?uKhkFf7JPhzEWupwWLfBVY3fUsXpJ9hn7HtLYAXFSnj1VjcUVFbJVS+5oV9m?= =?us-ascii?Q?Lhv4YHa82P3nLp4QKZem+tFww5KIbLrP7WB/syjhH2iWMdNVE6gI5+7+R4Jv?= =?us-ascii?Q?JvBHvp5N+WmITNEf5XTNsv86TBhEIRdhuye9yKDG0B4ctnfMSe3eNegV8Y5Y?= =?us-ascii?Q?dm1NvvVD2qcv0fao0hWN45dAqYEidAE8pF5A6lU9Rjq5PQMmbFB8+7wxcQvi?= =?us-ascii?Q?mLccchIfIO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7j8zPww+h9CFnqssc?= =?us-ascii?Q?tGG8FY855kMBDqpoG8CP/n/NkQCZ9iuL?= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230040)(376014)(82310400026)(1800799024)(36860700013)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:07:15.0462 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9c6bcfb5-8dc1-4a70-8882-08dd1696296e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F6E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB8177 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 23.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/10/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=d39e6e67897cafd530b554985801a9f8f7092012 Thanks. Xueming Li --- >From d39e6e67897cafd530b554985801a9f8f7092012 Mon Sep 17 00:00:00 2001 From: Sunil Kumar Kori Date: Thu, 14 Nov 2024 13:08:16 +0530 Subject: [PATCH] net/cnxk: fix build on Ubuntu 24.04 Cc: Xueming Li [ upstream commit b9799fb5e7a38c824c91b88d3c89250d23c783e6 ] Due to implicit unsigned to signed integer conversion, actual value gets wrapped and becomes higher than its size. Bugzilla ID: 1513 Fixes: 03b152389fb1 ("net/cnxk: add option to enable custom inbound SA") Fixes: 7df4ead35436 ("net/cnxk: support parsing custom SA action") Fixes: 47cca253d605 ("net/cnxk: support Rx inject") Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev_devargs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cnxk/cnxk_ethdev_devargs.c b/drivers/net/cnxk/cnxk_ethdev_devargs.c index a0e9300cff..8c022e5f08 100644 --- a/drivers/net/cnxk/cnxk_ethdev_devargs.c +++ b/drivers/net/cnxk/cnxk_ethdev_devargs.c @@ -303,8 +303,8 @@ cnxk_ethdev_parse_devargs(struct rte_devargs *devargs, struct cnxk_eth_dev *dev) uint16_t custom_sa_act = 0; struct rte_kvargs *kvlist; uint32_t meta_buf_sz = 0; + uint16_t lock_rx_ctx = 0; uint16_t no_inl_dev = 0; - uint8_t lock_rx_ctx = 0; memset(&sdp_chan, 0, sizeof(sdp_chan)); memset(&pre_l2_info, 0, sizeof(struct flow_pre_l2_size_info)); -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:46.164810003 +0800 +++ 0063-net-cnxk-fix-build-on-Ubuntu-24.04.patch 2024-12-06 23:26:43.983044827 +0800 @@ -1 +1 @@ -From b9799fb5e7a38c824c91b88d3c89250d23c783e6 Mon Sep 17 00:00:00 2001 +From d39e6e67897cafd530b554985801a9f8f7092012 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit b9799fb5e7a38c824c91b88d3c89250d23c783e6 ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org @@ -17,2 +19,2 @@ - drivers/net/cnxk/cnxk_ethdev_devargs.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) + drivers/net/cnxk/cnxk_ethdev_devargs.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) @@ -21 +23 @@ -index 5bd50bb9a1..ecc2ea8b77 100644 +index a0e9300cff..8c022e5f08 100644 @@ -24,3 +26 @@ -@@ -305,12 +305,12 @@ cnxk_ethdev_parse_devargs(struct rte_devargs *devargs, struct cnxk_eth_dev *dev) - uint16_t scalar_enable = 0; - uint16_t tx_compl_ena = 0; +@@ -303,8 +303,8 @@ cnxk_ethdev_parse_devargs(struct rte_devargs *devargs, struct cnxk_eth_dev *dev) @@ -28,2 +27,0 @@ -- uint8_t custom_inb_sa = 0; -+ uint16_t custom_inb_sa = 0; @@ -33 +30,0 @@ -+ uint16_t rx_inj_ena = 0; @@ -36 +32,0 @@ -- uint8_t rx_inj_ena = 0;