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 69B3B41D8D for ; Mon, 27 Feb 2023 08:06:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6628940A84; Mon, 27 Feb 2023 08:06:35 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2064.outbound.protection.outlook.com [40.107.101.64]) by mails.dpdk.org (Postfix) with ESMTP id BDCC840A7D for ; Mon, 27 Feb 2023 08:06:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PoQfxwu8ABQhg5YX7LBa3YVGYVVzANoq+mqSbcIMNd+oqjEZiYQ74f0v9X0bWd8V8jcPh2J42IVEFNdLEAWVcrN9wKNoLJPXQYjAvFY9rGexqhz6Q6lyNowSPInSGNTmNUpwEJNsdBKdYbSiih/4wZrO2Xg8JdOsEG1AwFLAh/8u5FvQl9biBvb5WZp75NfWMu5dKUz9eF0EwVOQvcwwxCCp3mExlE3visM/vDzgOgxf39FI3qNaVWkw+jSXqK5fqMwZt4xn//wP1qrNXchipvFVANJ1CjH4X7bs77o/RhL3Vg0rXbqdUP4g8eyBvJludUu+RPffz/knXb/z/okVVA== 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=+ze/451BwMh1n2G2dLngseO/VvL26my8xFFO0ayjvB0=; b=He1RLCLJK0Hqf3sVcYRuSEDtD+3sBHMYKYY8cq0NI+fOtTzaEePNssFBMuwIsXZ6hQi8YwZfZzJnnEDAN81nlB1ku5iHNYtwLsvaqwJm/j6d6huThLJ+Qw6RkZ6YSeyIa6NGJEpL2mksZ4+hqhBOqRHyzHhU+fZzsFKe8YxqNF/IlgoOWByMvXV1TNKeyb5CqxmCegVTuymgHniVhoRcXrADkvFo+7g1mDuf2ejJhCWoyx//YRj8loHEPWkq+TSaHs+vVCl6dtJoGulAI7p6Ro8mPynkoFVygK2T3MZ4Fj47u0ucYKt1zF2qOqG6SKj8xdBiPbpcArwx4iTZeD59YA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=+ze/451BwMh1n2G2dLngseO/VvL26my8xFFO0ayjvB0=; b=Zcvk7I1j6XKdUvzDCpe+xTKeA77hj0qneLK6aADfJqpNnv/iz4W5YXS7CbFA/puia0HhAf1fwHIPanCYufTIKzrHRT4yHXA1W7lIsRoadX6o95RYX03xCF6LYslaI3ofXK5pyfqXyE4mbL25zjEmSFuHrxP32ReB9alYVp2k9NsCrZhV8Qci94jvG9CxNhSFT3zC19bT++0B1rledyZz5zvB24gy+JuxupEdsBNlFGNSmch2YhF6uMDedvpDBMfzYrSf2JqMv3/ercwRY4C3SgDzsnIOq998pLaq40KmtmsWOWp8206moVRQeztdlBK+cBS2HklkE54o0n8lBT2yHw== Received: from BN8PR03CA0035.namprd03.prod.outlook.com (2603:10b6:408:94::48) by IA1PR12MB7664.namprd12.prod.outlook.com (2603:10b6:208:423::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 07:06:32 +0000 Received: from BN8NAM11FT010.eop-nam11.prod.protection.outlook.com (2603:10b6:408:94:cafe::1) by BN8PR03CA0035.outlook.office365.com (2603:10b6:408:94::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:06:32 +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 BN8NAM11FT010.mail.protection.outlook.com (10.13.177.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.15 via Frontend Transport; Mon, 27 Feb 2023 07:06:32 +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.36; Sun, 26 Feb 2023 23:06:21 -0800 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, 26 Feb 2023 23:06:18 -0800 From: Xueming Li To: Hernan Vargas CC: Maxime Coquelin , dpdk stable Subject: patch 'baseband/acc: fix acc100 iteration counter in TB' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:15 +0800 Message-ID: <20230227070107.15664-47-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-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: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT010:EE_|IA1PR12MB7664:EE_ X-MS-Office365-Filtering-Correlation-Id: c568f437-8857-4462-5090-08db1891281c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hqHWjLez2tbswOID8Ubb8VX8fzr4FpFz6JViNFjfkNdaqCrVnARhyM+jXcqsorqHbcIajmDhqwqxe8Xa0D6sXeQR+PEy6b4u8OqOngPxjASH1YwZGK7Mlru3bsTtqOBJ3HFscTe1Zd5wF1Iz3aXxgR5QF6YdFN7h83q8ZdbK8shjUaoTSMZD5Bum8aNuFpmBP1aIznzOH7CPVjLH97pjt25iRHk7RxXfjdDaJ5gDRGY7mIU/VzgIqtDoqTuGcR6h7KTFKPeFT1y1m9kCDDac39X2e0X8wzh81YpTLTJwFn+Yo7121pHiZk6sKaiAv3czIskSCXNJImmXlQMg4Fl695w1i2Qq/kIpFuL2hUNvcl2B6FWP7anijEUAHJ4d2WlvqR9Rgz+LqIInN8CRItE7eK1pZZxZRblaClEqjiKXxAFmL480dgYOvpVgGu7NOS1qA9UaIX8mRs6pQtRXdtTjK8fTLMLyZA4ESMkVbcfSBo9EnuKhjAyV3ae90wVeTbB3vz8SAp+WQnHmV8ky1+6aeGFl8PVHHdIiK+AD5XdoTIDPda92zitXqUUP86xcO/6gIJ5dePM05gWB+Toie1MpVzVABpAc9sxNCXhuFxW2bRZL1Ll6pqBmBp5nxog9oqnd+JH+mCY937JBsxqPT1ofVhqs37AQuPQ08Da3yIB/DiyCWgzWg9pnzVia+BI0iEo1U67n5fkIyNyebVvBvLF3Xh3MANQEpkG6H/bM7M1lWcnAxDlgN7I7ID2hsJSlY39HvMPDtNtPK7zkcIblcpkewLkRVZBN3KGP9SfCCizs30SrbHjfz39lWcean96A91Yj 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:(13230025)(4636009)(39860400002)(136003)(346002)(376002)(396003)(451199018)(36840700001)(46966006)(40470700004)(82740400003)(34020700004)(2906002)(5660300002)(82310400005)(83380400001)(8936002)(426003)(47076005)(336012)(2616005)(356005)(316002)(966005)(86362001)(40480700001)(1076003)(6916009)(53546011)(8676002)(26005)(6286002)(16526019)(41300700001)(36860700001)(186003)(7636003)(478600001)(7696005)(54906003)(4326008)(40460700003)(36756003)(70586007)(70206006)(6666004)(55016003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:06:32.3294 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c568f437-8857-4462-5090-08db1891281c 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: BN8NAM11FT010.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7664 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 03/01/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/commit/?h=22.11-staging&id=3c330a28d7af148967b1932b4004c45359cd805c Thanks. Xueming Li --- >From 3c330a28d7af148967b1932b4004c45359cd805c Mon Sep 17 00:00:00 2001 From: Hernan Vargas Date: Thu, 12 Jan 2023 11:36:04 -0800 Subject: [PATCH] baseband/acc: fix acc100 iteration counter in TB Cc: Xueming Li [ upstream commit 12f2bce128a1766765619357f707430c506c7bc6 ] Use ldpc or turbo iteration counter based on the operation type. Fixes: 5ad5060f8f7 ("baseband/acc100: add LDPC processing functions") Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c index 0177a9e0ea..d77d3b77b5 100644 --- a/drivers/baseband/acc/rte_acc100_pmd.c +++ b/drivers/baseband/acc/rte_acc100_pmd.c @@ -4035,8 +4035,12 @@ dequeue_dec_one_op_tb(struct acc_queue *q, struct rte_bbdev_dec_op **ref_op, /* CRC invalid if error exists */ if (!op->status) op->status |= rsp.crc_status << RTE_BBDEV_CRC_ERROR; - op->turbo_dec.iter_count = RTE_MAX((uint8_t) rsp.iter_cnt, - op->turbo_dec.iter_count); + if (q->op_type == RTE_BBDEV_OP_LDPC_DEC) + op->ldpc_dec.iter_count = RTE_MAX((uint8_t) rsp.iter_cnt, + op->ldpc_dec.iter_count); + else + op->turbo_dec.iter_count = RTE_MAX((uint8_t) rsp.iter_cnt, + op->turbo_dec.iter_count); /* Check if this is the last desc in batch (Atomic Queue) */ if (desc->req.last_desc_in_batch) { -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:42.449052700 +0800 +++ 0048-baseband-acc-fix-acc100-iteration-counter-in-TB.patch 2023-02-27 14:08:40.769237000 +0800 @@ -1 +1 @@ -From 12f2bce128a1766765619357f707430c506c7bc6 Mon Sep 17 00:00:00 2001 +From 3c330a28d7af148967b1932b4004c45359cd805c Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 12f2bce128a1766765619357f707430c506c7bc6 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +20 @@ -index 146a22bd64..a00314c957 100644 +index 0177a9e0ea..d77d3b77b5 100644 @@ -21 +23 @@ -@@ -4033,8 +4033,12 @@ dequeue_dec_one_op_tb(struct acc_queue *q, struct rte_bbdev_dec_op **ref_op, +@@ -4035,8 +4035,12 @@ dequeue_dec_one_op_tb(struct acc_queue *q, struct rte_bbdev_dec_op **ref_op,