From patchwork Thu Feb 27 04:38:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 66068 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8AA1AA055A; Thu, 27 Feb 2020 05:40:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 75D1D1BFC7; Thu, 27 Feb 2020 05:40:08 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0B3FD1F1C for ; Thu, 27 Feb 2020 05:40:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2020 20:40:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,490,1574150400"; d="scan'208";a="261310478" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by fmsmga004.fm.intel.com with ESMTP; 26 Feb 2020 20:40:05 -0800 From: Nicolas Chautru To: thomas@monjalon.net, akhil.goyal@nxp.com, dev@dpdk.org Cc: ferruh.yigit@intel.com, Nicolas Chautru Date: Wed, 26 Feb 2020 20:38:54 -0800 Message-Id: <1582778348-113547-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH v1 00/14] bbdev new features X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 set includes extending support for the bbdev device drivers for 20.05 and notably add a new baseband PMD for FPGA 5GNR FEC implementation. Documentation is updated as well accordingly. Nic Chautru (14): bbdev: add capability flag for filler bits inclusion in HARQ bbdev: expose device HARQ buffer size at device level baseband/turbo_sw: fix the exposed LLR decimals assumption baseband/turbo_sw: support large size code block test-bbdev: rename FPGA LTE macros to be more explicit test-bbdev: support HARQ validation test-bbdev: support for performance tests test-bbdev: support for LDPC interrupt test test-bbdev: support for offload test for LDPC test-bbdev: vectors update doc: update of testbbdev documentation drivers/baseband: add PMD for FPGA 5GNR FEC test-bbdev: add support for FPGA driver initialization doc: add feature matrix table for bbdev devices .gitignore | 1 + app/test-bbdev/Makefile | 3 + app/test-bbdev/ldpc_dec_default.data | 2 +- app/test-bbdev/main.c | 29 +- app/test-bbdev/main.h | 9 +- app/test-bbdev/meson.build | 3 + app/test-bbdev/test_bbdev_perf.c | 1468 ++++++++++- app/test-bbdev/test_bbdev_vector.c | 9 +- app/test-bbdev/test_vectors/ldpc_dec_v2342.data | 745 ------ app/test-bbdev/test_vectors/ldpc_dec_v9503.data | 4 +- .../turbo_dec_c1_k6144_r0_e34560_negllr.data | 645 ----- .../turbo_dec_c2_k3136_r0_e4920_sbd_negllr.data | 676 ------ ...bo_dec_c2_k3136_r0_e4920_sbd_negllr_crc24b.data | 5 +- .../turbo_enc_c2_k5952_r0_e17868_crc24b.data | 300 --- .../turbo_enc_c4_k4800_r2_e14412_crc24b.data | 252 -- config/common_base | 5 + doc/guides/bbdevs/features/default.ini | 16 + doc/guides/bbdevs/features/fpga_5gnr_fec.ini | 11 + doc/guides/bbdevs/features/fpga_lte_fec.ini | 10 + doc/guides/bbdevs/features/mbc.ini | 14 + doc/guides/bbdevs/features/null.ini | 7 + doc/guides/bbdevs/features/turbo_sw.ini | 11 + doc/guides/bbdevs/fpga_5gnr_fec.rst | 297 +++ doc/guides/bbdevs/index.rst | 2 + doc/guides/bbdevs/overview.rst | 15 + doc/guides/conf.py | 5 + doc/guides/tools/testbbdev.rst | 337 ++- drivers/baseband/Makefile | 2 + drivers/baseband/fpga_5gnr_fec/Makefile | 29 + drivers/baseband/fpga_5gnr_fec/fpga_5gnr_fec.c | 2552 ++++++++++++++++++++ drivers/baseband/fpga_5gnr_fec/fpga_5gnr_fec.h | 74 + drivers/baseband/fpga_5gnr_fec/meson.build | 6 + .../rte_pmd_bbdev_fpga_5gnr_fec_version.map | 10 + drivers/baseband/meson.build | 2 +- drivers/baseband/turbo_sw/bbdev_turbo_software.c | 15 +- lib/librte_bbdev/rte_bbdev.h | 4 + lib/librte_bbdev/rte_bbdev_op.h | 14 +- mk/rte.app.mk | 1 + 38 files changed, 4772 insertions(+), 2818 deletions(-) delete mode 100644 app/test-bbdev/test_vectors/ldpc_dec_v2342.data delete mode 100644 app/test-bbdev/test_vectors/turbo_dec_c1_k6144_r0_e34560_negllr.data delete mode 100644 app/test-bbdev/test_vectors/turbo_dec_c2_k3136_r0_e4920_sbd_negllr.data delete mode 100644 app/test-bbdev/test_vectors/turbo_enc_c2_k5952_r0_e17868_crc24b.data delete mode 100644 app/test-bbdev/test_vectors/turbo_enc_c4_k4800_r2_e14412_crc24b.data create mode 100644 doc/guides/bbdevs/features/default.ini create mode 100644 doc/guides/bbdevs/features/fpga_5gnr_fec.ini create mode 100644 doc/guides/bbdevs/features/fpga_lte_fec.ini create mode 100644 doc/guides/bbdevs/features/mbc.ini create mode 100644 doc/guides/bbdevs/features/null.ini create mode 100644 doc/guides/bbdevs/features/turbo_sw.ini create mode 100644 doc/guides/bbdevs/fpga_5gnr_fec.rst create mode 100644 doc/guides/bbdevs/overview.rst create mode 100644 drivers/baseband/fpga_5gnr_fec/Makefile create mode 100644 drivers/baseband/fpga_5gnr_fec/fpga_5gnr_fec.c create mode 100644 drivers/baseband/fpga_5gnr_fec/fpga_5gnr_fec.h create mode 100644 drivers/baseband/fpga_5gnr_fec/meson.build create mode 100644 drivers/baseband/fpga_5gnr_fec/rte_pmd_bbdev_fpga_5gnr_fec_version.map