From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B923A00C2; Fri, 11 Mar 2022 21:08:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C9A3410E3; Fri, 11 Mar 2022 21:08:25 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id C2EA940042 for ; Fri, 11 Mar 2022 21:08:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647029304; x=1678565304; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mbGz4s2bCE1oBVNH1V9pfBsgl7vj0OBIwQd57tunTPg=; b=aTR7ghGv38oNxV+xhMuwYrwDCda6fpo7WAjVT3iAIu0Co7kscFZturtM 7941Bo5Rsa7v5HnPPoWtg+2hOqN6/qcNK7VsZZhQhfEvAuOnk+OHwfWcp Cl679ps6o+sHPewi3Zm0hIpy6pYzDJ/21wzlc4QWrrmqe/KZRzKInsGzD RbiDxefSSAfwdNcxlj87aXLVv+v0hMvUZMTnM4x6tXzjUuqgTmPC/QkD+ 14L2QB5WZrDiicBEEPr/MlRD2edfZgv6pRjZnTEcJAYMOCn5dzDp8Eozt wM2+DY9u4GGccLvIgEJwg1tf8lFfskJJeWBLliASPMu6YLJcM+bdsR1Mf w==; X-IronPort-AV: E=McAfee;i="6200,9189,10283"; a="255379383" X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="255379383" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 12:08:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="781965051" Received: from silpixa00399126.ir.intel.com ([10.237.223.34]) by fmsmga006.fm.intel.com with ESMTP; 11 Mar 2022 12:08:21 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 2/2] doc/freebsd_gsg: update DPDK build section Date: Fri, 11 Mar 2022 20:07:52 +0000 Message-Id: <20220311200752.1020202-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220311200752.1020202-1-bruce.richardson@intel.com> References: <20220311200752.1020202-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Some minor updates for the section on builing DPDK in the GSG: * update Python 3.7 package name to the 3.8 version * note that the pyelftools needs to be tied to the python version * drop reference to jansson library for legacy telemetry * replace special characters for (R) Signed-off-by: Bruce Richardson --- doc/guides/freebsd_gsg/build_dpdk.rst | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/doc/guides/freebsd_gsg/build_dpdk.rst b/doc/guides/freebsd_gsg/build_dpdk.rst index bed353473f..d335b97cfc 100644 --- a/doc/guides/freebsd_gsg/build_dpdk.rst +++ b/doc/guides/freebsd_gsg/build_dpdk.rst @@ -1,6 +1,8 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. +.. include:: + .. _building_from_source: Compiling the DPDK Target from Source @@ -14,11 +16,16 @@ The following FreeBSD packages are required to build DPDK: * meson * ninja * pkgconf -* py37-pyelftools +* py38-pyelftools + +.. note: + + The specific package for pyelftools is dependent on the version of python in use, + Python 3.8 being the version at type of writing, hence the ``py38`` prefix. These can be installed using (as root):: - pkg install meson pkgconf py37-pyelftools + pkg install meson pkgconf py38-pyelftools To compile the required kernel modules for memory management and working with physical NIC devices, the kernel sources for FreeBSD also @@ -28,11 +35,6 @@ installed via commands like the following, for FreeBSD 12.1 on x86_64:: fetch http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/12.1-RELEASE/src.txz tar -C / -xJvf src.txz -To enable the telemetry library in DPDK, the jansson library also needs to -be installed, and can be installed via:: - - pkg install jansson - Individual drivers may have additional requirements. Consult the relevant driver guide for any driver-specific requirements of interest. @@ -176,7 +178,7 @@ Binding Network Ports to the nic_uio Module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Device ownership can be viewed using the pciconf -l command. The example below shows -four IntelĀ® 82599 network ports under ``if_ixgbe`` module ownership. +four Intel\ |reg| 82599 network ports under ``if_ixgbe`` module ownership. .. code-block:: none -- 2.32.0