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 B45D2A0C41 for ; Tue, 30 Nov 2021 17:36:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A813741177; Tue, 30 Nov 2021 17:36:36 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id E70D341177 for ; Tue, 30 Nov 2021 17:36:35 +0100 (CET) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id BC84C40009 for ; Tue, 30 Nov 2021 16:36:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290195; bh=G1ttfu/35rjK5ixArDe9SnRpI6WxKyOwOeppHZsyY1I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=s+Ih9jOjVulGV1sVdXrmVbZiz7fxjEUBRRuPazKMdVv9GfnJQF6b/3t0PIaihP9qx LfKtKJLdIuk6JJXT3wrOVtNBi2T87lTlBHdQsJeZgp2S7DUDcv193PrafZUFQXHPSt GMARZ2QlLeJ92rsMAtn/evXqau6S4IH0gWaNpXhBuE6G2x14p+AJ7oTUupynMqYiMk U3p79PSG5EOOZnTx9gZPMv/wf3J5E4xo1SV5w7Bpmxk+H1mduQlIvkiZOPVDNm3bVe pNd75M2c7REWadv+J3Sk4I1eRQk0naN7L97vZVdJvSPEhIF9SourTsXvcEcAK5hUNy I1km5rLc7TASg== Received: by mail-ed1-f72.google.com with SMTP id v10-20020aa7d9ca000000b003e7bed57968so17399607eds.23 for ; Tue, 30 Nov 2021 08:36:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G1ttfu/35rjK5ixArDe9SnRpI6WxKyOwOeppHZsyY1I=; b=Z/zF+Soe6BnYQMKoR5QoKRheuC9jWRu4t0VMwx/UlOEsG0RB7V9meYBq191D+Avs1c ZpxOC4t402ynGJ+g7tVqU464Mrox9PX+kMWa5nO7ZBHFdUNL+IPirYLkphqjy6U7opFw oiJDwQxIUQmdTsHLvxxMbPLhJhrDwJT5PSWIsmRSPL95KePCvWSMEzTxCyHB84ZruoBk nzNsjqFMTICBPRovZR1zDUTicJjpccT/OoyPak2SmRz4uzt4KcFnXZFk/KKQuqUHq4AF TNxNRuv5WRZjDH07R63GeqrxnBIhVXhcW6EWfnRv0NjApMk3P2g4rGlYCgMFTuitD1K9 nxNA== X-Gm-Message-State: AOAM5332MGrCU7VKTfHx/nobcvYinGZIsbQnMWk2kn4arUgQmeVXTs5M 4/L3C8vLjMxNdcusnqL3YemwqUoi4GDyu5Vk2/UZ6rHx3QlYLhZGBiYfw2+QFW1sL7QPpSpDT5V jFjipp/2IpXbZddNvpvukwt/j X-Received: by 2002:a50:bb2a:: with SMTP id y39mr58340ede.348.1638290195302; Tue, 30 Nov 2021 08:36:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJynemr7lo4Mes232doE1Rv4fBFx4pY9PuI2z/hC85lb9gpUT+ZKT/uq0iNtGpaS1LvNNpNehQ== X-Received: by 2002:a50:bb2a:: with SMTP id y39mr58312ede.348.1638290195108; Tue, 30 Nov 2021 08:36:35 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id e13sm9224302eje.95.2021.11.30.08.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:36:34 -0800 (PST) From: christian.ehrhardt@canonical.com To: Nithin Dabilpuram Cc: Xiaoyun Li , dpdk stable Subject: patch 'app/testpmd: fix check without outer checksum' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:33:32 +0100 Message-Id: <20211130163605.2460997-8-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/82785ded07a1503e692bbdbc7a182a4f19d458ec Thanks. Christian Ehrhardt --- >From 82785ded07a1503e692bbdbc7a182a4f19d458ec 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 [ 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 29044c4170..ed18843d09 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -927,8 +927,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.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:06.629280326 +0100 +++ 0008-app-testpmd-fix-check-without-outer-checksum.patch 2021-11-30 16:50:05.514871505 +0100 @@ -1 +1 @@ -From 4219d7670e8535e7d4b43233866a587b015e3f43 Mon Sep 17 00:00:00 2001 +From 82785ded07a1503e692bbdbc7a182a4f19d458ec Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4219d7670e8535e7d4b43233866a587b015e3f43 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -23 +24 @@ -index 607c889359..38cc256533 100644 +index 29044c4170..ed18843d09 100644 @@ -26 +27 @@ -@@ -961,8 +961,7 @@ tunnel_update: +@@ -927,8 +927,7 @@ tunnel_update: