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 37634A09E4; Sat, 24 Apr 2021 12:38:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA011406FF; Sat, 24 Apr 2021 12:38:28 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20040.outbound.protection.outlook.com [40.107.2.40]) by mails.dpdk.org (Postfix) with ESMTP id 960F940693 for ; Sat, 24 Apr 2021 12:38:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I4u9euu25egHrCbGD6lPIgpCtzFzCkkg/hbh2NolOxpjQy9CKpIRAi3ynRalCMcp8urPSXcpfkhSNF32KoMZ+RdDiTLw1hM9/qTziXoyi8ac01IE+SVWJFCDOwvkUTtqiYHd9i9ykDPAors8VdF2oNcTrZy50q6e6mJuTwnnJZ7mZqqQbardbBuL8Vf/z7PmasjGtVJ5ath7/O9ZexRs6xvDAqzowKMp1wg9lvBvJUsQ1kCPOgDHlHiOns1phJO+3v8kCD5gAqolc1+Mm1q2m3f8oSVdiYKU77W/ctjZil3Tnug4xHIvBqOmZiN68/0wajeZygtd60E4B5ikIWLx2A== 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=2BkbfctmkM4pU5tp3S7lxRm+mU12bDBLKUXupm8ys70=; b=finuDjd6or+ChtjMEb5yay88ausQWrfIXxz6zigv4jhEWe2z/KgxBG4EZDMpsogChfVqSWfyoeifQGY5kW+R5A+UX2Y3CBVudbYpeWLnfWNJe/D1h7eN302RAy7CxuZZNoxXiz44xxLAaDq6PwWbUzGopX+8cr+Z7hY82bteGV5ILZYhhOau73ocHbTraxK3s5lae6SBlWghjyU91R5FHmwBYglMdzudWLN6zxgrA7++rEouDD7L/gzJz1ZWj6iyIgZBMivt2UvWJK20kpSW+5rMGLjJGvrQmtMFNodbqpKHQ1JB4jbYYdNiW5lWnN8xAxB7hQhLYSqrwAM2Mxm2JA== 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=2BkbfctmkM4pU5tp3S7lxRm+mU12bDBLKUXupm8ys70=; b=Nicl7KnamJuBKlcpP8yd54eY+MmI5ZnqgwHbfzjZC7vr+umHOCoX0Jo9B9oSaScwbReUyAIS55l6k5TZw0AMm2M/kLzM2oL43uzQRG4NmsEbrwsLQXH+n3l9DzzY2MrsBGhn1/y96CED/ZYI9t07t7B3exiX7CghqHtXVO1j/zY= 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 AM5PR0401MB2564.eurprd04.prod.outlook.com (2603:10a6:203:38::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Sat, 24 Apr 2021 10:38:26 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55%6]) with mapi id 15.20.4065.023; Sat, 24 Apr 2021 10:38:26 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com, nicolas.chautru@intel.com Cc: david.marchand@redhat.com, Hemant Agrawal Date: Sat, 24 Apr 2021 16:06:52 +0530 Message-Id: <20210424103700.8098-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210413051715.26430-2-hemant.agrawal@nxp.com> References: <20210413051715.26430-2-hemant.agrawal@nxp.com> Content-Type: text/plain X-Originating-IP: [92.120.0.67] X-ClientProxiedBy: HK2PR04CA0088.apcprd04.prod.outlook.com (2603:1096:202:15::32) 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 HK2PR04CA0088.apcprd04.prod.outlook.com (2603:1096:202:15::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Sat, 24 Apr 2021 10:38:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d63c9780-04cf-458e-22be-08d9070d1725 X-MS-TrafficTypeDiagnostic: AM5PR0401MB2564: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gpEKU3inPh5HCFrPguqcTG+8he0b4oIP6u9U1BcMNEB0SLHuoGiHjyakxs0iVqYubp++ryvE77oYuJgIiHoyBB7fY4IZ+j0sRy6tMCwcrrCKYuHwpSTW2Zs0am3EJERtwNsG2HnPiXKNyfTxR5j6Yv6oP9EyZOPpxlDkbMuzQiqozMQzh/dszSg+JFbhEYWVDXXcQ0s8+E/PscQK5sdZOQUk4o9Ct8aXD3zU/itla7jBuUH636PbZjD+3k3pA602DRo7aJRw3FG0pVmt1HUPFwdNRyfZmS6bUugVbjkfnccxG1NrqpT6YzrofhrLyBSjPklbAQ5Drt+kp57ta3BgUCwkv9eMwo2RVnUyvzrWj+5s+HHI+z7bvW9uMO2HGRbRRAlap0eJgiKlrtNahzg4ihBBiLDgmyfPwRg3bNs0kSbKVnu5MwEmlAvciXMYDiz6u8EIIw0dsOBfX+EqKIM/kmtKk11ffSVxgMCY/7QvfeuFQlxHO311x77NCvEp+G+PtjsUXE+6vea9Sx4nkYszBPcipUjaFgjqtkntEkPw6O0CoDvGnGiREQkWoU+xOYoWkEKXCT5Vd10CJ3X/gBpNcjxQqaMXQhO/GetK2CW95aGrBqmwLjfoM3gPNfxseAzU/hNwL0iLbtyJ7/cSgbKdHqlQjDyZemgfso1ASMT9FHo= 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)(376002)(136003)(39860400002)(396003)(366004)(6506007)(5660300002)(38100700002)(1076003)(52116002)(44832011)(316002)(38350700002)(4326008)(478600001)(83380400001)(2616005)(956004)(6486002)(6512007)(8936002)(36756003)(86362001)(66946007)(2906002)(26005)(66556008)(66476007)(186003)(8676002)(16526019)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?mGUPChZ9niH+/xKMhtLo7rSHTM8F/jMn54s1H+4Z0LnOICPVZK1ahDa/ZC1o?= =?us-ascii?Q?dfOevd7mIZho3hnjczR7rMcfeI07+z7Rz8TFBNF8hHiDX6Dm1KYwN8Jxf8Tl?= =?us-ascii?Q?2a2HCGLywZ0qQO7qIPTRZHPFzLaL6YDC4tqjtKOLKuee47/ei0QYguIhunTq?= =?us-ascii?Q?+tC2FzXb//yJXKkALw/AKNPbYF/voKbfAAZwgj97C23fdMl74ysErUPWcfOT?= =?us-ascii?Q?R9kulQmHH4XaizqhyDje2WkXa4kNHtl2MvctfzGyitRGQEnypfqjUQ4yO/cb?= =?us-ascii?Q?5VxCgIWrp4rffpGjM4KONOH3R+nUK/a3bxkUlpmmtAoS83Thhe02jQzg84g/?= =?us-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SgEKaiw3JtZ7sPeXTonTtYYI0DVjO?= =?us-ascii?Q?RWuOWkRstibxbcEfsyHG9FKPWK25rdIG4vLcdgDrccQV84DePi9Xoq38f7/X?= =?us-ascii?Q?WmBz8z2G8vETmVm24xTalN0Z?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d63c9780-04cf-458e-22be-08d9070d1725 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2021 10:38:25.8991 (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: +wkyu3Ttr3QwZKX7q9HkaUn3HPcHhivXOtfQyWUY0Uh1ADP/nrbRCOBQVFtweHYnw3m35/MoFd0ndS/6ki94Cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2564 Subject: [dpdk-dev] [PATCH v4 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. A new capability has been added to check if the driver can support the input data 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 v4: capability for network byte order, doc patch merged inline. Hemant Agrawal (7): bbdev: add network order data capability 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 app/bbdev: enable la12xx for bbdev Nipun Gupta (1): app/bbdev: add test vectors for transport blocks app/test-bbdev/meson.build | 3 + app/test-bbdev/test_vectors/ldpc_dec_tb.data | 122 ++ app/test-bbdev/test_vectors/ldpc_enc_tb.data | 60 + doc/guides/bbdevs/features/default.ini | 1 + doc/guides/bbdevs/features/la12xx.ini | 14 + doc/guides/bbdevs/index.rst | 1 + doc/guides/bbdevs/la12xx.rst | 127 ++ doc/guides/prog_guide/bbdev.rst | 6 + doc/guides/rel_notes/release_21_05.rst | 5 + drivers/baseband/la12xx/bbdev_la12xx.c | 1099 +++++++++++++++++ drivers/baseband/la12xx/bbdev_la12xx.h | 51 + drivers/baseband/la12xx/bbdev_la12xx_ipc.h | 244 ++++ .../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 26 + drivers/baseband/la12xx/meson.build | 6 + drivers/baseband/la12xx/version.map | 3 + drivers/baseband/meson.build | 1 + lib/bbdev/rte_bbdev_op.h | 8 +- 17 files changed, 1775 insertions(+), 2 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