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 4D008A0543 for ; Tue, 21 Jun 2022 10:12:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 072824280C; Tue, 21 Jun 2022 10:12:11 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2041.outbound.protection.outlook.com [40.107.244.41]) by mails.dpdk.org (Postfix) with ESMTP id EB76A42B88 for ; Tue, 21 Jun 2022 10:12:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dc8PHijKiiMEpxUBEYlCY/SKCy75cb1vqr1ynRNScVxfz8/9FbEPe8LQXidYeu6e8MXraotOjFAQrGIXujqv3MJt24G+Q9aMUw7SFxa3Zky1tP96INHWUHPODbbulXpXFJdyRiOkgEeaSDYKpt08oRxq8DTgylevGNyKHIEcKt2cUyj3i4i2lYfY3YlhhxJT0T0mS/Ke+G54w3kHADi0P5hhRZzJkbEEQ83L/aXIxQhCIfnMRscBCq5nyAjIJKfbFbU+EHZNcSeSKsG9CXd0GaW9rEGbW+40U3rKlu7DbRsuMzSxloyhbgARCkv5kK1SZG+KSIZ/PfShJbMAuEUGhw== 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=/1zXsgRqoqmcquU1dAgwZsIU3mH4QybOvg+KNgrXS0g=; b=ZHaMjRoj5PYUA/x8XRHft4lnjPw8bPyxFkbVYMU3rMIDuGQ/N/x/q0PE4tfKMjjV7FhOSddO5mEdMS+iQV5256f2Hp+/QuPZLvSyreevbBX/HKDev8IosTckEERYCZhqNP7oGn+U1tih/ZWUsGG48akG2iYwpNLIHHpq0cWKM6LsbsjfZH/mam/yWS/sh+t39c8iCDVijMGX1va5MgPcy1JPKhdokcvNR7DJpKPkZSOmC/R4phyvpbt4LIYLPjgT2VuPUJQiQiuq1s9p+zm0TNWlrEA6v8uLMZTbRc5x646I+j0kSgjOwUHX+XiT+G4XSfUodA7ZPbfuK2QOSOJUmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.238) 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 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=/1zXsgRqoqmcquU1dAgwZsIU3mH4QybOvg+KNgrXS0g=; b=aRR6oq/WvCcAW13DluNZzHZgLhrYNrd0zg+2MfmqhC1OZmmBSDcmgvRsaDI4T6+rzdEBTbhjRE8bgCO2z0WmbsVln8m2ghq41z5epLTuXstgWmEeheo8JKvf+fqRGGzHvFrNwoZ8/IOeLg9h//KT0QzF+eqDzwkmzgV+sXklaD8tuX3227z+G1X/xBqyUieVL83YPdYMIjLVaj4UYu1sH30ApW4C6hGtqmSBHTu3cDs5fof2GgKY8g8ijnW2JLW0At10WXZ2a0D8wbEDP8o/VPPFAsQrmFC3IcfreU45npTb3DEvkDlcn1pFVA6BHzzzYOOo8cb4YmEeN5ma8DlvcQ== Received: from MW4PR04CA0334.namprd04.prod.outlook.com (2603:10b6:303:8a::9) by BY5PR12MB3921.namprd12.prod.outlook.com (2603:10b6:a03:1a2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16; Tue, 21 Jun 2022 08:12:07 +0000 Received: from CO1NAM11FT055.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8a:cafe::2a) by MW4PR04CA0334.outlook.office365.com (2603:10b6:303:8a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15 via Frontend Transport; Tue, 21 Jun 2022 08:12:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.238) 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 12.22.5.238 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.238; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.238) by CO1NAM11FT055.mail.protection.outlook.com (10.13.175.129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5353.14 via Frontend Transport; Tue, 21 Jun 2022 08:12:06 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL105.nvidia.com (10.27.9.14) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:12:06 +0000 Received: from nvidia.com (10.126.230.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.986.22; Tue, 21 Jun 2022 01:12:04 -0700 From: Xueming Li To: Wenjing Qiao CC: Xiao Wang , Qi Zhang , "dpdk stable" Subject: patch 'net/ice: fix outer L4 checksum in scalar Rx' has been queued to stable release 20.11.6 Date: Tue, 21 Jun 2022 11:02:48 +0300 Message-ID: <20220621080301.2315720-103-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220621080301.2315720-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.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-Office365-Filtering-Correlation-Id: 8c7918e9-c2f1-4680-6b31-08da535dbb77 X-MS-TrafficTypeDiagnostic: BY5PR12MB3921:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gYdYYQUxYp7xewxVzcCKFK9HtAnaGqCTpvDmWqwwYu498w0wFeIt/exaQZ6JNdK1hb9YAIrj5NHmRTYQvyeKpeyt1lbMD/lZXPZ1N1iy07hfjGti+pqAvsnlLqAd75RYIKX/0apPDyoSnk5feImdJsrE8Qc5T/oOhFn2iWJhA3lqF4BHUcGdM1S+H36C7h+s+VXVJzmqcNN4AO6YvDVYB0teK5Sz8z0iEUgHuN25oTuFUBFP3fJ5qfvOHgPKaRNy/6RZrwAv/Bl1VeYobxDwlBuELMfYQdpK0QqsIJHZPqdqfb0QplYzLTH0H6bvwso945Z27nLBtjFgAgtqmZNrwrHkVlQJnNeWbo0/dyfWLxHyvny4pa86q4XSf43s2L3OU05qnM9d/7ad4dgqx620pCPsCNMIKCEfoFBc+4naL3TJB8DqIHPTTg9jULO4e9aoIYpg3jRsHewYeDOJhsoAgwRJJvAlqSrWrFjpTiciYT7tlxLIu3X2C817TgCnoT+jBojIPVurSzFx2h3Bm7bR/K6Df+rgsWeINs4gIb334FLeNQPq3yShKehrqwhAqLmz8Ia3ljw26qJmSFgQFWhS+n4fAQt7r1XlKaRTK/amQwJxFJn+PY4f2MLVKllcGaHaSBPxjM8wIP1CSbxmM3MxnDsN7saaivYUbfn1zpQ8qAUgewrym79Uwy8GqMDKU+/1ykVz29hwVpdhvkgj5KCj1+XLxtvMi5xxc4YaeE90PTE5ruaVHWZn+CTDKrS7lowb1DRpZN+xnQuQCi4uI+Shy1Vrjx2Qhw8TG2W23ZIE1OS7kQcAVYSQlAygBfpxw9A1vATZnKAXQsEsSXCIMRuVhNP6H6NUIHFDZ8lJ80Yatgw= X-Forefront-Antispam-Report: CIP:12.22.5.238; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(396003)(376002)(136003)(346002)(46966006)(36840700001)(40470700004)(316002)(1076003)(966005)(6286002)(40460700003)(26005)(82310400005)(82740400003)(81166007)(2906002)(55016003)(336012)(8936002)(356005)(36860700001)(54906003)(36756003)(40480700001)(6916009)(70206006)(7696005)(4326008)(83380400001)(186003)(2616005)(41300700001)(53546011)(8676002)(70586007)(6666004)(478600001)(5660300002)(16526019)(47076005)(426003)(86362001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:12:06.7482 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8c7918e9-c2f1-4680-6b31-08da535dbb77 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.238]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT055.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3921 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 20.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/23/22. 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/4d11ba721d11f38c3efbd57370b9e6c330b1ccb5 Thanks. Xueming Li --- >From 4d11ba721d11f38c3efbd57370b9e6c330b1ccb5 Mon Sep 17 00:00:00 2001 From: Wenjing Qiao Date: Fri, 27 May 2022 04:09:55 -0400 Subject: [PATCH] net/ice: fix outer L4 checksum in scalar Rx Cc: Xueming Li [ upstream commit 23e35ac5f9431139590d4a4994b6992ef749f4a1 ] In scalar datapath, ol_flag shows RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN which is error, therefore fixing this bug. Fixes: 94005e4640a7 ("net/ice: fix build with 16-byte Rx descriptor") Signed-off-by: Wenjing Qiao Reported-by: Xiao Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_rxtx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index edd21f0401..5f94b4174d 100644 --- a/drivers/net/ice/ice_rxtx.c +++ b/drivers/net/ice/ice_rxtx.c @@ -1446,7 +1446,9 @@ ice_rxd_error_to_pkt_flags(uint16_t stat_err0) return 0; if (likely(!(stat_err0 & ICE_RX_FLEX_ERR0_BITS))) { - flags |= (PKT_RX_IP_CKSUM_GOOD | PKT_RX_L4_CKSUM_GOOD); + flags |= (PKT_RX_IP_CKSUM_GOOD | + PKT_RX_L4_CKSUM_GOOD | + PKT_RX_OUTER_L4_CKSUM_GOOD); return flags; } -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:53.776917359 +0800 +++ 0102-net-ice-fix-outer-L4-checksum-in-scalar-Rx.patch 2022-06-21 15:37:49.217785224 +0800 @@ -1 +1 @@ -From 23e35ac5f9431139590d4a4994b6992ef749f4a1 Mon Sep 17 00:00:00 2001 +From 4d11ba721d11f38c3efbd57370b9e6c330b1ccb5 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 23e35ac5f9431139590d4a4994b6992ef749f4a1 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 91cdc560f2..975ab55749 100644 +index edd21f0401..5f94b4174d 100644 @@ -23 +25 @@ -@@ -1497,7 +1497,9 @@ ice_rxd_error_to_pkt_flags(uint16_t stat_err0) +@@ -1446,7 +1446,9 @@ ice_rxd_error_to_pkt_flags(uint16_t stat_err0) @@ -27,4 +29,4 @@ -- flags |= (RTE_MBUF_F_RX_IP_CKSUM_GOOD | RTE_MBUF_F_RX_L4_CKSUM_GOOD); -+ flags |= (RTE_MBUF_F_RX_IP_CKSUM_GOOD | -+ RTE_MBUF_F_RX_L4_CKSUM_GOOD | -+ RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD); +- flags |= (PKT_RX_IP_CKSUM_GOOD | PKT_RX_L4_CKSUM_GOOD); ++ flags |= (PKT_RX_IP_CKSUM_GOOD | ++ PKT_RX_L4_CKSUM_GOOD | ++ PKT_RX_OUTER_L4_CKSUM_GOOD);