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 B6DEAA0524; Tue, 13 Apr 2021 07:18:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A2B0160B09; Tue, 13 Apr 2021 07:18:30 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40080.outbound.protection.outlook.com [40.107.4.80]) by mails.dpdk.org (Postfix) with ESMTP id 00A6C160B07 for ; Tue, 13 Apr 2021 07:18:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J9t7pftDs5GdnGMOPPBSSd6MC8HEIMU3S/fbloHQwiSSFC3inAKLL4N5NP+uDfLJ1f5BsNE/NSU39zhHOUa4O/KTrfQZasmGvuNVXV7QcAkcCuefEIBZb98mmN9ct/9nxe3+Rj4oZ1szUI32SmoSEh+HUcxKP3ZD/WclJhn3Way137KEZQCWTQYTZDbpOZKkheUOBAq5zm+PCruP+wOmMe+/0wtWxPHbODN8Pyo4W7YsqzJTMCf3nPXkAduQ7Ivl0frZFReDbEmpJYxwiN5tZbj6LkLsNJ1xNUXE+hazcZnCPUTJ1AYJkChYBarx92Y/xr4S2YeVIUZm3i+4bUie0w== 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-SenderADCheck; bh=2mFdbL7h2ip+EdxPtCfLNYr9dLcp1g1xG9cS8D7sHPE=; b=kHTBnzCRGCvfyVd4T3t72RE1kbzxG5UV1I1/rcTJfUNdjWmM2dHWKw8iTWkPK3JQQ6M0Qe2JTLuOjOTIV5ljQoEh9W+ja9Fn59or40c3d3qqoIx5mhPgAJN+Y0RxJgkXgxss2CodfgrE52G6X40zEG44qJFhMlopqDkkAQlcp0XwZnjHO5+T3ZTs1qVQsxpYKny77VZ7vmBDgb2Rn0xl4HDrBh8MChrSYn7ZSqlYzCyTgmBmI+wRycqGFEnvVClNWO37ZTEhO1S0oDIvox3cokPHdKcxtt2OzCRxEguEMOw/J6TUrMK1Nyua4Krb8TgBBv609RP8qwTpiSSbwFTAcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2mFdbL7h2ip+EdxPtCfLNYr9dLcp1g1xG9cS8D7sHPE=; b=YJanY+BNJAAlGG1bcy0QFR+8v/Eoj1he7uDa5X2dCeZ9pQvgsRUGa4JbWPNhmJ4o9/D6ljCpXsa7amu3vv+ddWrgx7j72E8kssrvGo8QaJY4fMAEpJeh9SgBpQE4EitBUMKdPijFpV7mMUdNdzqbVt3c6htWV3o9+tbQRHbdFlQ= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) by AM5PR04MB3250.eurprd04.prod.outlook.com (2603:10a6:206:b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.22; Tue, 13 Apr 2021 05:18:27 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55%7]) with mapi id 15.20.4020.022; Tue, 13 Apr 2021 05:18:27 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com, nicolas.chautru@intel.com Cc: david.marchand@redhat.com, Hemant Agrawal Date: Tue, 13 Apr 2021 10:47:07 +0530 Message-Id: <20210413051715.26430-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210410170252.4587-1-hemant.agrawal@nxp.com> References: <20210410170252.4587-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-Originating-IP: [92.120.0.67] X-ClientProxiedBy: HK2PR03CA0059.apcprd03.prod.outlook.com (2603:1096:202:17::29) To AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by HK2PR03CA0059.apcprd03.prod.outlook.com (2603:1096:202:17::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.6 via Frontend Transport; Tue, 13 Apr 2021 05:18:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bc69f2e3-21b6-462b-26e8-08d8fe3b91a9 X-MS-TrafficTypeDiagnostic: AM5PR04MB3250: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XJbgwyYS/1kDyqmG3v3b8xsr7IFj9n0qJ93Z6VJOwHzh5fwp0Q852rGUcnUtbnTdsMU9Gw20tz/LLlPWsj4oF0TS6+WKTopNotDPS6b+Bca6QuUjm5oCvJU3RAgO1eWmIaq52b5g4QWIMQEOX9uSq55Vqg7zJIm3UyRY6zVave9Gk7617Mzt6MFDKnNlUUhYXxHC0XZHpg39BBP+upPas1tf6SZafq95h6muVKHFkizW+yM/PLPYlHMSTBKcbaESRVr2my0zCWmuIQD9EbMXI5kULki6NbRDGBYYScQZvCVeqcWi/OITCKdhazsAPzWPGPe+oPbOpTwhsG6eytNd0V9PqV2Lxmo9uURMIGb4ASUDiqBLmGOZhwtSrBScWcbbC+bRCLG4Z7o9KK9Q+IlfMnFwbGyMnOdaepNFjsmtVuE9ocFihsg2cwcwUALNJ6/WYdP1KT5GY+VmviIpto53lkbE5vKuUrbGPfr8oGsegxsmP1pEY6bXS7Et1NODci6YdslrybMddALMnRtxthq4+bVRAiT5n2Nxfd7WvaN7J02fHOqaRZ2qf3+PMXTRnSEqWAX8u5syzqfaH9z7P8I2Wm675/r0Rmm3w1kT6X+4Daq7lPRxuOh1acnraCR6z06B4IfS9a6r33a8X4bZdbE9jKn3CiQvTL3Rd+wksRd3K/k= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4456.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(39860400002)(366004)(136003)(376002)(83380400001)(16526019)(186003)(26005)(38350700002)(38100700002)(316002)(66556008)(66946007)(66476007)(6512007)(2616005)(956004)(478600001)(4326008)(44832011)(36756003)(6486002)(6506007)(5660300002)(2906002)(52116002)(1076003)(86362001)(8936002)(6666004)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?QcJVr9OWfpFoPwPtgShGGx7WDFzewPIOe7wKenm4mK5c1OQUrAhslWXLwVH+?= =?us-ascii?Q?qFjyTInLBeLwS0SzcL/5VeL7BBVf04QSOBEKBuPtmDLrixMdNu2O/SWnbZA9?= =?us-ascii?Q?3TpmXROjdPyNMd1SZLF2vgvFGMaSjOrnWEfW4Xu407F2O7KiBIamCQp0FQMy?= =?us-ascii?Q?rL/Yf4FlWQQk6SK65IUMdQZtURNZouUkfgvBbZlpR4zgokV9SjhgYypRsCUh?= =?us-ascii?Q?e3FC2j4b0tpBNGNmj4VKJd6wIy6SWnsX+JYzPIpWw2L0zdQmKvwnzdZJM8eF?= =?us-ascii?Q?Z1H5WxfB3bi81FcFAB51mJIYPrUVqzw8A3ISBQ3FIiDelnpmK+UHn3okMh29?= =?us-ascii?Q?6Twu41GmJ65EWqsZbULhITZTxzZQ8WAMJ227iqwAyMCIJrUvs4pNhjjmfgoV?= =?us-ascii?Q?rzzMCbiJCWdMSQN9HXtUV/T/G6RdAhJSzjh/OembPP2eld7YfAgTuFFG25JR?= =?us-ascii?Q?54hbgUdvs2DUZ38OElb6MujI2P5MQwMVun08xd5N9JNRTke9QAwcQTUnlNo4?= =?us-ascii?Q?SANCIVUdWUXJ7QSxKMxPIbU6PEJTPTDpYFcbuPO2E0a0nABDGCSA66kFzz7w?= =?us-ascii?Q?tVrZlA+Z49GkDhuEndokMILL736Fn44ei9+GoeQC1Q69hoIX/9M4L//s+67n?= =?us-ascii?Q?Glij9gJOAo1N8hgJ9bFKCQ+BNkBB9tDSXdZp9OQjcw0mR2oCSmaL2cDHECs5?= =?us-ascii?Q?z5GIwFtL0wiRYEDfnOXALccuKSN+Ew6HTs5Wf7PDYrbnADouLqxnaVa416a8?= =?us-ascii?Q?Em2QudK+x0bWr6w7gdnEXNe5HVs8I3ZFAWQeeSSmsGB2oRHgACrOvNSS2u66?= =?us-ascii?Q?qgRHieN3LSjbXreg8P7b93eVqtknLXKMvUhZ72skeknTNe2yNjSpFteAJCvB?= =?us-ascii?Q?AzVVvXlnPRhNuMcCbI16NsO2E2p4s0yqnZjQIn0m5XaBS7Z+zIJhuGWxOIAP?= =?us-ascii?Q?4KIIn10HW8hq8Hqjcr7Zbik1vWhKLZFFEwBuk8mu536iq70ICttIFvPsAd+J?= =?us-ascii?Q?4J+zzHziWULw8mj1lgoV/1lNsMtoV1/CaE6dhV+kU5pnarKltTviphy++gld?= =?us-ascii?Q?xlTY2iKYSASuyFRe8sfcdYqaiWZh/gml+drNVQy0m1tfnw3eppEYIlr6Au2L?= =?us-ascii?Q?enz27MRlJM5WyfnThhqXvHgC1JoRu9u1esxPuboC9uiOnbVg6R4eLHp57fLp?= =?us-ascii?Q?DctrSXH4ncYR1lfvxp1X0AJTQ0R6/8RVodTJB0JZOYwSC1X0AQXleoukA4Hm?= =?us-ascii?Q?8q8staBW+YfHalW0y8MMDX539mgQDaYCpCMWT7bWU2dDWGqn1m8B2JLLzehR?= =?us-ascii?Q?8vsb9cyzivcm/0u1aL1ZHSMK?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc69f2e3-21b6-462b-26e8-08d8fe3b91a9 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2021 05:18:27.7020 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DGFDQjqwYFJT1t+CPGzGpbFZDrwCcmP+DueMm5t+tcXBl0H1JQzkb49Tf9LDup6v5D51nGQosab/OC+pSiOHmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB3250 Subject: [dpdk-dev] [PATCH v3 0/8] baseband: add NXP LA12xx driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This series introduces the BBDEV LA12xx poll mode driver (PMD) to support an implementation for offloading High Phy processing functions like LDPC Encode / Decode 5GNR wireless acceleration function, using PCI based LA12xx Software defined radio. Please check the documentation patch for more info. The driver currently implements basic feature to offload only the 5G LDPC encode/decode. Modifications has been done in test vectors to optionally support input in network byte order. Two test vectors are also added as an example with input data in network byte. v2: add test case changes v3: fix 32 bit compilation Hemant Agrawal (6): baseband: introduce NXP LA12xx driver baseband/la12xx: add devargs for max queues baseband/la12xx: add support for multiple modems baseband/la12xx: add queue and modem config support baseband/la12xx: add enqueue and dequeue support baseband/la12xx: add documentation support Nipun Gupta (2): app/bbdev: add parameter to take input in network order app/bbdev: add test vectors for transport blocks MAINTAINERS | 9 + app/test-bbdev/test_bbdev_vector.c | 18 +- app/test-bbdev/test_bbdev_vector.h | 2 + app/test-bbdev/test_vectors/ldpc_dec_tb.data | 362 +++++ app/test-bbdev/test_vectors/ldpc_enc_tb.data | 482 +++++++ doc/guides/bbdevs/features/la12xx.ini | 14 + doc/guides/bbdevs/index.rst | 1 + doc/guides/bbdevs/la12xx.rst | 139 ++ doc/guides/rel_notes/release_21_05.rst | 5 + drivers/baseband/la12xx/bbdev_la12xx.c | 1178 +++++++++++++++++ drivers/baseband/la12xx/bbdev_la12xx.h | 57 + drivers/baseband/la12xx/bbdev_la12xx_ipc.h | 237 ++++ .../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 38 + drivers/baseband/la12xx/meson.build | 6 + drivers/baseband/la12xx/version.map | 3 + drivers/baseband/meson.build | 2 +- 16 files changed, 2550 insertions(+), 3 deletions(-) create mode 100644 app/test-bbdev/test_vectors/ldpc_dec_tb.data create mode 100644 app/test-bbdev/test_vectors/ldpc_enc_tb.data create mode 100644 doc/guides/bbdevs/features/la12xx.ini create mode 100644 doc/guides/bbdevs/la12xx.rst create mode 100644 drivers/baseband/la12xx/bbdev_la12xx.c create mode 100644 drivers/baseband/la12xx/bbdev_la12xx.h create mode 100644 drivers/baseband/la12xx/bbdev_la12xx_ipc.h create mode 100644 drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h create mode 100644 drivers/baseband/la12xx/meson.build create mode 100644 drivers/baseband/la12xx/version.map -- 2.17.1