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 6C37143E57 for ; Sat, 13 Apr 2024 14:52:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 666DE402E1; Sat, 13 Apr 2024 14:52:05 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2078.outbound.protection.outlook.com [40.107.220.78]) by mails.dpdk.org (Postfix) with ESMTP id CA80840294 for ; Sat, 13 Apr 2024 14:52:03 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DIp8MfRXySzVYfz+uj2TBh6rTKkH358CVZFHuS30dq9oFTJfUetN/YAumQAj0nQFClVhAH5dsnXM/W3j20bSHg9l+yOW3ZelYQENU2rFCaKndSRZ6oFBo68252+aEZV6829CuJdyQYOI7Ai1GPM4OwEKiAd0pWfZROWABeFzJZ5p3r4TSz1d6kt5cWcP0QuNJ4+Vi7TI/Dgf6jKytywDl+wpBzews/pKKinQW3LD3g0b/QwKHdsyr0A9y7U2c5T9dSQ7g3dWzG7wi2mwM8/HEW+cWdO0VMjR8H6ISsTXcGtnHCdgq9ZbvXU0KtCVpppyBYrZV24+NJczcVVzRZo/Cw== 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=SYjTovh2FKdUZ+weBOD056NqikMvwDljVERCxuxWuwE=; b=g9yp8w9fsvwut1npHhUxZew5ha05YgUaCePnoMTSjkFO7tbkibCdG+JAzIcOdJYRx3i8Y70TtxYLACD2t4YIdczDhDbAlH3yhVaFa3Y0qoUqw6mUHCmh3XDdFWtI1+JSK1aAL0E96Q0s203xo0nrvrcbnPbq2sJXnjiCc3nFVx7pK/GOYltzl70AWSjkYLXrBon2kcRbVGfdJgX7zIxeYNh4SiDOpg4/2maHd4v0qPD1I1KRk6TyMzBDiY1CbMvbDyVtzs9M3HNWzb5ZatWp/iAC1XmJDpA+ECWjqjFIQL52098fo7VmKOWu+zH5qNtFEqXAU44/uekx8VvIvT3U4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=gmail.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=SYjTovh2FKdUZ+weBOD056NqikMvwDljVERCxuxWuwE=; b=rx0EUoIofEhOxaHFQtnG9oCQhDvhafAmI+qMkUXJtsSnaLK0L230M9ch/jbxPtBxgQJXV+3BqzRzgTVVn4Eyvidx8INQhqIX5EP6zUhUBdJ2x/7EN9T3qVKtd0TKa7bv8ACtSKcsJKvgZRJFDw/iabuhxO9o7+q0/0PMKbxMPZLkE1Tos2MlMJACD5qQ5TldoRrXVRcTztm9OGT80FctnMWiemRPm7aBCD2p4UJI7+Gt48K42VmU5mxAsdAMcKnOUbbb/ndE7j0y7Ca8IOnFqnwaioMptu/sJiXgkEoXllzkCaJke3pe1/HW0yxFW5dOzIv4k77Gv6QPfPLW3AKaxw== Received: from BL1PR13CA0334.namprd13.prod.outlook.com (2603:10b6:208:2c6::9) by CY5PR12MB6454.namprd12.prod.outlook.com (2603:10b6:930:36::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sat, 13 Apr 2024 12:52:01 +0000 Received: from BL02EPF00021F6D.namprd02.prod.outlook.com (2603:10b6:208:2c6:cafe::c4) by BL1PR13CA0334.outlook.office365.com (2603:10b6:208:2c6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7495.13 via Frontend Transport; Sat, 13 Apr 2024 12:52:00 +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 BL02EPF00021F6D.mail.protection.outlook.com (10.167.249.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Sat, 13 Apr 2024 12:52:00 +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.986.41; Sat, 13 Apr 2024 05:51:50 -0700 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; Sat, 13 Apr 2024 05:51:48 -0700 From: Xueming Li To: Kumara Parameshwaran CC: Ferruh Yigit , dpdk stable Subject: patch 'app/testpmd: return if no packets in GRO heavy weight mode' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:17 +0800 Message-ID: <20240413125005.725659-17-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413125005.725659-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> <20240413125005.725659-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: BL02EPF00021F6D:EE_|CY5PR12MB6454:EE_ X-MS-Office365-Filtering-Correlation-Id: b3ec16e6-dbf3-463c-e378-08dc5bb882ea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 83yYtz63UNWHsdSb/Ndf60kXJIoRpNAwFPAtG0+ItwB2+BG2ht8Frx5aNMb8uN05EzafPmwic9Y2qFLmHJWcv2/9k0momMm3/UkinjXDyJXKDD4+O018qoxktjSV3tZBHwo4nDuT1KN0YiGafSLvJwutQWJ309jcx+dKevt5CYtfNDSwz8M1ePdlkuK84tsT6RhlmuCixkFcClW0oZh021jujg/X48M2OB0EvDXf8qhzZ1PooWZG+FL6Ez9aEhzwTprpXjPFNko8xvwTfy8mPjOvE+Vg+qTKXlnt20eSxIuVRsHhQhxbHp6WLPSjTnMXqgCXFHhnRfE4RJnSARMtjl7o34MNo+jUQDg+Ohe57DJtH8kPpzvVyYq8EGkyzGBpRvAZboiw9noD05iym5zDuOBXF8wL3AGVLexqWcso3zwdqOy5FhYBVJ09XhWLDQkHrTjBWEPh2JxY0VHzqO1UZAVh7T4r3HgCwD5rBk4OzH1IZusai567BVM7vcVQkzqAe746aCDty/g44AJ2gTGNJx//FZ+Hjo5fSdNcJZh/m5/foLd4TCozcnlWjuG26eQTP3nJd239Z3t8755J1kctrLG9MGxs7p+2Y/V1VlXEO1lDxzpUSM+u65kcNnS0nbGFXFaOYOkxfHHdzNPUpw4whMTPpIEbLmXgqFZCNhi21j7CQXjgxpTs7SY6pFhnFPQG3gi5G3MwEh+DadeAX9LO0debeu0Hq0mpoNxeJHXrEogp1Z8M6LL6GcS0hg/wgP1J 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:(13230031)(36860700004)(82310400014)(376005)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:52:00.6278 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b3ec16e6-dbf3-463c-e378-08dc5bb882ea 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: BL02EPF00021F6D.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6454 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 04/15/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=92ab2d6da25f20572d4fd77e5ff792eae6e6504d Thanks. Xueming Li --- >From 92ab2d6da25f20572d4fd77e5ff792eae6e6504d Mon Sep 17 00:00:00 2001 From: Kumara Parameshwaran Date: Sun, 25 Feb 2024 11:46:36 +0530 Subject: [PATCH] app/testpmd: return if no packets in GRO heavy weight mode Cc: Xueming Li [ upstream commit 0007e4045c9efe6a20ad2590dfa68a86cc778b48 ] If there are no packets flushed in GRO heavy weight mode, return false as this fall through code would return true indicating that packets are available Fixes: 461c287ab553 ("app/testpmd: fix GRO packets flush on timeout") Signed-off-by: Kumara Parameshwaran Reviewed-by: Ferruh Yigit --- app/test-pmd/csumonly.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index d73f08b2c6..6711dda42e 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -1142,6 +1142,8 @@ tunnel_update: gro_pkts_num); fs->gro_times = 0; } + if (nb_rx == 0) + return false; } pkts_ip_csum_recalc(pkts_burst, nb_rx, tx_offloads); -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:05.694181222 +0800 +++ 0017-app-testpmd-return-if-no-packets-in-GRO-heavy-weight.patch 2024-04-13 20:43:04.927754023 +0800 @@ -1 +1 @@ -From 0007e4045c9efe6a20ad2590dfa68a86cc778b48 Mon Sep 17 00:00:00 2001 +From 92ab2d6da25f20572d4fd77e5ff792eae6e6504d Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 0007e4045c9efe6a20ad2590dfa68a86cc778b48 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org