From patchwork Wed Apr 27 18:16:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 110382 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 99749A0093; Wed, 27 Apr 2022 20:22:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C633427F7; Wed, 27 Apr 2022 20:22:35 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id C490140E78 for ; Wed, 27 Apr 2022 20:22:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651083751; x=1682619751; h=from:to:cc:subject:date:message-id; bh=CrGtpBuoFzDMxyZxtc8mmjFt3TeToMcAo7JDVBs7Y78=; b=n4PE2ZqKET7XWmFSimfqbfTROYHCCkYKxmYH2hObAmqkqPfHhP98S6VE yWBTefKjlDMtc1xDeiXJ7mL4U3m0MA1OAcKYqMzR3gftoRw+AlTZ6oGHy bsisd5G7gnI25kJk2Dv7NZ1Na0QVW85SRQoMDtafysjA+eEFXgsFLJD0Q D61SGvy4oVzgSc4yNj6xk9FECE6gO+1ygFXX/ez0wJmcRqFDbhWDmLljt juQP8zqxRii4lqD7WP2wpStFSZwTNtRNXcldKy9g5vWQJO+n5ZM9loZyQ KkdLkiHZivdcdnlOt8LRZvngJcO7xhSovL2WhBOhsEtjNgvTGQMyuWSKY A==; X-IronPort-AV: E=McAfee;i="6400,9594,10330"; a="246587324" X-IronPort-AV: E=Sophos;i="5.90,293,1643702400"; d="scan'208";a="246587324" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 11:22:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,293,1643702400"; d="scan'208";a="730937291" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by orsmga005.jf.intel.com with ESMTP; 27 Apr 2022 11:22:28 -0700 From: Nicolas Chautru To: dev@dpdk.org, gakhil@marvell.com Cc: trix@redhat.com, thomas@monjalon.net, ray.kinsella@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, mingshan.zhang@intel.com, david.marchand@redhat.com, Nicolas Chautru Subject: [PATCH v2 0/5] drivers/baseband: PMD to support ACC101 device Date: Wed, 27 Apr 2022 11:16:58 -0700 Message-Id: <1651083423-33202-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 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 v2: Based on good feedback from Thomas and David, now implementing the ACC101 PMD as a close derivative from existing ACC100 PMD with hooks to have different behaviour based on variant. This prevents code duplication and only rely on different functions and behaviour when hardware requires or support differences. Note that these are pending changes for ACC100 which would be specific to that device and not ACC101 but these can be managed based on the new implementation, ie. is_acc100() etc... (such incremental changes for ACC100 trending 22.11 but confirming this is future proof). The serie also includes commits which were meant for ACC101 but are also valuable for ACC100. v1: This serie introduces the PMD for the new bbdev device ACC101 (aka Mount Cirrus). This is a derivative from previous Mount Bryce ACC100 which includes silicon improvement, bug fixes, capacity improvement for 5GNR and feature improvement. Nicolas Chautru (5): baseband/acc100: introduce PMD for ACC101 baseband/acc100: modify validation code for ACC101 baseband/acc100: configuration of ACC101 from PF baseband/acc100: start explicitly PF Monitor from PMD baseband/acc100: add protection for some negative scenario app/test-bbdev/test_bbdev_perf.c | 57 ++++ doc/guides/bbdevs/acc101.rst | 237 ++++++++++++++ doc/guides/bbdevs/features/acc101.ini | 13 + doc/guides/bbdevs/index.rst | 1 + doc/guides/rel_notes/release_22_07.rst | 4 + drivers/baseband/acc100/rte_acc100_cfg.h | 17 + drivers/baseband/acc100/rte_acc100_pmd.c | 546 ++++++++++++++++++++++++++++++- drivers/baseband/acc100/rte_acc100_pmd.h | 12 + drivers/baseband/acc100/rte_acc101_pmd.h | 61 ++++ drivers/baseband/acc100/version.map | 2 +- 10 files changed, 932 insertions(+), 18 deletions(-) create mode 100644 doc/guides/bbdevs/acc101.rst create mode 100644 doc/guides/bbdevs/features/acc101.ini create mode 100644 drivers/baseband/acc100/rte_acc101_pmd.h