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 8ABDA41D8D for ; Mon, 27 Feb 2023 08:06:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 873DC410DC; Mon, 27 Feb 2023 08:06:37 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2060.outbound.protection.outlook.com [40.107.92.60]) by mails.dpdk.org (Postfix) with ESMTP id BFA2740A7D for ; Mon, 27 Feb 2023 08:06:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MpoygPWhGwlscvS7hwUoiOvBY259HzCZKlwIE8O9tqzixuggvgqW7rp6ClmWgyAz/n6+IQELZYmu4t+85DIgSsaLaTntuG2s7mxAe3hIQY5GhXfByi2rRbMijYCM/3aR1dGuYtbm9IsstY1S+Dm8+uBM21r4wbauEnIXKdIgGXgJVcAluLQ9aj0+xKnlH7r//4s2ot5FCrxkr/dkeMxc697ewa21riavF+Jce8eW+7/cBDeix0vjnRt7vInRyL+AhXk92zoPnIlVW7ouBpnDQbQtxWBpTxsoJZ/63tASTkzYU1NGwGLy/iuFhO2jPVwNwqrJiwfejN24AK04HN4L4g== 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=90g+iBuApUXePfE/6xoez7v9W1XURJPZQOaCF2eqP4s=; b=Jck2bv+pji5miGISPcevMhPmGiSCAha3gEl5KEpq88Vu08f6HVs8vJ/iJ3AqkqvmW7cMnH8TvtzeMbsJ6uTTml9Zm8OGDGSAhQK3MaXpa0hSKVqXyt1ggZlTKyN9lPknWJsp67JqF+3wOM0yhTRuRHAtIVpybSJWbpOamfbbE2QlpOHe2sY+ipMaOD4UFRgzr0CSntFOiDNjbqETpNqDVYldst6S5m7jK/s4ZM+ULrBzEijjPd4yjQZ2C9YaJZmJ0P9zWmgs/d80Ml2XndLWVfkapKAEN7Wyim0lEKs+3aGKeIOrtbArOy1JvQlzt3Ms02tkufNNbtKOydDeSUKX0g== 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=90g+iBuApUXePfE/6xoez7v9W1XURJPZQOaCF2eqP4s=; b=nI8L6kp6oY7rv4BMrTGcSfzt2PaUu/zz/MfmaVKYua9S/HFJa7ZJnldKXO6v95QE8aZLNAok+GPCasg0Aw6nuSRHfChWtfprje5X8gH47xiT3ZXzvXxRHd1VkmwVqfzJ+6mTEuymx4CEbGrL0NfGsSykLlEHmxQHThd0NWF9WJ9rS5f0Jyd+0R0h9SJBoJ0WTRmu/+umKqQFDZjSYuOOPWxVdPC6snn/Yomw1ZECWS3QPmEMgzBgaGZPH4O2b91aNUKAtYUJyV11XxsIF8w7KWJy85XNh/Ruk2OhoSLq9WtfOd365Ex0okqGI5veqQnyIteeMHd2u8QaobWSxhSCpA== Received: from BN8PR03CA0019.namprd03.prod.outlook.com (2603:10b6:408:94::32) by PH7PR12MB6907.namprd12.prod.outlook.com (2603:10b6:510:1b9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.26; Mon, 27 Feb 2023 07:06:34 +0000 Received: from BN8NAM11FT010.eop-nam11.prod.protection.outlook.com (2603:10b6:408:94:cafe::7f) by BN8PR03CA0019.outlook.office365.com (2603:10b6:408:94::32) 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:34 +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:34 +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:23 -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:21 -0800 From: Xueming Li To: Hernan Vargas CC: Maxime Coquelin , dpdk stable Subject: patch 'baseband/acc: fix multiplexing acc100 operations' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:16 +0800 Message-ID: <20230227070107.15664-48-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_|PH7PR12MB6907:EE_ X-MS-Office365-Filtering-Correlation-Id: 773ea61c-85ab-448e-502e-08db18912965 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K4D4gn+B15+jMCLR/4F0q0E914sPS+7L4RLmJc0mg6pxLlIZs2FM8WWUzUo+2Ma21LeczvtsIiwSxjTaZ4ImOzsHhQP/8aDA9ClSgJYGkiUB3eSkgwPWEKXcGQBTGeX05QLxzmV78lo9qc6KGISbf/8D60NT5PfvpKLIV+Mrt0EKYdF2cIJvGNK7Eq2zuw6C1kee6mlz58+/lCKjCTmgVbDIw2EPliNzD6WrK18T1dVGXQluglp0trhrJHZzeuILkcBEPDmI54efNP/vLZD/lJG/1frzP7jMj/PeEK1Q2MudlQTyb6CTbMZ0AL7rgjOZPAdNd9kKLelFDla9AEcpnUdkPS06Iv3zLnkKF94bzBo0yq9QxIranQSrPZJDhZeNgvsr7bOsUHIv1JkUSxcVQMvqab9Z7zw4ZZhu1eH7YrhVRDmlp2BsPDDKmfkP0xZENA61UrUnEReCQOapCUwJ6pZMoIjL7OaEZpnC2WlBarpUcwKdd4bAc1wWvK8FTPPBFizM3nQQiJ1ndhDsByWfyNwaioaU2D6oILs0BbPsxO0SiUNAh8Aeyx8+WZ7t/ZIoUQJkztLJG9HiTYTeIyO+9VIlxZz5MGWaxAVH3Py7VTK5xLbIfQVeJhIaJbFKuhyEs/2iwt9gczCe5oDbBn8LINi+JD7kF680fjXMos9pC1NlLSGCGAzyjlXbtY+rrNSYLlMHifnhDvf4op921671e9HV2CZ3QQyGK+LdccHddMa4d9ogIJ+HVfcZdQsl3/mlLaA6930hhfzmF6y2Zv+mrACg5YnDPkuqlKD6anjpYQwQMtPx8XlhioJuh+TAw0tf 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)(376002)(136003)(346002)(396003)(451199018)(46966006)(40470700004)(36840700001)(478600001)(7696005)(70206006)(82310400005)(6916009)(356005)(8676002)(41300700001)(4326008)(70586007)(8936002)(40460700003)(55016003)(86362001)(40480700001)(36756003)(26005)(6286002)(186003)(6666004)(53546011)(966005)(16526019)(426003)(47076005)(82740400003)(7636003)(336012)(1076003)(2616005)(2906002)(316002)(5660300002)(54906003)(83380400001)(34020700004)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:06:34.4856 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 773ea61c-85ab-448e-502e-08db18912965 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: PH7PR12MB6907 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=8f06dfc3818e7b8bba79520d8bfdf495c6b2ecbb Thanks. Xueming Li --- >From 8f06dfc3818e7b8bba79520d8bfdf495c6b2ecbb Mon Sep 17 00:00:00 2001 From: Hernan Vargas Date: Thu, 12 Jan 2023 11:36:05 -0800 Subject: [PATCH] baseband/acc: fix multiplexing acc100 operations Cc: Xueming Li [ upstream commit 9b81119311f7372f230d3dbb7bfa45f9053de2dd ] Function to check if multiplexing is possible for multiple operations in one descriptor returns number of enqueued ops. Fixes: 32e8b7ea35d ("baseband/acc100: refactor to segregate common code") Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c index d77d3b77b5..2f65f290b5 100644 --- a/drivers/baseband/acc/rte_acc100_pmd.c +++ b/drivers/baseband/acc/rte_acc100_pmd.c @@ -3423,9 +3423,9 @@ acc100_enqueue_ldpc_enc_cb(struct rte_bbdev_queue_data *q_data, } avail--; enq = RTE_MIN(left, ACC_MUX_5GDL_DESC); - if (check_mux(&ops[i], enq)) { - ret = enqueue_ldpc_enc_n_op_cb(q, &ops[i], - desc_idx, enq); + enq = check_mux(&ops[i], enq); + if (enq > 1) { + ret = enqueue_ldpc_enc_n_op_cb(q, &ops[i], desc_idx, enq); if (ret < 0) { acc_enqueue_invalid(q_data); break; -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:42.485999300 +0800 +++ 0049-baseband-acc-fix-multiplexing-acc100-operations.patch 2023-02-27 14:08:40.769237000 +0800 @@ -1 +1 @@ -From 9b81119311f7372f230d3dbb7bfa45f9053de2dd Mon Sep 17 00:00:00 2001 +From 8f06dfc3818e7b8bba79520d8bfdf495c6b2ecbb Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 9b81119311f7372f230d3dbb7bfa45f9053de2dd ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index a00314c957..eb18cc2215 100644 +index d77d3b77b5..2f65f290b5 100644 @@ -22 +24 @@ -@@ -3421,9 +3421,9 @@ acc100_enqueue_ldpc_enc_cb(struct rte_bbdev_queue_data *q_data, +@@ -3423,9 +3423,9 @@ acc100_enqueue_ldpc_enc_cb(struct rte_bbdev_queue_data *q_data,