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 C89E6428F8 for ; Sun, 9 Apr 2023 17:27:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C349740EDE; Sun, 9 Apr 2023 17:27:48 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2066.outbound.protection.outlook.com [40.107.93.66]) by mails.dpdk.org (Postfix) with ESMTP id 9D4A2427F2 for ; Sun, 9 Apr 2023 17:27:47 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hTIg6LH1klatUpnNAoYgcaawElh+X1bCgspIRea+cqla9tdTU0kIkaj4+UH9ltfmeBG6HLcmGS76BkK8EIysUrh1q1Zhsc0mZR6fNX94TkZQ3lsHcEPRi9gQ5xfGWXLi3aGIZMayrz/+kG7YEsyPQSTUUBM+8zS11XpW0ksyd6nT6WxEvmMpdxP+f8NpuULfFEcZbKBybVNDetQ7QZQIt0uahe4FAFGmGnB/uVIo/jOVkJLUWOKxUlBkkNP8Qs6HTLpsOQ/+jTTvno2X+eK1b1AwV3hCcyFgOo/vh04AjJJiL0aZPf1CUrkLUESPKkC9QBN0nKdbn3Pt0qubphfLyw== 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=8p7DUSC5jQIlS+Z60KLF8zgmBVnjUXmfe6eRv4wtBBI=; b=CPt4K6ACHDGXu0zr/YOjD40O90rxxbfyRDT1KkHhGUMoZyslhbKoJiKOLv+HMfWhPat+e19fRxLT51mm9tsg24RL85rV/Dkcw3iDWoItxpZPd2EF/SEN6l5bFD9kv8tX5PvRibFCk09rnKeQTggeJhetKs13DFI8j5++YziB3CSSgorJrkiEefTQaHjzMPIvOVkAIEl2TSghMNbZ+CT0jbOqSacihW8UNHJs93ujVXHPHN/KkDO6O1z8fZ9yzcjg/KJ9sJIybrrXbF6+xWubpWj0n7/ZuqiwBEpjgdcQQctDX8br8Lnio/Og+26nmt8b2ujxVYcMUWrM7aXT6Aeuvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org 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=8p7DUSC5jQIlS+Z60KLF8zgmBVnjUXmfe6eRv4wtBBI=; b=Sb8kNiHeY4PrmqmbLNGnsJKy4CZgYJ+/CulE9q+hiRnktxHlnQjff4D0plHW5y1D1UaBIFVgSdrPVZ/VXzqRvQKNn1oB7oAkjaR6WQkckWv20FQhWtaDmga5Qd+wyrtmzwpYOANCDLyrnMduoGPrprVxqcbc7j8Acpg8IxtbOTYOuW3s/RymW7aqr0aygBb3NtiWBuxL5qsQKb5L6Idp00ufZRrwhVJFjsZlDD+DYd9s1OM9OPLUD5ukEgxgrL+tMZZhWud/6pl3y2dcz5U8xL5mtJZRYM2hvIHgEpu2AnntGHlWETZkkpY8jHoBK/86z4R5uLR+fDyqPaJ/1+lhZw== Received: from BN9PR03CA0841.namprd03.prod.outlook.com (2603:10b6:408:13d::6) by SA1PR12MB8643.namprd12.prod.outlook.com (2603:10b6:806:387::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.36; Sun, 9 Apr 2023 15:27:45 +0000 Received: from BN8NAM11FT105.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13d:cafe::d9) by BN9PR03CA0841.outlook.office365.com (2603:10b6:408:13d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.39 via Frontend Transport; Sun, 9 Apr 2023 15:27:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN8NAM11FT105.mail.protection.outlook.com (10.13.176.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.26 via Frontend Transport; Sun, 9 Apr 2023 15:27:45 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sun, 9 Apr 2023 08:27:29 -0700 Received: from nvidia.com (10.126.231.37) 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.37; Sun, 9 Apr 2023 08:27:28 -0700 From: Xueming Li To: Michael Baum CC: Matan Azrad , dpdk stable Subject: patch 'compress/mlx5: fix output Adler-32 checksum offset' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:23:29 +0800 Message-ID: <20230409152529.5308-22-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230409152529.5308-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230409152529.5308-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT105:EE_|SA1PR12MB8643:EE_ X-MS-Office365-Filtering-Correlation-Id: b970957a-302f-48c4-1b96-08db390ef822 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SyEP85qwXSxulcM1sUKOYyC/M2p7hby/PBhyBmck74kl+jY3ucwTk7PyipDfU2URFhm334T+AlLrviJlRTMP3vR5fTTI2dUWANqgC++xrZ4ZH8vXtr7MfXZVQ+9j0k4CwZ58V8d6hFPmGwdpf4wUdwJ63FoyZ/gq3gNozGpaJwAoY6ZYt/fa8iu84LOaUMZksedPMq4HGJ5B7UBea8GL9ZQ5njnNDe3KdRp7oEtZqKpYBvvP8y9yMauxEOfkimbKbPqA3gcZmO9FU0QXe+Xj4lEAzwewjKfedVE2ZixdtTmybliY9beh0Rh2W1mS8eBxkgyHEFpR7AV/FiSTzWFc9Qlr0H+MakU0n3nvFyJ/Q9EsOhGrwYqqFEtOZ0I04DcRzvOPlMFWZDiBxNJOWiedDvIlZwzyFe6J0/QEjywEc2vjW8HSiaElqmNwea+ex5roELJ4BU+NRPxknWKk67lS27we57VzyDWSumONfZQHz3VhuYAZ7z0+M2C1uNm6qgGmlBQze52Pt+Vca4WMPZfHlqL4Fw+IwnsQrt5G5IXahXtEqyN/Baqavk67f5CcdRLsgdH30NUNdxK3E/OHZ78bcXhhC0/3U8ZlM0HsfI15HFQhWig/s5TqKsJSHFQHQ6oM89r4cxufa7Qr+5QskOI5luhUdPccF75OGQE6+7hK7P/WHWov2KWuSUk8GALCfYObAevHEdNxg+SgwnpHJhk8RPsLfLwufekWB1/vszywVHiA1kzFC6aNahcSRxZiMI01ttMq71DU0BcUBD4uVjYL0UX4DREveVyPnXt7yYhCZV5a5CnJDKdfLQy+KOmMagotf2tZGFYjYH0Qu83WTwL1EQ== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(346002)(39860400002)(376002)(136003)(396003)(451199021)(46966006)(40470700004)(36840700001)(478600001)(7696005)(316002)(54906003)(6636002)(37006003)(1076003)(26005)(53546011)(16526019)(6286002)(186003)(966005)(2906002)(70586007)(70206006)(5660300002)(8676002)(4326008)(41300700001)(8936002)(6862004)(82310400005)(356005)(82740400003)(7636003)(55016003)(86362001)(40480700001)(36756003)(40460700003)(47076005)(83380400001)(2616005)(336012)(426003)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:27:45.6180 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b970957a-302f-48c4-1b96-08db390ef822 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT105.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8643 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 22.11.2 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/11/23. 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=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/2a091b2f313b48586a31585f278d14e9938ef6d3 Thanks. Xueming Li --- >From 2a091b2f313b48586a31585f278d14e9938ef6d3 Mon Sep 17 00:00:00 2001 From: Michael Baum Date: Tue, 21 Feb 2023 09:07:50 +0200 Subject: [PATCH] compress/mlx5: fix output Adler-32 checksum offset Cc: Xueming Li [ upstream commit d54dd89f49ded1e2d8d0e83710b2347a5de4d7f5 ] After de/compress dequeue, the output checksum is copied into the op structure. The "output_checksum" field in op structure is "uint64_t" type, and the 32-bit checksums (CRC32, Adler-32) are copied into the lower 32 bits. When both CRC32 and Adler-32 are configured, CRC32 is copied into the lower 32 bits and Adler-32 into the upper 32 bits. However, in mlx5 PMD Adler-32 without CRC, is mistakenly copied into the upper 32 bits. This patch updates Adler-32 output checksum to be copied into the lower 32 bits. Fixes: f8c97babc9f4 ("compress/mlx5: add data-path functions") Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/compress/mlx5/mlx5_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c index cadff83f27..c46fb4eb89 100644 --- a/drivers/compress/mlx5/mlx5_compress.c +++ b/drivers/compress/mlx5/mlx5_compress.c @@ -633,7 +633,7 @@ mlx5_compress_dequeue_burst(void *queue_pair, struct rte_comp_op **ops, break; case RTE_COMP_CHECKSUM_ADLER32: op->output_chksum = (uint64_t)rte_be_to_cpu_32 - (opaq[idx].adler32) << 32; + (opaq[idx].adler32); break; case RTE_COMP_CHECKSUM_CRC32_ADLER32: op->output_chksum = (uint64_t)rte_be_to_cpu_32 -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:39.365897400 +0800 +++ 0021-compress-mlx5-fix-output-Adler-32-checksum-offset.patch 2023-04-09 21:45:38.599042200 +0800 @@ -1 +1 @@ -From d54dd89f49ded1e2d8d0e83710b2347a5de4d7f5 Mon Sep 17 00:00:00 2001 +From 2a091b2f313b48586a31585f278d14e9938ef6d3 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d54dd89f49ded1e2d8d0e83710b2347a5de4d7f5 ] @@ -20 +22,0 @@ -Cc: stable@dpdk.org @@ -29 +31 @@ -index 06d1ff5b95..82088a7b8c 100644 +index cadff83f27..c46fb4eb89 100644