From patchwork Mon May 16 20:48:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 111196 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 B4DD1A00BE; Mon, 16 May 2022 22:56:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5560040A7D; Mon, 16 May 2022 22:56:24 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 4B1054068B for ; Mon, 16 May 2022 22:56:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652734582; x=1684270582; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=wA/qwmKsbMGV+DOA9/LVv1hEcBin7yYXIcEH3TMgt9Y=; b=PfRSwClg7psByox6bCtYF9swItPVBUdKw68dMeyOIvvVYGMthLXULhMS LbGCBb03yX/9ZyjuPlJuNMxPpZw3RTHcEdWRuEeGFvSzau9qvIkbsnBuF RU1EPWxMUfpq8LgTTyB5NXTu3Byu1cfvMXeOS4fAyKWz7q+MwUUhdkWOc uXJ07FgW9GDs3lIGiXZi580ZfoxZvSCkYZk7DlrOO40HLGcKh1td/rk6t IzFdi6acBXBDKJEhFfqhkFSwfxD6e1cI2fxmRtGlw72Kla5X9Y+4+qOZ6 TQr2dyfI9eFPEffbZ5U4KCj/fCTXRFAYDsm8nXlK4qmkJeWqv+y/Mtvjd w==; X-IronPort-AV: E=McAfee;i="6400,9594,10349"; a="251476091" X-IronPort-AV: E=Sophos;i="5.91,230,1647327600"; d="scan'208";a="251476091" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 13:56:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,230,1647327600"; d="scan'208";a="574199162" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by fmsmga007.fm.intel.com with ESMTP; 16 May 2022 13:56:20 -0700 From: Nicolas Chautru To: dev@dpdk.org, gakhil@marvell.com, trix@redhat.com Cc: thomas@monjalon.net, ray.kinsella@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, hernan.vargas@intel.com, david.marchand@redhat.com, Nicolas Chautru Subject: [PATCH v3 0/4] drivers/baseband: PMD to support ACC101 device Date: Mon, 16 May 2022 13:48:29 -0700 Message-Id: <1652734113-124047-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1651083423-33202-1-git-send-email-nicolas.chautru@intel.com> References: <1651083423-33202-1-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 v3: Feedback from Tom Rix: missing copyright, refactor bbdev-test section calling the configure companion function for ACC100/101, taking the Pmon commit out which is not directly required. 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 (4): baseband/acc100: introduce PMD for ACC101 baseband/acc100: modify validation code for ACC101 baseband/acc100: configuration of ACC101 from PF baseband/acc100: add protection for some negative scenario app/test-bbdev/test_bbdev_perf.c | 22 +- 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 | 542 ++++++++++++++++++++++++++++++- drivers/baseband/acc100/rte_acc100_pmd.h | 6 + drivers/baseband/acc100/rte_acc101_pmd.h | 65 ++++ drivers/baseband/acc100/version.map | 2 +- 10 files changed, 885 insertions(+), 24 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