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 BDF13A034F for ; Wed, 10 Nov 2021 07:33:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B7D4C4068B; Wed, 10 Nov 2021 07:33:55 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2067.outbound.protection.outlook.com [40.107.223.67]) by mails.dpdk.org (Postfix) with ESMTP id 2FBB940142 for ; Wed, 10 Nov 2021 07:33:54 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z/AiNY9mG8d3/knto4Oo7Y+nSun9TsyTvwsW3/81eHcCW/Iuhsodj0rVZqbzk7AQM+T4P/ScxIuyE228rsAinN1SPHoCX0o07AOVCwmagWHBqPhT2ayGLY6GHso6oHoOo0HaEXk0cQLKCf4lrP+2EGui9Xuns1cesu2Xhk59q+ZBnSYboH2Bc5x2hmoVHoRKK5GBKXwUQlC3n3h+rwjQnuUul3EmbCKUcds8J8idvq/ypRG1WM8+6QGl8mIx4KzZi9uXYvtOQnWZjpIoDP6nvxdyUgqsyS4jiqk3LQ+jR8MgfqSP92zRjGG2Y4mvrxzCz7qcxMJktIlBtErtUlcfQA== 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=1CCk9sY3h178GEotnTuBNBX2WwyCoTzAvG6ET3Uy0Bs=; b=ND7sI8/ogn39/ZuVOlkVRSz7tNTuXUUaJ4RGQ7bz4vfYJW38iDT0HrNAzG3LAhH+l2raRwjicXHd4GeDlPS0s4eJeRZtGYifWiIgrmSt9TsLPtHQGCQqNS2P0ssiq51lnRdnoDc18WWGJ2RY4v4v023My8oiK2gdzjivKHmqpzYiqoaf+GhQlK/vJPfFepqUap2QsENz83t9VlsFtO5AUe6fozhbH7rHblPbidVoZM5sh+CfDkFm+6Grvpesc0GaAcICK+A/r7kQ3j4otT+B9GHAITj/EJggEUfgI9RSxNLv0cglD2IDAlKgrPbyU+EcSEwYiEc7IiUM/b39n5JNeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none 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=1CCk9sY3h178GEotnTuBNBX2WwyCoTzAvG6ET3Uy0Bs=; b=DSui/9IecBIiR/EyWlSj0abO+VgP5cWFGOo0fGF4J+pBizVhMwZ4MYD/lh/sIqFU8hzBfpYo02eY/cmPysvy1z4gOsr1l92H4UNHf8BhHG9OOrune5LFf3tzJ/5yYso1MwhtUPQiex3UP63zpHgAghXWwrp+mmOYrRXDXQqHpWXRoPhhRiogUMeFSp1y2XivHEGtFj4JQMb385auJvUG7hR3Zaq5x2rOCmO3xwK+KNoAmecpNitp9vlUtFFeYjP0OJ4/F2LstdVQjYmr7JNbU9d1QA5AT/WNf80ifn1OlwXkrpKUiDewcduqmCvPEdL/HKtkvUq64AzbB9qLC82/8w== Received: from DM6PR11CA0045.namprd11.prod.outlook.com (2603:10b6:5:14c::22) by DM5PR1201MB0138.namprd12.prod.outlook.com (2603:10b6:4:56::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Wed, 10 Nov 2021 06:33:51 +0000 Received: from DM6NAM11FT046.eop-nam11.prod.protection.outlook.com (2603:10b6:5:14c:cafe::be) by DM6PR11CA0045.outlook.office365.com (2603:10b6:5:14c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:33:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT046.mail.protection.outlook.com (10.13.172.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:33:51 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:33:49 +0000 From: Xueming Li To: Nithin Dabilpuram CC: Luca Boccassi , Xiaoyun Li , dpdk stable Date: Wed, 10 Nov 2021 14:28:17 +0800 Message-ID: <20211110063216.2744012-14-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 81ea5601-233a-4418-1f4a-08d9a4140f89 X-MS-TrafficTypeDiagnostic: DM5PR1201MB0138: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LDyErHdr3pM19HHnqh+qw8v6xeB0GgIdgSsBdVQMsAdCeZCsHzoVm0lWib0GSJLg962/9DTGs7V0mKoWmz0ZjhmnkgdkJd2YXFUq0L4n8MjsRDeb0adLoG8phlQA9YaKP7nFfvD1moL8aTNtTLhRTASE9Sx0d4uAuOBgMkmUCSRcBFdDSBsQhwaCzUDDb12ScrDqH/8ioMmbEpJdN6hbR2QQOXHi1Ub7ug9oTuSgFwlpa+06yN0Ms9vZaBUv5p8oNUEPIIiAh9e8igwfFvvuTphBBUJz1Ts/xtcudetOUVEXfjk9AGWxGVOcguCp6KPkGqbtDgTpQMgsE+sbElsbMps0RzXzM+BTChUki+dGnRgw0MdCwgeO6VF15WL+iFJIyb9YxTD6asaSIn0nk80UVOHVC7YsfCzbvzfJJEhBYeq4nd7QxO3xMseXM14f77UXzQe2lM2TIoaqrE6culo85A5rDdPfdnpTqNTAkAdY6yulkCZwE1gdz/tUadRnlzFUJFuAttscllkY70uu/AiC/2oRt6nI2UKV998xbqIFmxpXK8CTjHBV5T7uOyetcCdXLnCaD/RafECo8jyXhpGJPBGMUkeaC9UXLJFKHefZrIDCLUThgqo/3+A1FMux6UFSYer4AckgPksqK9F9ivSf93KFJXcn2UqO6IaAvYUclPv8MJ5UIqX2e/4lCdBBsuzgw0y5GtJLfQjJAZ0o2E0iQuK8SK62n6BD6+v4cMCm1677Alh/mmq8B4uJhh6xl11GjMOUF8DlYPxEN5Auea1TeWgSeeTFFAKurzU3FzBWTrNL9GVtl3mH+qDXiT7TC/+adOt/yS+qwyWYAyvYuhqJmg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(6916009)(8936002)(70206006)(47076005)(316002)(36906005)(36860700001)(36756003)(4001150100001)(7636003)(2906002)(7696005)(6666004)(356005)(54906003)(6286002)(8676002)(55016002)(336012)(83380400001)(5660300002)(1076003)(4326008)(70586007)(2616005)(426003)(508600001)(26005)(186003)(16526019)(86362001)(53546011)(82310400003)(966005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:33:51.5392 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81ea5601-233a-4418-1f4a-08d9a4140f89 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT046.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0138 Subject: [dpdk-stable] patch 'app/testpmd: fix check without outer checksum' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. 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://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/3dc611ee158fda0bd0378a4a82207b38b187398d Thanks. Xueming Li --- >From 3dc611ee158fda0bd0378a4a82207b38b187398d Mon Sep 17 00:00:00 2001 From: Nithin Dabilpuram Date: Mon, 16 Aug 2021 12:39:41 +0530 Subject: [PATCH] app/testpmd: fix check without outer checksum Cc: Xueming Li [ upstream commit 4219d7670e8535e7d4b43233866a587b015e3f43 ] Donot use outer metadata when neither outer ip checksum nor outer udp checksum is enabled. PMD's will ignore the outer_l2_len and outer_l3_len in cases where none of the outer checksum is enabled and hence only l2_len and l3_len will be used to calculate the offsets for L2 or L3 header. Fixes: 3c32113a1aac ("app/testpmd: fix IPv6 tunnel checksum") Signed-off-by: Nithin Dabilpuram Acked-by: Xiaoyun Li --- app/test-pmd/csumonly.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index b0a58e8573..aab59e0934 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -957,8 +957,7 @@ tunnel_update: (tx_offloads & DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM) || (tx_offloads & - DEV_TX_OFFLOAD_OUTER_UDP_CKSUM) || - (tx_ol_flags & PKT_TX_OUTER_IPV6)) { + DEV_TX_OFFLOAD_OUTER_UDP_CKSUM)) { m->outer_l2_len = info.outer_l2_len; m->outer_l3_len = info.outer_l3_len; m->l2_len = info.l2_len; -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:02.718926036 +0800 +++ 0013-app-testpmd-fix-check-without-outer-checksum.patch 2021-11-10 14:17:01.754080379 +0800 @@ -1 +1 @@ -From 4219d7670e8535e7d4b43233866a587b015e3f43 Mon Sep 17 00:00:00 2001 +From 3dc611ee158fda0bd0378a4a82207b38b187398d Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 4219d7670e8535e7d4b43233866a587b015e3f43 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org @@ -23 +25 @@ -index 607c889359..38cc256533 100644 +index b0a58e8573..aab59e0934 100644 @@ -26 +28 @@ -@@ -961,8 +961,7 @@ tunnel_update: +@@ -957,8 +957,7 @@ tunnel_update: