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 7493343B86 for ; Tue, 5 Mar 2024 10:49:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6DF2F4026B; Tue, 5 Mar 2024 10:49:34 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2084.outbound.protection.outlook.com [40.107.212.84]) by mails.dpdk.org (Postfix) with ESMTP id 6A9B84014F for ; Tue, 5 Mar 2024 10:49:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m4MdiSgvF/PPBQaqk01ru85Phv4iMQQxTSnRnJ/7RiPI4JP1ti5cOhoBO7mBp7owDt79nTEY/67XsoPe0JzmzR/l+a1cjAulNeYD8VvcxiM3wrbV39xr/JfELgNIYshct9nMYVENZY5abCeLJ5XJJMhPcUsUaKGTEpZq1pu54DEcRQiF2w5nbn9xSnkiQlogHBe6U+y0/mdSWG9nxAEd6pMbkkji8KXj3Xp3nZzeghZ2z+KCgjplJZcNpi+TTnxVz1zGQyzjLmIiyefEhpYpdSA9vopje69GP2GIPvJxEB2G59upVWBnRdjxh6RD+hqPMIy3U2srGrCKNQfiE2RDnA== 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=tq7jOWBrZQay2Ba19Qoq5OHJEb7tR8/wDPyvK6yO1uQ=; b=ELk4NOJcisw2ZZ33wM76K1BU1otOfjev5Z/u0pwP27sxZg+gjvWJv7AmCcLo6pEYzVbd3fP72t5ZOjb5db1ld4GP6HEr5A0TQllx60K5UUdyqyxkUTzYjqJwOrKLTvRYubJsYK1iHxiiXak7HilDDkZc7pVZCUPcFKHvSRFOUDQ6AkMU7fpbXp7XYHHu+zcTe1A/KwVMDlZ+RZvAEukjk9Pb4QVW68RbmOg30UGeju+fOFeNEUnVbaUlBSxnWWEPQMqc9Cu3Avf3L6HSHBuaqo142yIFqXUJRNjVI2yiVi3yT6pu8nJKbXzYpPBsI3vwd16k1JlwRoKSQjbuOrruRg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=intel.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=tq7jOWBrZQay2Ba19Qoq5OHJEb7tR8/wDPyvK6yO1uQ=; b=khodQoHOHP+gQ1iXf1+9Kql1Cvh1hPaYKVsbqBmontEbexCoMkXlqVzwx70FA0WlM29khwC32vNT20nMxYVj/QBoUMyhpyQS/uG6nGgfgL3L3ve5FRek4kO6EQ5WMAy/VNPtzy7WlU7H8fRhZ4A4vlLlOeSzhARHlASebyHAiWUOSHh5AJI2Jeh6ys9QEg5sYkFKRKTkNlZNoM2rRW7uSur7xu4yNBTL4zJRXe7QLecI2w+mDLB9/8BacJRpzOfDipf1ZDZjHkmFnuQh/5XpndBzKo1K0jCor87gng/eb9HxRrocpk5FWbsvCOlEP1UfkX/Kf7hfcuWFpQXUmPkDow== Received: from CY5PR03CA0024.namprd03.prod.outlook.com (2603:10b6:930:8::35) by DS7PR12MB5720.namprd12.prod.outlook.com (2603:10b6:8:73::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 09:49:29 +0000 Received: from CY4PEPF0000FCC2.namprd03.prod.outlook.com (2603:10b6:930:8:cafe::ee) by CY5PR03CA0024.outlook.office365.com (2603:10b6:930:8::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Tue, 5 Mar 2024 09:49:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000FCC2.mail.protection.outlook.com (10.167.242.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 09:49:29 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 5 Mar 2024 01:49:14 -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.1258.12; Tue, 5 Mar 2024 01:49:13 -0800 From: Xueming Li To: Kaiwen Deng CC: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix tunnel TSO capabilities' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:45:54 +0800 Message-ID: <20240305094757.439387-14-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305094757.439387-1-xuemingl@nvidia.com> References: <20240305094757.439387-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: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000FCC2:EE_|DS7PR12MB5720:EE_ X-MS-Office365-Filtering-Correlation-Id: 07509ef8-cc6e-4714-5ee6-08dc3cf98d71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ec6I5pd3DI0ZwpvCR+8iFcmU0mE1DzBNezrgZxuMo3M0ktHmdJjZnlLZYARa87QdwfNsMUGQ+FUQDm4kUJul2D4a+xYzjv2pFLqXKFVq5jq2OGdTrSjmMAZ76GCHrpc03QPOvsN1S1OopwOr2FuFB5BFLEQzM79FqDYqR9QHOv4ZImf+CCi/3jyfT2emgxmXo4mngpATAPv3CktOYePv9ML/qJIzoVdGvkEq0zbx8jRwhrXdXTtaOsi58pz8/cYuasdVXyaE29ScFgVClzj5wEuImrLtISlkXnPLUv5V01vFyPqVDkqSWZBtmIyTIPJ9hMgODCpqadplG+uwjpujz8y+FLdwUCtoqhhWW0mCETHiv6UIgiCsgTckE4WLRzA01xQQetbilezDX0erLarHRFkCyo4rYu0AaN2pf7mykbAJutzsWwJX/DNelCohgnC/jdVmU+QZCaIiKCVOStT+sB6xwlhvR4Vzj4j8Bh4iQio/ThUHjOB53AsR8Aq8qYe3AB/eWJDjlg6QMsA9SqOhl/vM+HtcH/TJVBumh0b+8BrQS+lxKb8R1ppQPSBgHqLOydO5x3232yBpYXnH2huFTfIG+oQv/Ml8TQdm3kTMde1p+9Eu+1gmF4gOUElnD/SmNX9NqwMa0yf4/MBIDDVmucD2saJiWuWXPFGr/s1kclye0ApAkTly7tdaB0r+yxs0A04uoyJUnsbLHJENIsAr9mIxbfKCWsakwpEdl2S+FTmGqJziG5tLKuS9/2dJNpmu X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(82310400014)(36860700004)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 09:49:29.5902 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 07509ef8-cc6e-4714-5ee6-08dc3cf98d71 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000FCC2.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5720 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.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/31/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=c321ba6a9d17c218f6e37a4f8600c4911ca29ec6 Thanks. Xueming Li --- >From c321ba6a9d17c218f6e37a4f8600c4911ca29ec6 Mon Sep 17 00:00:00 2001 From: Kaiwen Deng Date: Thu, 7 Dec 2023 10:30:51 +0800 Subject: [PATCH] net/ice: fix tunnel TSO capabilities Cc: Xueming Li [ upstream commit daac90272857812b3da1db95caf5922f03a83343 ] The Tx offload capabilities doesn't include TSO tunnel which will result in TSO tunnel setting to not take effect. The patch adds tunnel TSO offload to ICE_TX_NO_VECTOR_FLAGS. This commit will add TSO tunnel capabilities in ice_dev_info_get(). Bugzilla ID: 1327 Fixes: d852fec1be63 ("net/ice: fix Tx offload path choice") Signed-off-by: Kaiwen Deng Acked-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c | 6 +++++- drivers/net/ice/ice_rxtx_vec_common.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 1f8ab5158a..3c3bc49dc2 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -3891,7 +3891,11 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) RTE_ETH_TX_OFFLOAD_TCP_CKSUM | RTE_ETH_TX_OFFLOAD_SCTP_CKSUM | RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | - RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM; + RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM | + RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO | + RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | + RTE_ETH_TX_OFFLOAD_IPIP_TNL_TSO | + RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO; dev_info->flow_type_rss_offloads |= ICE_RSS_OFFLOAD_ALL; } diff --git a/drivers/net/ice/ice_rxtx_vec_common.h b/drivers/net/ice/ice_rxtx_vec_common.h index 55840cf170..4b73465af5 100644 --- a/drivers/net/ice/ice_rxtx_vec_common.h +++ b/drivers/net/ice/ice_rxtx_vec_common.h @@ -251,6 +251,10 @@ ice_rxq_vec_setup_default(struct ice_rx_queue *rxq) RTE_ETH_TX_OFFLOAD_MULTI_SEGS | \ RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | \ RTE_ETH_TX_OFFLOAD_TCP_TSO | \ + RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO | \ + RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | \ + RTE_ETH_TX_OFFLOAD_IPIP_TNL_TSO | \ + RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO | \ RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM) #define ICE_TX_VECTOR_OFFLOAD ( \ -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:31.511990518 +0800 +++ 0013-net-ice-fix-tunnel-TSO-capabilities.patch 2024-03-05 17:39:30.683566490 +0800 @@ -1 +1 @@ -From daac90272857812b3da1db95caf5922f03a83343 Mon Sep 17 00:00:00 2001 +From c321ba6a9d17c218f6e37a4f8600c4911ca29ec6 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit daac90272857812b3da1db95caf5922f03a83343 ] @@ -15 +17,0 @@ -Cc: stable@dpdk.org