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 45FB3428F8 for ; Sun, 9 Apr 2023 17:26:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4131B406B8; Sun, 9 Apr 2023 17:26:32 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2083.outbound.protection.outlook.com [40.107.243.83]) by mails.dpdk.org (Postfix) with ESMTP id 21DA9406B8 for ; Sun, 9 Apr 2023 17:26:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NHnFVG/+/g2GVhZiWrNgYOshKG3F/JuKLPH+3czMWJXXmIru4JZhDmoZwTBOi68yDwHyxU6v/C3lPX9j5Ps9DPzCOzlw80PaMr2wlYbfk8uLgueW60IxTlpKhzsl2CI/6+z95X9Y6NkVJ2bUzkEuH8U1c8GXU2dFEXG3dhCXBTm4uHBI3HkG1JMKxoQgL81/AUbkP82QLxYMlgR/3VjFheYQB3tjiX3GXgTkHGIGUOgPLtDsNWwkDyeFHlYfZbt2LWMN7Hu+JF+nR7TrTEQBzxZycTgyIxLamS2YL7wUSbKT0hWV36df1KP8qConXnYLqVp+hvrdQltaoQzX/DLP7Q== 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=nzUvQWv0nnG3SO8iLYUnXx9erQj6A2ONC1OkCViUCyw=; b=NdkJRaHrc5pPuOJE+CSRHbYgNmmnB/iWPLATWII6yJ0hMzs8YJNvkRWSYOtUtcWVmy+UO9om/oiZibb5ILYnyxn2v18C3YK2Z9/NxgyrO8ie782Dqn3hkF8mfw1qcFA5uHaNN0/+Xn4SsRNQ52XV5W7yRNuPDHp8gYpbL+8UCA0kY98XiSoEcUqR7QkjF4FwrpHruZjHuoYA1gQN1N64r/w7ng4wulNffOq/bPA6pgvgXhI1UbGuntGaHQrEnAm3AwsuMUjuDMq3mX/YL+H1I5ZpCKhkHcx78FJrYTdCwkEW+A5OzpsSARkScw8QXhdJOWIdH+cv/55NJdw/TiJNHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=nzUvQWv0nnG3SO8iLYUnXx9erQj6A2ONC1OkCViUCyw=; b=GxTaqRPnpGfbT15AIlLAvrkg1vc9rxeCUYlIkZXp1oQHYQIpROWIkXZWtXR0ie81Ir+Q7XdWfmOsbVa1mWPLJWtvZp9rKbgHT3cyHDt0nZciKDNnky9e+wk7/DhjxUxeKQz/mNXKbhKLfogWUaaw/ZfFNzXxrTLhNusX6MZwCgHzoBYFTjjMlyEVC1YFXK92xy0yTi9hbqmTnFojumfWugrX1m3nn4dKUihpbVOSu7MSwx8VKJwgUWXGgHuzy+dAb0PbCia2QhPeNNkyg2W6Tnp2YgHWAlNCUwaXQPFy4sHhV6EH6mJjkTlprNezCl9p6gxHCwxZoCIXpGboPj8uQQ== Received: from MW4P220CA0001.NAMP220.PROD.OUTLOOK.COM (2603:10b6:303:115::6) by SJ0PR12MB5661.namprd12.prod.outlook.com (2603:10b6:a03:422::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.31; Sun, 9 Apr 2023 15:26:29 +0000 Received: from CO1NAM11FT070.eop-nam11.prod.protection.outlook.com (2603:10b6:303:115:cafe::c0) by MW4P220CA0001.outlook.office365.com (2603:10b6:303:115::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.36 via Frontend Transport; Sun, 9 Apr 2023 15:26:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT070.mail.protection.outlook.com (10.13.175.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.25 via Frontend Transport; Sun, 9 Apr 2023 15:26:29 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) 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:26:18 -0700 Received: from nvidia.com (10.126.230.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:26:17 -0700 From: Xueming Li To: Nicolas Chautru CC: Maxime Coquelin , dpdk stable Subject: patch 'baseband/acc: add explicit mbuf append for soft output' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:23:17 +0800 Message-ID: <20230409152529.5308-10-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.230.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: CO1NAM11FT070:EE_|SJ0PR12MB5661:EE_ X-MS-Office365-Filtering-Correlation-Id: d0f76616-449e-43cb-e2f3-08db390eca8c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5liMPH+yaAN7Eh9QF1lt0XnhVrhIHc+a/mZpvEaVEfSHmZ7UfhDKLwlA1XTzzGYUV+2MEFgalciwupARQ0oZvvtGbAWWKrXCt+0ubVSKFVoNcnQ8dvYv/lSCZO7OhHhBzRWHArjlNjCsvyAK6To9f7oainMnBdxn+IGCyZli7Ii/xMvmWj0/2r0m3QfKiEBnGj1MaIzB2OGUauYKEs6dXG5j0lLB7xyP5WLQcn4e/F3eAmT5MQ8VLUs819fm3w7r4bDpsATRffXQ5B60Zgo16+VX34++eGmfky4QAt1aqdPqP6ZDRVUhXVlBKpOSJCyayNtlEoPRciqN/dezV5ws7fVvgLZgtfSLwKhvplyilvC7ga5D73qsw0I6w9Pef8AetbK6hbFKfw4RVOZrQ88PrYi5sV9wGiUqVWRilQicKYN+7e6KGpY1zZZVKLrxH503Pg68QSf2OJ4QrY9rbQK9cQnCcU+hkSLFxvAL0Fd/8jLApYIRLi31AI53MpHu36W2grJ8EHBUTwkriuntuRcf21FYAG2W98lhLeydi4UIsljIHhhOmG+kknkFVjb8qsQo5QH48OumJNCczbt1PKdJ69BCCAmI4O2t+tiFu8mr5gXT0R5DehG4faGBK6Et4dIwUgWml7mFRQ8KT+dVMODcjaY0X0VRgVYsLdFj5dwP4yztNuc0l/OFj7e7rGwqwxqBmvR5E1bmz7UE3ss6Wzh1YnMEBL3YkA2SDjIw/N23QuGJoNviqWB9zAYp3ypLyzAVxsHVr+PmR43nG49PPRWvBBpKbIADVvJaJKFsEJGsX4bUt1tORrMHcBP3hz1zmUHcnxAvu64j7QLg6mMoLiwdgg== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(376002)(396003)(346002)(136003)(451199021)(40470700004)(36840700001)(46966006)(70206006)(186003)(70586007)(6916009)(4326008)(36860700001)(6286002)(16526019)(40480700001)(41300700001)(55016003)(8936002)(8676002)(40460700003)(47076005)(7696005)(966005)(82740400003)(478600001)(86362001)(2906002)(36756003)(7636003)(356005)(54906003)(336012)(426003)(2616005)(82310400005)(53546011)(5660300002)(26005)(316002)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:26:29.1894 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0f76616-449e-43cb-e2f3-08db390eca8c 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT070.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5661 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/6c9f6f15eef1868dc14f86c6581700dc126695e9 Thanks. Xueming Li --- >From 6c9f6f15eef1868dc14f86c6581700dc126695e9 Mon Sep 17 00:00:00 2001 From: Nicolas Chautru Date: Fri, 10 Feb 2023 17:58:35 +0000 Subject: [PATCH] baseband/acc: add explicit mbuf append for soft output Cc: Xueming Li [ upstream commit b040f9e874826479696c1b347d21b00bd4ec1754 ] Adding an explicit mbuf append in the case of soft output mbuf being provided. Fixes: e640f6cdfa84 ("baseband/acc200: add LDPC processing") Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc200_pmd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/baseband/acc/rte_acc200_pmd.c b/drivers/baseband/acc/rte_acc200_pmd.c index fe4be5b42b..0bec218ca4 100644 --- a/drivers/baseband/acc/rte_acc200_pmd.c +++ b/drivers/baseband/acc/rte_acc200_pmd.c @@ -2086,6 +2086,10 @@ enqueue_ldpc_dec_one_op_cb(struct acc_queue *q, struct rte_bbdev_dec_op *op, } } + if (op->ldpc_dec.soft_output.length > 0) + mbuf_append(op->ldpc_dec.soft_output.data, op->ldpc_dec.soft_output.data, + op->ldpc_dec.soft_output.length); + #ifdef RTE_LIBRTE_BBDEV_DEBUG rte_memdump(stderr, "FCW", &desc->req.fcw_ld, sizeof(desc->req.fcw_ld) - 8); -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:39.064936200 +0800 +++ 0009-baseband-acc-add-explicit-mbuf-append-for-soft-outpu.patch 2023-04-09 21:45:38.579042200 +0800 @@ -1 +1 @@ -From b040f9e874826479696c1b347d21b00bd4ec1754 Mon Sep 17 00:00:00 2001 +From 6c9f6f15eef1868dc14f86c6581700dc126695e9 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit b040f9e874826479696c1b347d21b00bd4ec1754 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -15 +17 @@ - drivers/baseband/acc/rte_vrb_pmd.c | 4 ++++ + drivers/baseband/acc/rte_acc200_pmd.c | 4 ++++ @@ -18,5 +20,5 @@ -diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c -index fc68f47ca6..b1134f244d 100644 ---- a/drivers/baseband/acc/rte_vrb_pmd.c -+++ b/drivers/baseband/acc/rte_vrb_pmd.c -@@ -2066,6 +2066,10 @@ vrb_enqueue_ldpc_dec_one_op_cb(struct acc_queue *q, struct rte_bbdev_dec_op *op, +diff --git a/drivers/baseband/acc/rte_acc200_pmd.c b/drivers/baseband/acc/rte_acc200_pmd.c +index fe4be5b42b..0bec218ca4 100644 +--- a/drivers/baseband/acc/rte_acc200_pmd.c ++++ b/drivers/baseband/acc/rte_acc200_pmd.c +@@ -2086,6 +2086,10 @@ enqueue_ldpc_dec_one_op_cb(struct acc_queue *q, struct rte_bbdev_dec_op *op,