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 7BFB2A0542; Mon, 29 Aug 2022 20:31:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2024D41141; Mon, 29 Aug 2022 20:31:23 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id EA6C54003C for ; Mon, 29 Aug 2022 20:31:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661797881; x=1693333881; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=SfWzLFgKWUj6YAR8A/6hbq1D4t2L4gMdCpnj6xyRTlc=; b=gBUxGWcKOY/ADDr46cZbzqxckURr5A79/AZNp06Ee9YVvwm0MuHlYczY kKUCQL8XfXlEBLT5sF+oU40At6ZKr2skR3nBBy2khZ8zcBwc/wepRFq1M OR/mqPHYkMqjnw53fNwglndnHntxiEHMogFSIlfnXVDJKLc0Ww00BkghV 3Fbd3MCQoT2iPh8q+hrPFBPcudPSZQQxaGDEkpMBp9GOQytL5n+2Wm1J6 vigXoYisRdWi4bjDDFPoN2nGi65g0rAGNnzhkZ+NeVRNl9sPsOYZt0RM2 gqVw5OKkdSpSEUG+Nss/PiHvefQarrYD5ZwE7Jbah6kzYqoNI0MocMwDg g==; X-IronPort-AV: E=McAfee;i="6500,9779,10454"; a="381267873" X-IronPort-AV: E=Sophos;i="5.93,273,1654585200"; d="scan'208";a="381267873" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 11:28:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,273,1654585200"; d="scan'208";a="611396745" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by orsmga002.jf.intel.com with ESMTP; 29 Aug 2022 11:28:15 -0700 From: Nicolas Chautru To: dev@dpdk.org, thomas@monjalon.net, gakhil@marvell.com, hemant.agrawal@nxp.com Cc: maxime.coquelin@redhat.com, trix@redhat.com, mdr@ashroe.eu, bruce.richardson@intel.com, david.marchand@redhat.com, stephen@networkplumber.org, mingshan.zhang@intel.com, Nicolas Chautru Subject: [PATCH v7 0/7] bbdev changes for 22.11 Date: Mon, 29 Aug 2022 11:07:11 -0700 Message-Id: <1661796438-204861-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1655491040-183649-6-git-send-email-nicolas.chautru@intel.com> References: <1655491040-183649-6-git-send-email-nicolas.chautru@intel.com> 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 v7: couple of typos in documentation spotted by Maxime. Thanks. v6: added one comment in commit 2/7 suggested by Maxime. v5: update base on review from Tom Rix. Number of typos reported and resolved, removed the commit related to rw_lock for now, added a commit for code clean up from review, resolved one rebase issue between 2 commits, used size of array for some bound check implementation. Thanks. v4: update to the last 2 commits to include function to print the queue status and a fix to the rte_lock within the wrong structure v3: update to device status info to also use padded size for the related array. Adding also 2 additionals commits to allow the API struc to expose more information related to queues corner cases/warning as well as an optional rw lock. Hemant, Maxime, this is planned for DPDK 21.11 but would like review/ack early is possible to get this applied earlier and due to time off this summer. Thanks Nic Nicolas Chautru (7): bbdev: allow operation type enum for growth bbdev: add device status info bbdev: add device info on queue topology drivers/baseband: update PMDs to expose queue per operation bbdev: add new operation for FFT processing bbdev: add queue related warning and status information bbdev: remove unnecessary if-check app/test-bbdev/test_bbdev.c | 2 +- app/test-bbdev/test_bbdev_perf.c | 6 +- doc/guides/prog_guide/bbdev.rst | 130 +++++++++++++++++ drivers/baseband/acc100/rte_acc100_pmd.c | 30 ++-- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 9 ++ drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 9 ++ drivers/baseband/la12xx/bbdev_la12xx.c | 10 +- drivers/baseband/null/bbdev_null.c | 1 + drivers/baseband/turbo_sw/bbdev_turbo_software.c | 12 ++ examples/bbdev_app/main.c | 2 +- lib/bbdev/rte_bbdev.c | 57 +++++++- lib/bbdev/rte_bbdev.h | 149 +++++++++++++++++++- lib/bbdev/rte_bbdev_op.h | 156 ++++++++++++++++++++- lib/bbdev/version.map | 12 ++ 14 files changed, 556 insertions(+), 29 deletions(-) -- 1.8.3.1