From patchwork Fri Oct 14 02:17:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Chautru X-Patchwork-Id: 118171 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 9D2DAA00C2; Fri, 14 Oct 2022 04:17:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C4A54021E; Fri, 14 Oct 2022 04:17:58 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 8EA5B400D4 for ; Fri, 14 Oct 2022 04:17:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665713877; x=1697249877; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=jLUOE6exM4HKVRtCP+i2m+vtZUARhJfznOq10DrUx3o=; b=oFyoluzgl20fO3Cv40SwbbopT5oMaXPJEqq5045Jym5yQKpD6/hiELgt Vy+e7iGL8YsyTfIVeukN2iseLSemH1vSGbFr3cPHDIJJGc0Y1Owxf3giV s5Xj37qqBWRkAEd7bNWwt78hUk1lpQcdX6sdH0Ws9XafhML1mWcgouGsC y2S5bdUsGzVepvZhLy3UTTwKsD7G7RgtHXf9VmQhuWq+ltTizF+OwH7R0 of47NeY/24WI4E4nol/+/HZ7C2tU0otPwabqYhCzEWIrIf8smtezrSCo4 ttqWguvrYQC9kAhmUT0E+kTrvn6wk+3pE5uomDVD5mJMNMxYK8fwuUFEk Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="306912198" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="306912198" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2022 19:17:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="660565291" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="660565291" Received: from unknown (HELO icx-npg-scs1-cp1.localdomain) ([10.233.180.245]) by orsmga001.jf.intel.com with ESMTP; 13 Oct 2022 19:17:55 -0700 From: Nicolas Chautru To: dev@dpdk.org, gakhil@marvell.com, maxime.coquelin@redhat.com Cc: trix@redhat.com, mdr@ashroe.eu, bruce.richardson@intel.com, hemant.agrawal@nxp.com, david.marchand@redhat.com, stephen@networkplumber.org, hernan.vargas@intel.com, Nicolas Chautru Subject: [PATCH v13 0/1] bbdev-test extension Date: Thu, 13 Oct 2022 19:17:53 -0700 Message-Id: <20221014021754.48157-1-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 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 v13: Leftover commit 16 from the acc200 series (introduced in v10). Updated the commit message and documentation incl. rel notes and bbdev-test one suggested by Maxime. Modification of vector used. Thanks. v12: Rebase between commits notably to avoid interim build issue and test vector format issue raised by Akhil. Thanks. v11: Fixed clang compilation error introduced in v10 16/16. Thanks v10: Update of patch 13 to expose a single configuration API for the ACC devices. New commit 15 to refactor PMD code using helper functions for the descriptor index management and improve readability. New commit 16 to extend bbdev-test capability to support new operations and capabilities in the new PMD. Formatting fixes. Note that the checkpatch warning are False-Alarms. Thanks v9: I had missed a compilation error in debug mode. v8: Rebased to latest and fixed related compilation error. Added acc200.ini and updated rel_notes. Formatting improvement in comments, docs and commit message. v7: Additional update in commits 9,10,11 based on review from Maxime. v5/v6:Updates based on Maxime reviews of v4/v5. Thanks. v4: Rebase suggested by Maxime to split first commit and update the order within the series. No functional change. v3: Putting together ACC100 and ACC200 PMDs in common acc directory based on previous discussion on v2. v2: Includes now code refactory to have common structures and code reused with the parallel ACC1XX serie PMD which can be shared moving forward. v1: This is targeting 22.11 and includes the PMD for the new serie integrated accelerator on Intel Xeon SPR-EEC. Nic Chautru (1): test-bbdev: unit test extension including for FFT app/test-bbdev/test_bbdev_perf.c | 540 +++++++++++- app/test-bbdev/test_bbdev_vector.c | 182 ++++ app/test-bbdev/test_bbdev_vector.h | 1 + app/test-bbdev/test_vectors/fft_9.data | 870 ++++++++++++++++++++ app/test-bbdev/test_vectors/fft_byp_28.data | 102 +++ doc/guides/rel_notes/release_22_11.rst | 6 + doc/guides/tools/testbbdev.rst | 133 +++ 7 files changed, 1817 insertions(+), 17 deletions(-) create mode 100644 app/test-bbdev/test_vectors/fft_9.data create mode 100644 app/test-bbdev/test_vectors/fft_byp_28.data