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 8428EA0C4C for ; Mon, 12 Jul 2021 15:13:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D6BC40685; Mon, 12 Jul 2021 15:13:39 +0200 (CEST) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mails.dpdk.org (Postfix) with ESMTP id 93A0840685 for ; Mon, 12 Jul 2021 15:13:38 +0200 (CEST) Received: by mail-wm1-f41.google.com with SMTP id j34so11381009wms.5 for ; Mon, 12 Jul 2021 06:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ipDy/vC30JBcTYwKtm+IIBI0+lLqi1/+2NgfmZ04oyM=; b=ElGHUyB8PApR77JuivmUgR4pEhZEt57B75EkHcpSIdxXgdf2xVlgM0LEaj7u+/zLxu jtLL6m9O7mvTQ4LKd51t8UIg9TQxcIJERtkP+4xt05gnJ1YnPipLiMSv9BJSgCfUF1SK 1VmJYSSDSKFZYki8Bi38RFSJ5WfXKNX6ZLLyAsWti7xZ8GFr/R40nA+OapMor44HTj8O 0FT1sgrpV6mKEWQ4mCoZI13swlhIzFeis9OlE6GHTDKVRVsvPvviNTRDLtjp7K50d/WI YGUMAt05xQ53YgbElOFvJc2XtPdUyZUg2Xv4EqBhcoAjXPnF9NJygJYTaRnCW/nGIkzy S5vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ipDy/vC30JBcTYwKtm+IIBI0+lLqi1/+2NgfmZ04oyM=; b=kMS4fYheLgn82cCSpgVqjVxErSuSZQU4UTp5BDjaJut+wLCaYq2lbIHwkP2jbJykKB fNBiHSYbGgeMfpCjBsqND11MB6u54h3TBKsi4pqJK3G0YE0Af23tIbS4DGED9ewqZ6fb 2KT3GReX3sg4MpJD3f4SzR9KP73RWEoIpoRZWNPeeWqC/N8AkO+B3bwBUh1jFuiy+am/ R7TDGykUtqhTDDTF38U8DmXu++aK6zr6N0jvxH6cWCc2ZrX8KtNVDl7XU8q9BK6UgDud RM2NGWyvJREIylDi8S/z7a0K8yXTLUGbs1qdkEWoBwbc4l1NreX1/taA9FuoyS85lxLP /+8A== X-Gm-Message-State: AOAM532vxa9EYDuUQ8bBrXiuPD7fUFE2PQ+VgA+KUQGrrQMHjzRQicDq DHCl0U2yCYSt06dmiOQvvFM= X-Google-Smtp-Source: ABdhPJy/rwXbsgMkrm21+ZMa5fbbgLu1Pi287KWnO8d30LOhnjWUajxKz5ueyxcf92K9TSusXjiRmQ== X-Received: by 2002:a1c:f30a:: with SMTP id q10mr55349529wmq.138.1626095618409; Mon, 12 Jul 2021 06:13:38 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id f22sm12581118wmb.46.2021.07.12.06.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 06:13:37 -0700 (PDT) From: luca.boccassi@gmail.com To: Thierry Herbelot Cc: Andrew Rybchenko , dpdk stable Date: Mon, 12 Jul 2021 14:05:01 +0100 Message-Id: <20210712130551.2462159-66-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210712130551.2462159-1-luca.boccassi@gmail.com> References: <20210712130551.2462159-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/sfc: fix outer L4 checksum Rx' has been queued to stable release 20.11.3 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.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 07/14/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/5a42fb04e8809c7caefa918f7a02b5d45b087ea7 Thanks. Luca Boccassi --- >From 5a42fb04e8809c7caefa918f7a02b5d45b087ea7 Mon Sep 17 00:00:00 2001 From: Thierry Herbelot Date: Mon, 24 May 2021 13:22:38 +0200 Subject: [PATCH] net/sfc: fix outer L4 checksum Rx [ upstream commit 13fe18b3483775c2b052f4d2af330d2ef91a0835 ] Do not return "GOOD" flag if the status was bad. Fixes: 9e6e7f479ae9b ("net/sfc: support Rx checksum offload for EF100") Signed-off-by: Thierry Herbelot Reviewed-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ef100_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_ef100_rx.c b/drivers/net/sfc/sfc_ef100_rx.c index 6ec0451057..f5fa629f90 100644 --- a/drivers/net/sfc/sfc_ef100_rx.c +++ b/drivers/net/sfc/sfc_ef100_rx.c @@ -211,7 +211,7 @@ sfc_ef100_rx_tun_outer_l4_csum(const efx_word_t class) return EFX_WORD_FIELD(class, ESF_GZ_RX_PREFIX_HCLASS_TUN_OUTER_L4_CSUM) == ESE_GZ_RH_HCLASS_L4_CSUM_GOOD ? - PKT_RX_OUTER_L4_CKSUM_GOOD : PKT_RX_OUTER_L4_CKSUM_GOOD; + PKT_RX_OUTER_L4_CKSUM_GOOD : PKT_RX_OUTER_L4_CKSUM_BAD; } static uint32_t -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-07-12 13:41:40.108868276 +0100 +++ 0066-net-sfc-fix-outer-L4-checksum-Rx.patch 2021-07-12 13:41:36.558124027 +0100 @@ -1 +1 @@ -From 13fe18b3483775c2b052f4d2af330d2ef91a0835 Mon Sep 17 00:00:00 2001 +From 5a42fb04e8809c7caefa918f7a02b5d45b087ea7 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 13fe18b3483775c2b052f4d2af330d2ef91a0835 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index 8cde24c585..8b90463533 100644 +index 6ec0451057..f5fa629f90 100644