From patchwork Fri Oct 27 21:57:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 133514 X-Patchwork-Delegate: maxime.coquelin@redhat.com 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 A89514321A; Sat, 28 Oct 2023 00:03:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 12A0F4069D; Sat, 28 Oct 2023 00:03:48 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id 1580040267 for ; Sat, 28 Oct 2023 00:03:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698444226; x=1729980226; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vEyeIrcM6WzJVMFgsHEQstN942y/x7N/AHkURytNXOQ=; b=AREEVO/y+2DQc0+4Dmwe8C7c/1db6nyidTP3TrVu5EP9UKoOYbbj8fjb nlIAVkL9DlfOmLrHofr5k+P0E/4GHV1uX8RCdrQrThebz2utc6am3ZeTJ ot/+RVkj55+nsAUIUz3q05N3QZ4vh/I7DQw5vQhgxUNbRn/4PGk2bWtlY 44R3YqsEknJjYfWeJBm2Cf3/6hWTHIM7MXRvAcAmn9GvcKg5gA2No4Fw4 1loX647UYgk5+5ESNO80l9KbeCca1dcCOxvDVE6TAXM/clsXGjk8NhUhp NxXQrov2RCCYGvXEw2K8K680gRQu8FRIaRnEazBgi6piomyJf+nQ+dqSt g==; X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="9394670" X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="9394670" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 15:03:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="763351937" X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="763351937" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by fmsmga007.fm.intel.com with ESMTP; 27 Oct 2023 15:03:44 -0700 From: Nicolas Chautru To: dev@dpdk.org, maxime.coquelin@redhat.com Cc: hemant.agrawal@nxp.com, david.marchand@redhat.com, hernan.vargas@intel.com Subject: [PATCH v2 2/2] doc: update FlexRAN SDK links Date: Fri, 27 Oct 2023 21:57:02 +0000 Message-Id: <20231027215702.498932-3-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231027215702.498932-1-nicolas.chautru@intel.com> References: <20231027215702.498932-1-nicolas.chautru@intel.com> 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 From: Hernan Vargas Update FlexRAN SDK module link to use FEC_SDK_23.07. Update compiler links to use ICX. Update build SDK build instructions. Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/turbo_sw.rst | 53 +++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/doc/guides/bbdevs/turbo_sw.rst b/doc/guides/bbdevs/turbo_sw.rst index 1056e7a47a..9445cf1327 100644 --- a/doc/guides/bbdevs/turbo_sw.rst +++ b/doc/guides/bbdevs/turbo_sw.rst @@ -67,11 +67,13 @@ FlexRAN SDK Download As an option it is possible to link this driver with FleXRAN SDK libraries which can enable real time signal processing using AVX instructions. -These libraries are available through this `link `_. +These libraries are available through this `link `_. After download is complete, the user needs to unpack and compile on their system before building DPDK. +To get the FlexRAN FEC SDK User manual extract this `doxygen `_. + The following table maps DPDK versions with past FlexRAN SDK releases: .. _table_flexran_releases: @@ -83,6 +85,7 @@ The following table maps DPDK versions with past FlexRAN SDK releases: ===================== ============================ 19.08 to 22.07 19.04 22.11+ 22.11 + 23.11+ FEC_SDK_23.07 ===================== ============================ FlexRAN SDK Installation @@ -91,31 +94,34 @@ FlexRAN SDK Installation Note that the installation of these libraries is optional. The following are pre-requisites for building FlexRAN SDK Libraries: - (a) An AVX2 or AVX512 supporting machine - (b) CentOS Linux release 7.2.1511 (Core) operating system is advised - (c) Intel ICC 18.0.1 20171018 compiler or more recent and related libraries - ICC is `available with a free community license `_. + (a) An AVX512 supporting machine. + (b) Ubuntu Linux release 22.04 operating system is advised. + (c) Intel ICX 2023.0.0 compiler or more recent and related libraries. + ICX is available `here `_. + (d) `FlexRAN SDK Modules `_. + (e) CMake 3.9.2 (Minimum 2.8.12) + (f) Google Test 1.7.0 (Required to run the verification and compute performance tests) + (g) Math Kernel Library 18.0 (Required by some functions in SDK) The following instructions should be followed in this exact order: -#. Set the environment variables: +#. Clone the SDK (Folder name needs to end in 'sdk') .. code-block:: console - source /linux/bin/compilervars.sh intel64 -platform linux + git clone -b Branch_FEC_SDK_23.07 https://github.com/intel/FlexRAN-FEC-SDK-Modules.git flexran_sdk -#. Run the SDK extractor script and accept the license: +#. Set the environment variables: .. code-block:: console - cd - ./FlexRAN-FEC-SDK-19-04.sh + source /export_settings.sh -o -avx512 #. Generate makefiles based on system configuration: .. code-block:: console - cd /FlexRAN-FEC-SDK-19-04/sdk/ + cd ./create-makefiles-linux.sh #. A build folder is generated in this form ``build--``, enter that @@ -123,11 +129,11 @@ The following instructions should be followed in this exact order: .. code-block:: console - cd build-avx512-icc/ - make && make install + cd /build-${WIRELESS_SDK_TARGET_ISA}-${WIRELESS_SDK_TOOLCHAIN}/ + make -j$(nproc) && make install -Initialization --------------- +DPDK Initialization +~~~~~~~~~~~~~~~~~~~ In order to enable this virtual bbdev PMD, the user may: @@ -142,18 +148,20 @@ In order to enable this virtual bbdev PMD, the user may: Example: -.. code-block:: console + .. code-block:: console - export FLEXRAN_SDK=/FlexRAN-FEC-SDK-19-04/sdk/build-avx2-icc/install - export DIR_WIRELESS_SDK=/FlexRAN-FEC-SDK-19-04/sdk/build-avx2-icc/ - export PKG_CONFIG_PATH=$DIR_WIRELESS_SDK/pkgcfg:$PKG_CONFIG_PATH - cd build - meson configure + export FLEXRAN_SDK=/build-${WIRELESS_SDK_TARGET_ISA}-${WIRELESS_SDK_TOOLCHAIN}/install + export DIR_WIRELESS_SDK=/build-${WIRELESS_SDK_TARGET_ISA}-${WIRELESS_SDK_TOOLCHAIN} + export PKG_CONFIG_PATH=${DIR_WIRELESS_SDK}/pkgcfg:${PKG_CONFIG_PATH} + cd build + meson configure * For AVX512 machines with SDK libraries installed then both 4G and 5G can be enabled for full real time FEC capability. For AVX2 machines it is possible to only enable the 4G libraries and the PMD capabilities will be limited to 4G FEC. If no library is present then the PMD will still build but its capabilities will be limited accordingly. +SW Turbo PMD Usage +~~~~~~~~~~~~~~~~~~ To use the PMD in an application, user must: @@ -169,9 +177,8 @@ The following parameters (all optional) can be provided in the previous two call * ``max_nb_queues``: Specify the maximum number of queues in the device (default is ``RTE_MAX_LCORE``). Example: -~~~~~~~~ -.. code-block:: console + .. code-block:: console ./test-bbdev.py -e="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" \ -c validation -v ./turbo_*_default.data