From patchwork Thu Jun 13 16:51:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 54785 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52DC21C614; Thu, 13 Jun 2019 18:52:07 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 69D241C60F for ; Thu, 13 Jun 2019 18:52:05 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 09:52:04 -0700 X-ExtLoop1: 1 Received: from skx-5gnr-sc12-1.sc.intel.com ([172.25.69.194]) by fmsmga008.fm.intel.com with ESMTP; 13 Jun 2019 09:52:04 -0700 From: Nicolas Chautru To: akhil.goyal@nxp.com, dev@dpdk.org Cc: ferruh.yigit@intel.com, thomas@monjalon.net, amr.mokhtar@intel.com, kamilx.chalupnik@intel.com, Nicolas Chautru Date: Thu, 13 Jun 2019 09:51:53 -0700 Message-Id: <1560444716-18594-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1559951688-61951-2-git-send-email-nicolas.chautru@intel.com> References: <1559951688-61951-2-git-send-email-nicolas.chautru@intel.com> Subject: [dpdk-dev] [PATCH v5 0/3] BBDEV turbo_sw PMD compilation fix 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" Update v5: Cosmetic change to remove trailing space and to commit message. Rebased to latest. Update v4: Missed one file for meson build path and minor change to prevent warning for some configurations due to unused symbols. Update v3: Cosmetic changes in documentation commit to be more 4G/AVX2 specific. Update v2: Splitting into 3 patches as recommended (ignore previous v2 which had a typo) Based on discussion with maintainer, pushing first a patch to help maintenance of the baseband_turbo_sw which had been lacking. The documentation is clarified to point to steps on building the SDK libraries which are now publicly available. (Cosmetic changes to the webpage containing these SDK will happen in parallel based on feedback from maintainer). A compile flag is added to be able to build the turbo_sw PMD when the SDK libraries for AVX2 are installed or not. In both cases this can be compiled with gcc RTE_TARGET. Missing meson build support is also added. Note that additional BBDEV changes pushed in previous v1 https://patches.dpdk.org/project/dpdk/list/?series=4657 will be added in a separate v2 patchset which will depend on this very patchset. Nicolas Chautru (3): baseband/turbo_sw: option to build turbosw PMD without SDK docs/guides: updating turbo_sw building steps baseband/turbo_sw: meson build support for PMD driver config/common_base | 3 +- doc/guides/bbdevs/turbo_sw.rst | 81 +++++++++++++----------- drivers/baseband/meson.build | 2 +- drivers/baseband/turbo_sw/Makefile | 13 ++-- drivers/baseband/turbo_sw/bbdev_turbo_software.c | 45 ++++++++++++- drivers/baseband/turbo_sw/meson.build | 30 +++++++++ meson_options.txt | 2 + mk/rte.app.mk | 3 + 8 files changed, 133 insertions(+), 46 deletions(-) create mode 100644 drivers/baseband/turbo_sw/meson.build