doc: fix anchors namespace in guides
Subsystems (2)
PATCH 1/1 doc: fix anchors namespace in guides
I modified the anchors names within the guides to have a a clear prefix so that they don't collide, based on advice from Thomas.
--- doc/guides/freebsd_gsg/build_dpdk.rst | 8 ++++---- doc/guides/freebsd_gsg/build_sample_apps.rst | 6 +++--- doc/guides/freebsd_gsg/install_from_ports.rst | 2 +- doc/guides/linux_gsg/build_dpdk.rst | 4 ++-- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 4 ++-- doc/guides/linux_gsg/enable_func.rst | 6 +++--- doc/guides/linux_gsg/linux_drivers.rst | 6 +++--- doc/guides/nics/af_xdp.rst | 6 +++--- doc/guides/nics/bnx2x.rst | 2 +- doc/guides/nics/build_and_test.rst | 2 +- doc/guides/nics/cnxk.rst | 2 +- doc/guides/nics/cxgbe.rst | 12 ++++++------ doc/guides/nics/dpaa.rst | 2 +- doc/guides/nics/dpaa2.rst | 4 ++-- doc/guides/nics/enic.rst | 6 +++--- doc/guides/nics/i40e.rst | 4 ++-- doc/guides/nics/ice.rst | 2 +- doc/guides/nics/intel_vf.rst | 10 +++++----- doc/guides/nics/ixgbe.rst | 2 +- doc/guides/nics/mlx4.rst | 10 +++++----- doc/guides/nics/mlx5.rst | 4 ++-- doc/guides/nics/mvpp2.rst | 12 ++++++------ doc/guides/nics/netvsc.rst | 4 ++-- doc/guides/nics/overview.rst | 2 +- doc/guides/nics/qede.rst | 4 ++-- doc/guides/nics/virtio.rst | 4 ++-- doc/guides/nics/vmxnet3.rst | 6 +++--- doc/guides/platform/cnxk.rst | 8 ++++---- doc/guides/platform/dpaa.rst | 2 +- doc/guides/platform/dpaa2.rst | 2 +- doc/guides/platform/mlx5.rst | 18 +++++++++--------- doc/guides/platform/octeontx.rst | 2 +- doc/guides/tools/dts.rst | 10 +++++----- 33 files changed, 89 insertions(+), 89 deletions(-)
doc/guides/freebsd_gsg/build_dpdk.rst +4 -4
@@ -3,7 +3,7 @@ .. include:: <isonum.txt> -.. _building_from_source: +.. _freebsd_gsg_building_from_source: Compiling the DPDK Target from Source =====================================
@@ -67,7 +67,7 @@ the next section. variable. -.. _loading_contigmem: +.. _freebsd_loading_contigmem: Loading the DPDK contigmem Module ---------------------------------
@@ -148,7 +148,7 @@ available and can be verified via dmesg or ``/var/log/messages``:: To avoid this error, reduce the number of buffers or the buffer size. -.. _loading_nic_uio: +.. _freebsd_gsg_loading_nic_uio: Loading the DPDK nic_uio Module -------------------------------
@@ -185,7 +185,7 @@ already bound to a driver other than ``nic_uio``. The following sub-section desc how to query and modify the device ownership of the ports to be used by DPDK applications. -.. _binding_network_ports: +.. _freebsd_gsg_binding_network_ports: Binding Network Ports to the nic_uio Module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/freebsd_gsg/build_sample_apps.rst +3 -3
@@ -1,7 +1,7 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _compiling_sample_apps: +.. _freebsd_gsg_compiling_sample_apps: Compiling and Running Sample Applications =========================================
@@ -44,7 +44,7 @@ the installation of DPDK using `meson install` as described previously:: ln -sf helloworld-shared build/helloworld -.. _running_sample_app: +.. _freebsd_gsg_running_sample_app: Running a Sample Application ----------------------------
@@ -96,7 +96,7 @@ Other options, specific to Linux and are not supported under FreeBSD are as foll The ``-c`` or ``-l`` option is mandatory; the others are optional. -.. _running_non_root: +.. _freebsd_gsg_running_non_root: Running DPDK Applications Without Root Privileges -------------------------------------------------
doc/guides/freebsd_gsg/install_from_ports.rst +1 -1
@@ -1,7 +1,7 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _install_from_ports: +.. _freebsd_gsg_install_from_ports: Installing DPDK from the Ports Collection =========================================
doc/guides/linux_gsg/build_dpdk.rst +2 -2
@@ -82,7 +82,7 @@ and the last step causing the dynamic loader `ld.so` to update its cache to take distributions, `/usr/local/lib` and `/usr/local/lib64` should be added to a file in `/etc/ld.so.conf.d/` before running `ldconfig`. -.. _adjusting_build_options: +.. _linux_gsg_adjusting_build_options: Adjusting Build Options ~~~~~~~~~~~~~~~~~~~~~~~
@@ -177,7 +177,7 @@ Once the build directory has been configured, DPDK can be compiled using ``ninja`` as described above. -.. _building_app_using_installed_dpdk: +.. _linux_gsg_building_app_using_installed_dpdk: Building Applications Using Installed DPDK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +2 -2
@@ -64,7 +64,7 @@ For aarch32, install ``pkg-config-arm-linux-gnueabihf``:: GNU toolchain ------------- -.. _obtain_GNU_toolchain: +.. _linux_gsg_obtain_GNU_toolchain: Get the cross toolchain ~~~~~~~~~~~~~~~~~~~~~~~
@@ -94,7 +94,7 @@ For aarch32:: For the host requirements and other info, refer to the release note section: https://releases.linaro.org/components/toolchain/binaries/ -.. _augment_the_gnu_toolchain_with_numa_support: +.. _linux_gsg_augment_the_gnu_toolchain_with_numa_support: Augment the GNU toolchain with NUMA support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/linux_gsg/enable_func.rst +3 -3
@@ -3,12 +3,12 @@ .. include:: <isonum.txt> -.. _Enabling_Additional_Functionality: +.. _linux_gsg_Enabling_Additional_Functionality: Enabling Additional Functionality ================================= -.. _Running_Without_Root_Privileges: +.. _linux_gsg_Running_Without_Root_Privileges: Running DPDK Applications Without Root Privileges -------------------------------------------------
@@ -157,7 +157,7 @@ Also see `CPU isolation example <https://www.suse.com/c/cpu-isolation-practical-example-part-5/>`_ and `systemd core isolation example <https://www.rcannings.com/systemd-core-isolation/>`_. -.. _High_Precision_Event_Timer: +.. _linux_gsg_High_Precision_Event_Timer: High Precision Event Timer (HPET) Functionality -----------------------------------------------
doc/guides/linux_gsg/linux_drivers.rst +3 -3
@@ -135,7 +135,7 @@ For proper operation of VFIO when running DPDK applications as a non-privileged For more information, please refer to :ref:`Running_Without_Root_Privileges`. -.. _vfio_noiommu: +.. _linux_gsg_vfio_noiommu: VFIO no-IOMMU mode ~~~~~~~~~~~~~~~~~~
@@ -361,7 +361,7 @@ running on these systems. Consult your distributions documentation to make sure that is the case. -.. _bifurcated_driver: +.. _linux_gsg_bifurcated_driver: Bifurcated Driver -----------------
@@ -386,7 +386,7 @@ More about the bifurcated driver can be found in NVIDIA `bifurcated PMD <https://www.dpdk.org/wp-content/uploads/sites/35/2016/10/Day02-Session04-RonyEfraim-Userspace2016.pdf>`_ presentation. -.. _uio: +.. _linux_gsg_uio: UIO ---
doc/guides/nics/af_xdp.rst +3 -3
@@ -157,7 +157,7 @@ use_cni The EAL vdev argument ``use_cni`` is used to indicate that the user wishes to enable the `AF_XDP Device Plugin for Kubernetes`_ with a DPDK application/pod. -.. _AF_XDP Device Plugin for Kubernetes: https://github.com/redhat-et/afxdp-plugins-for-kubernetes +.. _nics_AF_XDP Device Plugin for Kubernetes: https://github.com/redhat-et/afxdp-plugins-for-kubernetes .. code-block:: console
@@ -178,7 +178,7 @@ The EAL vdev argument ``use_pinned_map`` is used to indicate that the user wishe load a pinned xskmap mounted by `AF_XDP Device Plugin for Kubernetes`_ in the DPDK application/pod. -.. _AF_XDP Device Plugin for Kubernetes: https://github.com/redhat-et/afxdp-plugins-for-kubernetes +.. _nics_AF_XDP Device Plugin for Kubernetes: https://github.com/redhat-et/afxdp-plugins-for-kubernetes .. code-block:: console
@@ -202,7 +202,7 @@ to explicitly tell the AF_XDP PMD where to find either: If this argument is not passed alongside the ``use_cni`` or ``use_pinned_map`` arguments then the AF_XDP PMD configures it internally to the `AF_XDP Device Plugin for Kubernetes`_. -.. _AF_XDP Device Plugin for Kubernetes: https://github.com/redhat-et/afxdp-plugins-for-kubernetes +.. _nics_AF_XDP Device Plugin for Kubernetes: https://github.com/redhat-et/afxdp-plugins-for-kubernetes .. code-block:: console
doc/guides/nics/bnx2x.rst +1 -1
@@ -99,7 +99,7 @@ enabling debugging options may affect system performance. Toggle display of register reads and writes. -.. _bnx2x_driver-compilation: +.. _nics_bnx2x_driver-compilation: Driver compilation and testing ------------------------------
doc/guides/nics/build_and_test.rst +1 -1
@@ -1,7 +1,7 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2017 Cavium, Inc -.. _pmd_build_and_test: +.. _nics_pmd_build_and_test: Compiling and testing a PMD for a NIC =====================================
doc/guides/nics/cnxk.rst +1 -1
@@ -716,7 +716,7 @@ Port representor PMD supports following operations: Debugging Options ----------------- -.. _table_cnxk_ethdev_debug_options: +.. _nics_table_cnxk_ethdev_debug_options: .. table:: cnxk ethdev debug options
doc/guides/nics/cxgbe.rst +6 -6
@@ -15,7 +15,7 @@ and has support for the latest Linux operating systems. More information can be found at `Chelsio Communications Official Website <http://www.chelsio.com>`_. -.. _t5-nics: +.. _nics_t5-nics: Supported Chelsio T5 NICs -------------------------
@@ -25,7 +25,7 @@ Supported Chelsio T5 NICs - 40G NICs: T580-CR, T580-LP-CR, T580-SO-CR - Other T5 NICs: T522-CR -.. _t6-nics: +.. _nics_t6-nics: Supported Chelsio T6 NICs -------------------------
@@ -319,7 +319,7 @@ CXGBE PF Only Runtime Options dpdk-testpmd -a 02:00.4,filtermode=0x88,filtermask=0x80 -- -i -.. _driver-compilation: +.. _nics_driver-compilation: Driver compilation and testing ------------------------------
@@ -330,7 +330,7 @@ for details. Linux ----- -.. _linux-installation: +.. _nics_linux-installation: Linux Installation ~~~~~~~~~~~~~~~~~~
@@ -582,7 +582,7 @@ virtual functions. FreeBSD ------- -.. _freebsd-installation: +.. _nics_freebsd-installation: FreeBSD Installation ~~~~~~~~~~~~~~~~~~~~
@@ -784,7 +784,7 @@ devices managed by librte_net_cxgbe in FreeBSD operating system. Sample Application Notes ------------------------ -.. _flow-control: +.. _nics_flow-control: Enable/Disable Flow Control ~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/nics/dpaa.rst +1 -1
@@ -23,7 +23,7 @@ Contents summary - DPAA driver architecture overview - FMAN configuration tools and library -.. _dpaa_overview: +.. _nics_dpaa_overview: DPAA Overview ~~~~~~~~~~~~~
doc/guides/nics/dpaa2.rst +2 -2
@@ -23,7 +23,7 @@ Contents summary - Overview of DPAA2 objects - DPAA2 driver architecture overview -.. _dpaa2_overview: +.. _nics_dpaa2_overview: DPAA2 Overview ~~~~~~~~~~~~~~
@@ -555,7 +555,7 @@ Other Limitations - RSS hash key cannot be modified. - RSS RETA cannot be configured. -.. _dptmapi: +.. _nics_dptmapi: Traffic Management API ----------------------
doc/guides/nics/enic.rst +3 -3
@@ -219,7 +219,7 @@ There are two known limitations of the current SR-IOV implementation. and assign them to VMs as passthrough devices. -.. _enic-generic-flow-api: +.. _nics_enic-generic-flow-api: Generic Flow API support ------------------------
@@ -279,7 +279,7 @@ the (stripped) VLAN header whether stripping is enabled or disabled. More features may be added in future firmware and new versions of the VIC. Please refer to the release notes. -.. _overlay_offload: +.. _nics_overlay_offload: Overlay Offload ---------------
@@ -429,7 +429,7 @@ To verify the selected entry size, enable debug logging PMD: rte_enic_pmd: Supported CQ entry sizes: 16 32 PMD: rte_enic_pmd: Using 16B CQ entry size -.. _enic_limitations: +.. _nics_enic_limitations: Limitations -----------
doc/guides/nics/i40e.rst +2 -2
@@ -763,7 +763,7 @@ Mirror rule limitation for X722 Due to firmware restriction of X722, the same VSI cannot have more than one mirror rule. -.. _net_i40e_testpmd_commands: +.. _nics_net_i40e_testpmd_commands: Testpmd driver specific commands --------------------------------
@@ -991,7 +991,7 @@ server with Intel Xeon processors and Intel Ethernet CNA XL710. The example scenario is to get best performance with two Intel Ethernet CNA XL710 40GbE ports. See :numref:`figure_intel_perf_test_setup` for the performance test setup. -.. _figure_intel_perf_test_setup: +.. _nics_figure_intel_perf_test_setup: .. figure:: img/intel_perf_test_setup.*
doc/guides/nics/ice.rst +1 -1
@@ -497,7 +497,7 @@ Additional Options -a 18:01.0,cap=dcf,acl=off -.. _figure_ice_dcf: +.. _nics_figure_ice_dcf: .. figure:: img/ice_dcf.*
doc/guides/nics/intel_vf.rst +5 -5
@@ -47,7 +47,7 @@ For more detail on SR-IOV, please refer to the following documents: * `Scalable I/O Virtualized Servers <http://www.intel.com/content/www/us/en/virtualization/server-virtualization/scalable-i-o-virtualized-servers-paper.html>`_ -.. _figure_single_port_nic: +.. _linux_gsg_nics_figure_single_port_nic: .. figure:: img/single_port_nic.*
@@ -338,7 +338,7 @@ The expected guest operating systems in a virtualized environment are: For supported kernel versions, refer to the *DPDK Release Notes*. -.. _intel_vf_kvm: +.. _linux_gsg_nics_intel_vf_kvm: Setting Up a KVM Virtual Machine Monitor ----------------------------------------
@@ -552,7 +552,7 @@ The setup procedure is as follows: * The Virtual Machine Monitor (see :numref:`figure_perf_benchmark`) is equivalent to a Host OS with KVM installed as described in the instructions. -.. _figure_perf_benchmark: +.. _linux_gsg_nics_figure_perf_benchmark: .. figure:: img/perf_benchmark.*
@@ -575,7 +575,7 @@ DPI can be offloaded on the host fast path. :numref:`figure_fast_pkt_proc` shows the scenario where some VMs directly communicate externally via a VFs, while others connect to a virtual switch and share the same uplink bandwidth. -.. _figure_fast_pkt_proc: +.. _linux_gsg_nics_figure_fast_pkt_proc: .. figure:: img/fast_pkt_proc.*
@@ -602,7 +602,7 @@ that is, the packet is forwarded to the correct PF pool. The SR-IOV NIC switch forwards the packet to a specific VM according to the MAC destination address which belongs to the destination VF on the VM. -.. _figure_inter_vm_comms: +.. _linux_gsg_nics_figure_inter_vm_comms: .. figure:: img/inter_vm_comms.*
doc/guides/nics/ixgbe.rst +1 -1
@@ -356,7 +356,7 @@ the VFs which are required.:: Currently hot-plugging of representor ports is not supported so all required representors must be specified on the creation of the PF. -.. _net_ixgbe_testpmd_commands: +.. _nics_net_ixgbe_testpmd_commands: Testpmd driver specific commands --------------------------------
doc/guides/nics/mlx4.rst +5 -5
@@ -228,9 +228,9 @@ Current RDMA core package and Linux kernel (recommended) ninja ninja install -.. _`RDMA core installation documentation`: https://raw.githubusercontent.com/linux-rdma/rdma-core/master/README.md +.. _nics_`RDMA core installation documentation`: https://raw.githubusercontent.com/linux-rdma/rdma-core/master/README.md -.. _OFED_as_a_fallback: +.. _nics_OFED_as_a_fallback: NVIDIA MLNX_OFED as a fallback ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -238,7 +238,7 @@ NVIDIA MLNX_OFED as a fallback - `NVIDIA MLNX_OFED`_ version: **4.4, 4.5, 4.6**. - firmware version: **2.42.5000** and above. -.. _`NVIDIA MLNX_OFED`: https://network.nvidia.com/products/infiniband-drivers/linux/mlnx_ofed/ +.. _nics_`NVIDIA MLNX_OFED`: https://network.nvidia.com/products/infiniband-drivers/linux/mlnx_ofed/ .. note::
@@ -276,7 +276,7 @@ Installing NVIDIA MLNX_OFED #. Continue with :ref:`section 2 of the Quick Start Guide <QSG_2>`. -.. _qsg: +.. _nics_qsg: Quick Start Guide -----------------
@@ -293,7 +293,7 @@ Quick Start Guide to Ethernet using connectx_port_config tool provided by it. :ref:`OFED_as_a_fallback`: -.. _QSG_2: +.. _nics_QSG_2: #. In case of bare metal or hypervisor, configure optimized steering mode by adding the following line to ``/etc/modprobe.d/mlx4_core.conf``::
doc/guides/nics/mlx5.rst +2 -2
@@ -412,7 +412,7 @@ Limitations - Supported also with ``FLEX_PARSER_PROFILE_ENABLE`` = 0 for single DW only. - Supported for FW version **xx.37.0142** and above. - .. _geneve_parser_api: + .. _nics_geneve_parser_api: - An API (``rte_pmd_mlx5_create_geneve_tlv_parser``) is available for the flexible parser used in HW steering:
@@ -1919,7 +1919,7 @@ There are multiple Rx burst functions with different advantages and limitations. | || RxQs >= rxqs_min_mprq | | | | | +-------------------+------------------------+---------+-----------------+------+-------+ -.. _mlx5_offloads_support: +.. _nics_mlx5_offloads_support: Supported hardware offloads ---------------------------
doc/guides/nics/mvpp2.rst +6 -6
@@ -2,7 +2,7 @@ Copyright(c) 2017 Marvell International Ltd. Copyright(c) 2017 Semihalf. -.. _mvpp2_poll_mode_driver: +.. _nics_mvpp2_poll_mode_driver: MVPP2 Poll Mode Driver ======================
@@ -166,7 +166,7 @@ In order to run testpmd example application following command can be used: --burst=128 --txd=2048 --rxd=1024 --rxq=2 --txq=2 --nb-cores=2 \ -i -a --rss-udp -.. _extstats: +.. _nics_extstats: Extended stats --------------
@@ -188,7 +188,7 @@ MVPP2 PMD supports the following extended statistics: - ``tx_errors``: number of TX MAC errors -.. _extconf: +.. _nics_extconf: External Configuration ----------------------
@@ -393,7 +393,7 @@ Usage example ./dpdk-testpmd --vdev=eth_mvpp2,iface=eth0,iface=eth2,cfg=/home/user/mrvl.conf \ -c 7 -- -i -a --disable-hw-vlan-strip --rxq=3 --txq=3 -.. _flowapi: +.. _nics_flowapi: Flow API --------
@@ -565,7 +565,7 @@ Following limitations need to be taken into account while creating flow rules: For additional information about classifier please consult ``doc/musdk_cls_user_guide.txt``. -.. _mtrapi: +.. _nics_mtrapi: Traffic metering and policing -----------------------------
@@ -622,7 +622,7 @@ For a detailed usage description please refer to "Traffic Metering and Policing" -.. _tmapi: +.. _nics_tmapi: Traffic Management API ----------------------
doc/guides/nics/netvsc.rst +2 -2
@@ -60,7 +60,7 @@ store it in a shell variable: DEV_UUID=$(basename $(readlink /sys/class/net/eth1/device)) -.. _`UUID`: https://en.wikipedia.org/wiki/Universally_unique_identifier +.. _nics_`UUID`: https://en.wikipedia.org/wiki/Universally_unique_identifier There are several possible ways to assign the UIO device driver for a device. The easiest way (but only on 4.18 or later)
@@ -71,7 +71,7 @@ the normal kernel device. driverctl -b vmbus set-override $DEV_UUID uio_hv_generic -.. _`driverctl Device Driver control utility`: https://gitlab.com/driverctl/driverctl +.. _nics_`driverctl Device Driver control utility`: https://gitlab.com/driverctl/driverctl Any settings done with driverctl are by default persistent and will be reapplied on reboot.
doc/guides/nics/overview.rst +1 -1
@@ -26,7 +26,7 @@ More details about features can be found in :doc:`features`. .. rst-class:: widepage -.. _table_net_pmd_features: +.. _nics_table_net_pmd_features: .. include:: overview_table.txt
doc/guides/nics/qede.rst +2 -2
@@ -155,7 +155,7 @@ actions. Patterns: -.. _table_qede_supported_flow_item_types: +.. _linux_gsg_nics_table_qede_supported_flow_item_types: .. table:: Item types
@@ -173,7 +173,7 @@ Patterns: Actions: -.. _table_qede_supported_ingress_action_types: +.. _linux_gsg_nics_table_qede_supported_ingress_action_types: .. table:: Ingress action types
doc/guides/nics/virtio.rst +2 -2
@@ -93,7 +93,7 @@ The following prerequisites apply: Virtio with qemu virtio Back End -------------------------------- -.. _figure_host_vm_comms_qemu: +.. _linux_gsg_nics_figure_host_vm_comms_qemu: .. figure:: img/host_vm_comms_qemu.*
@@ -202,7 +202,7 @@ in-order feature. Interrupt mode -------------- -.. _virtio_interrupt_mode: +.. _linux_gsg_nics_virtio_interrupt_mode: There are three kinds of interrupts from a virtio device over PCI bus: config interrupt, Rx interrupts, and Tx interrupts. Config interrupt is used for
doc/guides/nics/vmxnet3.rst +3 -3
@@ -110,7 +110,7 @@ The following prerequisites apply: * Before starting a VM, a VMXNET3 interface to a VM through VMware vSphere Client must be assigned. This is shown in the figure below. -.. _figure_vmxnet3_int: +.. _nics_figure_vmxnet3_int: .. figure:: img/vmxnet3_int.*
@@ -135,7 +135,7 @@ VMXNET3 with a Native NIC Connected to a vSwitch This section describes an example setup for Phy-vSwitch-VM-Phy communication. -.. _figure_vswitch_vm: +.. _nics_figure_vswitch_vm: .. figure:: img/vswitch_vm.*
@@ -162,7 +162,7 @@ VMXNET3 Chaining VMs Connected to a vSwitch The following figure shows an example VM-to-VM communication over a Phy-VM-vSwitch-VM-Phy communication channel. -.. _figure_vm_vm_comms: +.. _nics_figure_vm_vm_comms: .. figure:: img/vm_vm_comms.*
doc/guides/platform/cnxk.rst +4 -4
@@ -26,7 +26,7 @@ Resource Virtualization Unit architecture The :numref:`figure_cnxk_resource_virtualization` diagram depicts the RVU architecture and a resource provisioning example. -.. _figure_cnxk_resource_virtualization: +.. _platform_figure_cnxk_resource_virtualization: .. figure:: img/cnxk_resource_virtualization.*
@@ -45,7 +45,7 @@ The :numref:`table_cnxk_rvu_dpdk_mapping` shows the various local functions (LFs) provided by the RVU and its functional mapping to DPDK subsystem. -.. _table_cnxk_rvu_dpdk_mapping: +.. _platform_table_cnxk_rvu_dpdk_mapping: .. table:: RVU managed functional blocks and its mapping to DPDK subsystem
@@ -148,7 +148,7 @@ cnxk packet flow The :numref:`figure_cnxk_packet_flow_hw_accelerators` diagram depicts the packet flow on cnxk SoC in conjunction with use of various HW accelerators. -.. _figure_cnxk_packet_flow_hw_accelerators: +.. _platform_figure_cnxk_packet_flow_hw_accelerators: .. figure:: img/cnxk_packet_flow_hw_accelerators.*
@@ -248,7 +248,7 @@ compatible board: Debugging Options ----------------- -.. _table_cnxk_common_debug_options: +.. _platform_table_cnxk_common_debug_options: .. table:: cnxk common debug options
doc/guides/platform/dpaa.rst +1 -1
@@ -96,7 +96,7 @@ separately: SDK and related information can be obtained from: `NXP QorIQ SDK <http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX>`_. -.. _extra_scripts: +.. _platform_extra_scripts: - **DPDK Extra Scripts**
doc/guides/platform/dpaa2.rst +1 -1
@@ -94,7 +94,7 @@ separately: SDK and related information can be obtained from: `NXP QorIQ SDK <http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX>`_. -.. _extra_scripts: +.. _platform_extra_scripts: - **DPDK Extra Scripts**
doc/guides/platform/mlx5.rst +9 -9
@@ -53,7 +53,7 @@ On Windows, DevX is the only requirement from the above list. See :ref:`mlx5_windows_prerequisites` for DevX SDK package installation. -.. _mlx5_classes: +.. _platform_mlx5_classes: Classes -------
@@ -88,12 +88,12 @@ Limitations - On Windows, only ``eth`` and ``crypto`` are supported. -.. _mlx5_common_compilation: +.. _platform_mlx5_common_compilation: Compilation Prerequisites ------------------------- -.. _mlx5_linux_prerequisites: +.. _platform_mlx5_linux_prerequisites: Linux Prerequisites ~~~~~~~~~~~~~~~~~~~
@@ -223,7 +223,7 @@ to match the kernel modules and libraries they come with. Please check the "Tested Platforms" section in the :doc:`../../rel_notes/index`. -.. _mlx5_windows_prerequisites: +.. _platform_mlx5_windows_prerequisites: Windows Prerequisites ~~~~~~~~~~~~~~~~~~~~~
@@ -278,7 +278,7 @@ or:: set CFLAGS=-I"%DEVX_INC_PATH%" && set LDFLAGS=-L"%DEVX_LIB_PATH%" && meson.exe setup ... -.. _mlx5_common_env: +.. _platform_mlx5_common_env: Environment Configuration -------------------------
@@ -331,7 +331,7 @@ If link type was changed, firmware must be reset as well:: mlxfwreset -d <mst device> reset -.. _mlx5_vf: +.. _platform_mlx5_vf: SR-IOV Virtual Function with MLNX_OFED/EN ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -360,7 +360,7 @@ Then the virtual functions can be instantiated:: echo [num_vfs] > /sys/class/infiniband/mlx5_0/device/sriov_numvfs -.. _mlx5_sub_function: +.. _platform_mlx5_sub_function: Sub-Function with MLNX_OFED/EN ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -471,7 +471,7 @@ The keys ``DevxEnabled`` and ``DevxFsRules`` must be set. Additional information can be found in the WinOF2 user manual. -.. _mlx5_firmware_config: +.. _platform_mlx5_firmware_config: Firmware Configuration ~~~~~~~~~~~~~~~~~~~~~~
@@ -574,7 +574,7 @@ Below are some firmware configurations listed. MEMIC_SIZE_LIMIT=0 -.. _mlx5_common_driver_options: +.. _platform_mlx5_common_driver_options: Device Arguments ----------------
doc/guides/platform/octeontx.rst +1 -1
@@ -62,7 +62,7 @@ OCTEON TX compatible board: #. Follow the DPDK :doc:`../linux_gsg/index` to setup the basic DPDK environment. -.. _setup_platform_using_OCTEON_TX_SDK: +.. _platform_setup_platform_using_OCTEON_TX_SDK: Setup Platform Using OCTEON TX SDK ----------------------------------
doc/guides/tools/dts.rst +5 -5
@@ -147,7 +147,7 @@ There are two areas that need to be set up on a System Under Test: #. **User with administrator privileges** -.. _sut_admin_user: +.. _dts_sut_admin_user: DTS needs administrator privileges to run DPDK applications (such as testpmd) on the SUT. The SUT user must be able run commands in privileged mode without asking for password.
@@ -444,7 +444,7 @@ the DTS code check and format script. Refer to the script for usage: ``devtools/dts-check-format.sh -h``. -.. _building_api_docs: +.. _dts_building_api_docs: Building DTS API docs ---------------------
@@ -472,7 +472,7 @@ The output is generated in ``build/doc/api/dts/html``. Make sure to fix any Sphinx warnings when adding or updating docstrings. -.. _configuration_example: +.. _dts_configuration_example: Configuration Example ---------------------
@@ -489,7 +489,7 @@ And they both have two network ports which are physically connected to each othe This example assumes that you have setup SSH keys in both the system under test and traffic generator nodes. -.. _test_run_configuration_example: +.. _dts_test_run_configuration_example: ``dts/test_run.example.yaml`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -498,7 +498,7 @@ And they both have two network ports which are physically connected to each othe :language: yaml :start-at: # Define -.. _nodes_configuration_example: +.. _dts_nodes_configuration_example: ``dts/nodes.example.yaml``
Signature · 1 line
2.34.1
Quoted 6 lines · Nandini Persad
I modified the anchors names within the guides to have a a clear prefix so that they don't collide, based on advice from Thomas.
Signed-off-by Nandini Persad <[email protected]>---
Good idea.
Quoted 11 lines
-----Original Message-----
From: Nandini Persad <[email protected]>
Subject: [PATCH] doc: fix anchors namespace in guides
Importance: HighI modified the anchors names within the guides to have a a clear prefix so that they don't collide, based on advice from Thomas.
Signed-off-by Nandini Persad <[email protected]>
PATCH v2 1/2 doc: remove unused anchors
In reply to Nandini PersadThe documentation has unused anchors that were either left behind after a documentation refactoring, or just unused since day 1.
--- doc/guides/contributing/abi_policy.rst | 2 -- doc/guides/contributing/cheatsheet.rst | 1 - doc/guides/contributing/patches.rst | 1 - doc/guides/cryptodevs/qat.rst | 1 - doc/guides/howto/flow_bifurcation.rst | 1 - doc/guides/howto/lm_bond_virtio_sriov.rst | 1 - doc/guides/howto/lm_virtio_vhost_user.rst | 1 - doc/guides/howto/pvp_reference_benchmark.rst | 1 - doc/guides/linux_gsg/build_dpdk.rst | 1 - doc/guides/nics/bnx2x.rst | 1 - doc/guides/nics/enic.rst | 4 ---- doc/guides/nics/ice.rst | 1 - doc/guides/nics/rnp.rst | 1 - doc/guides/nics/virtio.rst | 1 - doc/guides/nics/vmxnet3.rst | 3 --- doc/guides/prog_guide/dmadev.rst | 1 - doc/guides/prog_guide/efd_lib.rst | 4 ---- doc/guides/prog_guide/env_abstraction_layer.rst | 2 -- doc/guides/prog_guide/ethdev/qos_framework.rst | 4 ---- .../prog_guide/eventdev/event_crypto_adapter.rst | 2 -- .../prog_guide/eventdev/event_dma_adapter.rst | 2 -- doc/guides/prog_guide/eventdev/eventdev.rst | 1 - doc/guides/prog_guide/graph_lib.rst | 4 ---- doc/guides/prog_guide/member_lib.rst | 7 ------- doc/guides/prog_guide/mldev.rst | 1 - doc/guides/prog_guide/multi_proc_support.rst | 1 - doc/guides/prog_guide/overview.rst | 1 - doc/guides/prog_guide/packet_framework.rst | 1 - doc/guides/prog_guide/pdcp_lib.rst | 1 - doc/guides/prog_guide/ring_lib.rst | 15 --------------- doc/guides/rel_notes/release_20_02.rst | 1 - doc/guides/sample_app_ug/dist_app.rst | 1 - doc/guides/sample_app_ug/l2_forward_crypto.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 1 - doc/guides/sample_app_ug/multi_process.rst | 2 -- doc/guides/sample_app_ug/ptpclient.rst | 1 - doc/guides/sample_app_ug/qos_scheduler.rst | 1 - doc/guides/sample_app_ug/test_pipeline.rst | 1 - doc/guides/sample_app_ug/vm_power_management.rst | 2 -- doc/guides/tools/dts.rst | 1 - doc/guides/tools/graph.rst | 2 -- doc/guides/tools/testeventdev.rst | 10 ---------- doc/guides/tools/testmldev.rst | 6 ------ 43 files changed, 98 deletions(-)
doc/guides/contributing/abi_policy.rst +0 -2
@@ -53,7 +53,6 @@ Therefore, in the case of dynamic linking, it is critical that an ABI is preserved, or (when modified), done in such a way that the application is unable to behave improperly or in an unexpected fashion. -.. _figure_what_is_an_abi: .. figure:: img/what_is_an_abi.*
@@ -104,7 +103,6 @@ An ABI version is supported in all new releases until the next major ABI version is declared. When changing the major ABI version, the release notes will detail all ABI changes. -.. _figure_abi_stability_policy: .. figure:: img/abi_stability_policy.*
doc/guides/contributing/cheatsheet.rst +0 -1
@@ -4,7 +4,6 @@ Patch Cheatsheet ================ -.. _figure_patch_cheatsheet: .. figure:: img/patch_cheatsheet.*
doc/guides/contributing/patches.rst +0 -1
@@ -452,7 +452,6 @@ For example:: since 802.1AS can be supported through the same interfaces. -.. _contrib_checkpatch: Checking the Patches --------------------
doc/guides/cryptodevs/qat.rst +0 -1
@@ -227,7 +227,6 @@ Configuring and Building the DPDK QAT PMDs Further information on configuring, building and installing DPDK is described :doc:`here <../linux_gsg/build_dpdk>`. -.. _building_qat_config: Build Configuration ~~~~~~~~~~~~~~~~~~~
doc/guides/howto/flow_bifurcation.rst +0 -1
@@ -36,7 +36,6 @@ the kernel driver while a DPDK application can receive specific traffic bypassing the Linux kernel by using drivers like VFIO or the DPDK ``igb_uio`` module. -.. _figure_flow_bifurcation_overview: .. figure:: img/flow_bifurcation_overview.*
doc/guides/howto/lm_bond_virtio_sriov.rst +0 -1
@@ -40,7 +40,6 @@ The ip address of host_server_1 is 10.237.212.46 The ip address of host_server_2 is 10.237.212.131 -.. _figure_lm_bond_virtio_sriov: .. figure:: img/lm_bond_virtio_sriov.*
doc/guides/howto/lm_virtio_vhost_user.rst +0 -1
@@ -32,7 +32,6 @@ The ip address of host_server_1 is 10.237.212.46 The ip address of host_server_2 is 10.237.212.131 -.. _figure_lm_vhost_user: .. figure:: img/lm_vhost_user.*
doc/guides/howto/pvp_reference_benchmark.rst +0 -1
@@ -20,7 +20,6 @@ v16.11 using RHEL7 for both host and guest. Setup overview -------------- -.. _figure_pvp_2nics: .. figure:: img/pvp_2nics.*
doc/guides/linux_gsg/build_dpdk.rst +0 -1
@@ -82,7 +82,6 @@ and the last step causing the dynamic loader `ld.so` to update its cache to take distributions, `/usr/local/lib` and `/usr/local/lib64` should be added to a file in `/etc/ld.so.conf.d/` before running `ldconfig`. -.. _adjusting_build_options: Adjusting Build Options ~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/nics/bnx2x.rst +0 -1
@@ -99,7 +99,6 @@ enabling debugging options may affect system performance. Toggle display of register reads and writes. -.. _bnx2x_driver-compilation: Driver compilation and testing ------------------------------
doc/guides/nics/enic.rst +0 -4
@@ -219,7 +219,6 @@ There are two known limitations of the current SR-IOV implementation. and assign them to VMs as passthrough devices. -.. _enic-generic-flow-api: Generic Flow API support ------------------------
@@ -279,8 +278,6 @@ the (stripped) VLAN header whether stripping is enabled or disabled. More features may be added in future firmware and new versions of the VIC. Please refer to the release notes. -.. _overlay_offload: - Overlay Offload ---------------
@@ -429,7 +426,6 @@ To verify the selected entry size, enable debug logging PMD: rte_enic_pmd: Supported CQ entry sizes: 16 32 PMD: rte_enic_pmd: Using 16B CQ entry size -.. _enic_limitations: Limitations -----------
doc/guides/nics/ice.rst +0 -1
@@ -557,7 +557,6 @@ Additional Options -a 18:01.0,cap=dcf,acl=off -.. _figure_ice_dcf: .. figure:: img/ice_dcf.*
doc/guides/nics/rnp.rst +0 -1
@@ -32,7 +32,6 @@ Chip Basic Overview N10 has two functions, each function support multiple ports (1 to 8), which is different of normal PCIe network card (one PF for each port). -.. _figure_mucse_nic: .. figure:: img/mucse_nic_port.*
doc/guides/nics/virtio.rst +0 -1
@@ -93,7 +93,6 @@ The following prerequisites apply: Virtio with qemu virtio Back End -------------------------------- -.. _figure_host_vm_comms_qemu: .. figure:: img/host_vm_comms_qemu.*
doc/guides/nics/vmxnet3.rst +0 -3
@@ -110,7 +110,6 @@ The following prerequisites apply: * Before starting a VM, a VMXNET3 interface to a VM through VMware vSphere Client must be assigned. This is shown in the figure below. -.. _figure_vmxnet3_int: .. figure:: img/vmxnet3_int.*
@@ -135,7 +134,6 @@ VMXNET3 with a Native NIC Connected to a vSwitch This section describes an example setup for Phy-vSwitch-VM-Phy communication. -.. _figure_vswitch_vm: .. figure:: img/vswitch_vm.*
@@ -162,7 +160,6 @@ VMXNET3 Chaining VMs Connected to a vSwitch The following figure shows an example VM-to-VM communication over a Phy-VM-vSwitch-VM-Phy communication channel. -.. _figure_vm_vm_comms: .. figure:: img/vm_vm_comms.*
doc/guides/prog_guide/dmadev.rst +0 -1
@@ -17,7 +17,6 @@ physical (hardware) and virtual (software) DMA devices, as well as a generic DMA API which allows DMA devices to be managed and configured, and supports DMA operations to be provisioned on DMA poll mode driver. -.. _figure_dmadev: .. figure:: img/dmadev.*
doc/guides/prog_guide/efd_lib.rst +0 -4
@@ -155,7 +155,6 @@ In summary, EFD is a set separation data structure that supports millions of keys. It is used to distribute a given key to an intended target. By itself EFD is not a FIB data structure with an exact match the input flow key. -.. _Efd_example: Example of EFD Library Usage ----------------------------
@@ -199,7 +198,6 @@ the flows served at each node is used and is exact matched with the input key to rule out new never seen before flows. -.. _Efd_api: Library API Overview --------------------
@@ -281,7 +279,6 @@ in the prev_value argument. This function is not multi-thread safe and should only be called from one thread. -.. _Efd_internals: Library Internals -----------------
@@ -414,7 +411,6 @@ balanced key distribution across these four is selected the mapping result is stored in these two bits. -.. _Efd_references: References -----------
doc/guides/prog_guide/env_abstraction_layer.rst +0 -2
@@ -52,7 +52,6 @@ A check is also performed at initialization time to ensure that the micro archit Then, the main() function is called. The core initialization and launch is done in rte_eal_init() (see the API documentation). It consist of calls to the pthread library (more specifically, pthread_self(), pthread_create(), and pthread_setaffinity_np()). -.. _figure_linux_launch: .. figure:: img/linuxapp_launch.*
@@ -1039,7 +1038,6 @@ The key fields of the heap structure and their function are described below * last - this points to the last element in the heap. -.. _figure_malloc_heap: .. figure:: img/malloc_heap.*
doc/guides/prog_guide/ethdev/qos_framework.rst +0 -4
@@ -11,7 +11,6 @@ Packet Pipeline with QoS Support An example of a complex packet processing pipeline with QoS support is shown in the following figure. -.. _figure_pkt_proc_pipeline_qos: .. figure:: ../img/pkt_proc_pipeline_qos.*
@@ -112,7 +111,6 @@ It typically acts like a buffer that is able to temporarily store a large number as the NIC TX is requesting more packets for transmission, these packets are later on removed and handed over to the NIC TX with the packet selection logic observing the predefined SLAs (dequeue operation). -.. _figure_hier_sched_blk: .. figure:: ../img/hier_sched_blk.*
@@ -269,7 +267,6 @@ Internal Data Structures per Port A schematic of the internal data structures in shown in with details in. -.. _figure_data_struct_per_port: .. figure:: ../img/data_struct_per_port.*
@@ -452,7 +449,6 @@ The dequeue pipe state machine exploits the data presence into the processor cac therefore it tries to send as many packets from the same pipe TC and pipe as possible (up to the available packets and credits) before moving to the next active TC from the same pipe (if any) or to another active pipe. -.. _figure_pipe_prefetch_sm: .. figure:: ../img/pipe_prefetch_sm.*
doc/guides/prog_guide/eventdev/event_crypto_adapter.rst +0 -2
@@ -45,7 +45,6 @@ In this mode, events dequeued from the adapter will be treated as new events. The application needs to specify event information (response information) which is needed to enqueue an event after the crypto operation is completed. -.. _figure_event_crypto_adapter_op_new: .. figure:: ../img/event_crypto_adapter_op_new.*
@@ -72,7 +71,6 @@ to enqueue a crypto operation in addition to the event information (response information) needed to enqueue an event after the crypto operation has completed. -.. _figure_event_crypto_adapter_op_forward: .. figure:: ../img/event_crypto_adapter_op_forward.*
doc/guides/prog_guide/eventdev/event_dma_adapter.rst +0 -2
@@ -45,7 +45,6 @@ In this mode, events dequeued from the adapter are treated as new events. The application has to specify event information (response information) which is needed to enqueue an event after the DMA operation is completed. -.. _figure_event_dma_adapter_op_new: .. figure:: ../img/event_dma_adapter_op_new.*
@@ -75,7 +74,6 @@ In this mode, events dequeued from the adapter will be treated as forwarded even Application has to specify event information (response information) needed to enqueue the event after the DMA operation has completed. -.. _figure_event_dma_adapter_op_forward: .. figure:: ../img/event_dma_adapter_op_forward.*
doc/guides/prog_guide/eventdev/eventdev.rst +0 -1
@@ -167,7 +167,6 @@ illustration, refer to Eventdev Adapter documentation for further details. The diagram below shows the final state of the application after this walk-through: -.. _figure_eventdev-usage1: .. figure:: ../img/eventdev_usage.*
doc/guides/prog_guide/graph_lib.rst +0 -4
@@ -58,7 +58,6 @@ Programming model Anatomy of Node: ~~~~~~~~~~~~~~~~ -.. _figure_anatomy_of_a_node: .. figure:: img/anatomy_of_a_node.*
@@ -146,7 +145,6 @@ Node creation and registration Link the Nodes to create the graph topology ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. _figure_link_the_nodes: .. figure:: img/link_the_nodes.*
@@ -387,7 +385,6 @@ Example of intermediate node implementation with home run: Graph object memory layout -------------------------- -.. _figure_graph_mem_layout: .. figure:: img/graph_mem_layout.*
@@ -931,7 +928,6 @@ Inbuilt Nodes DPDK provides a set of nodes for data processing. The following diagram depicts inbuilt nodes data flow. -.. _figure_graph_inbuit_node_flow: .. figure:: img/graph_inbuilt_node_flow.*
doc/guides/prog_guide/member_lib.rst +0 -7
@@ -39,7 +39,6 @@ reduce space requirement and significantly improve the performance of set membership queries at the cost of introducing a very small membership test error probability. -.. _figure_membership1: .. figure:: img/member_i1.* Example Usages of Membership Library
@@ -109,7 +108,6 @@ Y is a member of the set with certain false positive probability. As shown in the next equation, the false positive probability can be made arbitrarily small by changing the number of hash functions (``k``) and the vector length (``m``). -.. _figure_membership2: .. figure:: img/member_i2.* Bloom Filter False Positive Probability
@@ -121,7 +119,6 @@ small bit-vector, which can be easily optimized. Hence the lookup throughput (set membership test) can be significantly faster than a normal hash table lookup with element comparison. -.. _figure_membership3: .. figure:: img/member_i3.* Detecting Routing Loops Using BF
@@ -135,7 +132,6 @@ if the BF indicates that the current node is definitely not in the set then a loop-free route is guaranteed. -.. _figure_membership4: .. figure:: img/member_i4.* Vector Bloom Filter (vBF) Overview
@@ -149,7 +145,6 @@ them. The basic idea of vBF is shown in the above figure where an element is used to address multiple bloom filters concurrently and the bloom filter index(es) with a hit is returned. -.. _figure_membership5: .. figure:: img/member_i5.* vBF for Flow Scheduling to Worker Thread
@@ -184,7 +179,6 @@ requires testing a series of Bloom Filters each corresponding to one set. As a result, generally speaking vBF is more adequate for the case of a small limited number of sets while HTSS should be used with a larger number of sets. -.. _figure_membership6: .. figure:: img/member_i6.* Using HTSS for Attack Signature Matching
@@ -237,7 +231,6 @@ set-summary. It is worth noting that the set-summary still has false positive probability, which means the application either can tolerate certain false positive or it has fall-back path when false positive happens. -.. _figure_membership7: .. figure:: img/member_i7.* Using HTSS with False Negatives for Wild Card Classification
doc/guides/prog_guide/mldev.rst +0 -1
@@ -12,7 +12,6 @@ The ML model creation and training is outside of the scope of this library. The ML framework is built on the following model: -.. _figure_mldev_work_flow: .. figure:: img/mldev_flow.*
doc/guides/prog_guide/multi_proc_support.rst +0 -1
@@ -65,7 +65,6 @@ and point to the same objects, in both processes. ``--single-file-segments`` switch, secondary processes must be run with the same switch specified. Otherwise, memory corruption may occur. -.. _figure_multi_process_memory: .. figure:: img/multi_process_memory.*
doc/guides/prog_guide/overview.rst +0 -1
@@ -86,7 +86,6 @@ Core Components The *core components* are a set of libraries that provide all the elements needed for high-performance packet processing applications. -.. _figure_architecture-overview: .. figure:: img/architecture-overview.*
doc/guides/prog_guide/packet_framework.rst +0 -1
@@ -885,7 +885,6 @@ and detail the bucket search pipeline used to implement 8-byte and 16-byte key h either with pre-computed signature or "do-sig"). For each pipeline stage, the described operations are applied to each of the two packets handled by that stage. -.. _figure_figure39: .. figure:: img/figure39.*
doc/guides/prog_guide/pdcp_lib.rst +0 -1
@@ -21,7 +21,6 @@ PDCP would involve the following operations: #. Uplink data compression #. Ciphering and integrity protection -.. _figure_pdcp_functional_overview: .. figure:: img/pdcp_functional_overview.*
doc/guides/prog_guide/ring_lib.rst +0 -15
@@ -45,7 +45,6 @@ The disadvantages: A simplified representation of a Ring is shown in with consumer and producer head and tail pointers to objects stored in the data structure. -.. _figure_ring1: .. figure:: img/ring1.*
@@ -113,7 +112,6 @@ The prod_next local variable points to the next element of the table, or several If there is not enough room in the ring (this is detected by checking cons_tail), it returns an error. -.. _figure_ring-enqueue1: .. figure:: img/ring-enqueue1.*
@@ -128,7 +126,6 @@ The second step is to modify *ring->prod_head* in ring structure to point to the The added object is copied in the ring (obj4). -.. _figure_ring-enqueue2: .. figure:: img/ring-enqueue2.*
@@ -142,7 +139,6 @@ Once the object is added in the ring, ring->prod_tail in the ring structure is m The enqueue operation is finished. -.. _figure_ring-enqueue3: .. figure:: img/ring-enqueue3.*
@@ -166,7 +162,6 @@ The cons_next local variable points to the next element of the table, or several If there are not enough objects in the ring (this is detected by checking prod_tail), it returns an error. -.. _figure_ring-dequeue1: .. figure:: img/ring-dequeue1.*
@@ -181,7 +176,6 @@ The second step is to modify ring->cons_head in the ring structure to point to t The dequeued object (obj1) is copied in the pointer given by the user. -.. _figure_ring-dequeue2: .. figure:: img/ring-dequeue2.*
@@ -195,7 +189,6 @@ Finally, ring->cons_tail in the ring structure is modified to point to the same The dequeue operation is finished. -.. _figure_ring-dequeue3: .. figure:: img/ring-dequeue3.*
@@ -220,7 +213,6 @@ or several elements after in the case of bulk enqueue. If there is not enough room in the ring (this is detected by checking cons_tail), it returns an error. -.. _figure_ring-mp-enqueue1: .. figure:: img/ring-mp-enqueue1.*
@@ -242,7 +234,6 @@ This operation is done using a Compare And Swap (CAS) instruction, which does th In the figure, the operation succeeded on core 1, and step one restarted on core 2. -.. _figure_ring-mp-enqueue2: .. figure:: img/ring-mp-enqueue2.*
@@ -257,7 +248,6 @@ The CAS operation is retried on core 2 with success. The core 1 updates one element of the ring(obj4), and the core 2 updates another one (obj5). -.. _figure_ring-mp-enqueue3: .. figure:: img/ring-mp-enqueue3.*
@@ -272,7 +262,6 @@ A core can only update it if ring->prod_tail is equal to the prod_head local var This is only true on core 1. The operation is finished on core 1. -.. _figure_ring-mp-enqueue4: .. figure:: img/ring-mp-enqueue4.*
@@ -286,7 +275,6 @@ Once ring->prod_tail is updated by core 1, core 2 is allowed to update it too. The operation is also finished on core 2. -.. _figure_ring-mp-enqueue5: .. figure:: img/ring-mp-enqueue5.*
@@ -311,7 +299,6 @@ The following are two examples that help to explain how indexes are used in a ri as opposed to unsigned 32-bit integers in the more realistic case. -.. _figure_ring-modulo1: .. figure:: img/ring-modulo1.*
@@ -321,7 +308,6 @@ The following are two examples that help to explain how indexes are used in a ri This ring contains 11000 entries. -.. _figure_ring-modulo2: .. figure:: img/ring-modulo2.*
@@ -536,7 +522,6 @@ On that picture ``obj5`` and ``obj4`` elements are acquired by stage 0, ``obj2`` and ``obj3`` are acquired by stage 1, while ``obj1`` was already released by stage 1 and is ready to be consumed. -.. _figure_soring1: .. figure:: img/soring-pic1.*
doc/guides/rel_notes/release_20_02.rst +0 -1
@@ -230,7 +230,6 @@ API Changes * No change in this release. -.. _20_02_abi_changes: ABI Changes -----------
doc/guides/sample_app_ug/dist_app.rst +0 -1
@@ -22,7 +22,6 @@ into each other. This application can be used to benchmark performance using the traffic generator as shown in the figure below. -.. _figure_dist_perf: .. figure:: img/dist_perf.*
doc/guides/sample_app_ug/l2_forward_crypto.rst +0 -1
@@ -193,7 +193,6 @@ on a packet received on an RX PORT before forwarding it to a TX PORT. The following figure illustrates a sample flow of a packet in the application, from reception until transmission. -.. _figure_l2_fwd_encrypt_flow: .. figure:: img/l2_fwd_encrypt_flow.*
doc/guides/sample_app_ug/l3_forward.rst +0 -1
@@ -282,7 +282,6 @@ R<destination_ip><source_ip><destination_port><source_port><protocol><output_por * A typical IPv4 ACL rule line should have a format as shown below: -.. _figure_ipv4_acl_rule: .. figure:: img/ipv4_acl_rule.*
doc/guides/sample_app_ug/multi_process.rst +0 -2
@@ -127,7 +127,6 @@ The symmetric multi process example demonstrates how a set of processes can run with each process performing the same set of packet- processing operations. The following diagram shows the data-flow through the application, using two processes. -.. _figure_sym_multi_proc_app: .. figure:: img/sym_multi_proc_app.*
@@ -208,7 +207,6 @@ by sending each packet out on a different network port. The following diagram shows the data-flow through the application, using two client processes. -.. _figure_client_svr_sym_multi_proc_app: .. figure:: img/client_svr_sym_multi_proc_app.*
doc/guides/sample_app_ug/ptpclient.rst +0 -1
@@ -30,7 +30,6 @@ In order to keep the application simple the following assumptions are made: How the Application Works ------------------------- -.. _figure_ptpclient_highlevel: .. figure:: img/ptpclient.*
doc/guides/sample_app_ug/qos_scheduler.rst +0 -1
@@ -11,7 +11,6 @@ Overview The architecture of the QoS scheduler application is shown in the following figure. -.. _figure_qos_sched_app_arch: .. figure:: img/qos_sched_app_arch.*
doc/guides/sample_app_ug/test_pipeline.rst +0 -1
@@ -22,7 +22,6 @@ The application uses three CPU cores: * Core C ("TX core") receives traffic from core B through software queues and sends it to the NIC ports for transmission. -.. _figure_test_pipeline_app: .. figure:: img/test_pipeline_app.*
doc/guides/sample_app_ug/vm_power_management.rst +0 -2
@@ -54,7 +54,6 @@ directs frequency changes and policies to the host monitor rather than the APCI ``cpufreq`` ``sysfs`` interface used on the host in non-virtualised environments. -.. _figure_vm_power_mgr_highlevel: .. figure:: img/vm_power_mgr_highlevel.*
@@ -109,7 +108,6 @@ receiving a request, the host translates the vCPU to a pCPU using the libvirt API before forwarding it to the host ``librte_power``. -.. _figure_vm_power_mgr_vm_request_seq: .. figure:: img/vm_power_mgr_vm_request_seq.*
doc/guides/tools/dts.rst +0 -1
@@ -526,7 +526,6 @@ The output is generated in ``build/doc/api/dts/html``. Make sure to fix any Sphinx warnings when adding or updating docstrings. -.. _configuration_example: Configuration Example ---------------------
doc/guides/tools/graph.rst +0 -2
@@ -365,13 +365,11 @@ This section mentions the created graph for each use case. l3fwd ~~~~~ -.. _figure_l3fwd_graph: .. figure:: img/graph-usecase-l3fwd.* l2fwd ~~~~~ -.. _figure_l2fwd_graph: .. figure:: img/graph-usecase-l2fwd.*
doc/guides/tools/testeventdev.rst +0 -10
@@ -282,7 +282,6 @@ This is a functional test case that aims at testing the following: | | | | port n | +---+--------------+----------------+------------------------+ -.. _figure_eventdev_order_queue_test: .. figure:: img/eventdev_order_queue_test.*
@@ -365,7 +364,6 @@ but differs in two critical ways: | | | | port n. | +---+--------------+----------------+---------------------------+ -.. _figure_eventdev_atomic_queue_test: .. figure:: img/eventdev_atomic_queue_test.*
@@ -455,7 +453,6 @@ instead of two different queues for ordered and atomic. | | | | port n. | +---+--------------+----------------+------------------------+ -.. _figure_eventdev_order_atq_test: .. figure:: img/eventdev_order_atq_test.*
@@ -519,7 +516,6 @@ instead of two different atomic queues. | | | | port n. | +---+--------------+----------------+-------------------------+ -.. _figure_eventdev_atomic_atq_test: .. figure:: img/eventdev_atomic_atq_test.*
@@ -582,7 +578,6 @@ This is a performance test case that aims at testing the following: | | | nb_producers | Producers use port n to port p | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_perf_queue_test: .. figure:: img/eventdev_perf_queue_test.*
@@ -720,7 +715,6 @@ This is a performance test case that aims at testing the following with | | | nb_producers | Producers use port n to port p | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_perf_atq_test: .. figure:: img/eventdev_perf_atq_test.*
@@ -833,11 +827,9 @@ This is a pipeline test case that aims at testing the following: | | | | depending on the Tx adapter capability. | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_pipeline_queue_test_generic: .. figure:: img/eventdev_pipeline_queue_test_generic.* -.. _figure_eventdev_pipeline_queue_test_internal_port: .. figure:: img/eventdev_pipeline_queue_test_internal_port.*
@@ -962,11 +954,9 @@ This is a pipeline test case that aims at testing the following with | | | | depending on the Tx adapter capability. | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_pipeline_atq_test_generic: .. figure:: img/eventdev_pipeline_atq_test_generic.* -.. _figure_eventdev_pipeline_atq_test_internal_port: .. figure:: img/eventdev_pipeline_atq_test_internal_port.*
doc/guides/tools/testmldev.rst +0 -6
@@ -209,7 +209,6 @@ when handling with `N` number of models. executes the sequence of load / start / stop / unload for a model in order, followed by next model. -.. _figure_mldev_model_ops_subtest_a: .. figure:: img/mldev_model_ops_subtest_a.*
@@ -219,7 +218,6 @@ followed by next model. executes load for all models, followed by a start for all models. Upon successful start of all models, stop is invoked for all models followed by unload. -.. _figure_mldev_model_ops_subtest_b: .. figure:: img/mldev_model_ops_subtest_b.*
@@ -229,7 +227,6 @@ Upon successful start of all models, stop is invoked for all models followed by loads all models, followed by a start and stop of all models in order. Upon completion of stop, unload is invoked for all models. -.. _figure_mldev_model_ops_subtest_c: .. figure:: img/mldev_model_ops_subtest_c.*
@@ -239,7 +236,6 @@ Upon completion of stop, unload is invoked for all models. executes load and start for all models available. Upon successful start of all models, stop is executed for the models. -.. _figure_mldev_model_ops_subtest_d: .. figure:: img/mldev_model_ops_subtest_d.*
@@ -334,7 +330,6 @@ The model is unloaded upon completion of all inferences for the model. The test would continue loading and executing inference requests for all models specified through ``filelist`` option in an ordered manner. -.. _figure_mldev_inference_ordered: .. figure:: img/mldev_inference_ordered.*
@@ -390,7 +385,6 @@ Total number of inferences enqueued for a model are equal to the repetitions spe An additional pool of threads would dequeue the inferences from the device. Models would be unloaded upon completion of inferences for all models loaded. -.. _figure_mldev_inference_interleave: .. figure:: img/mldev_inference_interleave.*
Signature · 1 line
2.51.0
PATCH v2 2/2 doc: fix anchors namespace in guides
From: Nandini Persad <[email protected]>
I modified the anchors names within the guides to have a a clear prefix so that they don't collide, based on advice from Thomas.
---
Changes since v1:
- rebased,
- used Claude to fix documentation generation, and generated content:
- update references to renamed anchors,
- drop changes on anchors for external links,
- fix some anchors definition/usage order,
- asked Claude to go further:
- rename EAL anchors too,
- prefix with nics_<driver_name>_ instead of simple nics_,
--- doc/guides/compressdevs/mlx5.rst | 4 +- doc/guides/cryptodevs/dpaa2_sec.rst | 6 +-- doc/guides/cryptodevs/dpaa_sec.rst | 4 +- doc/guides/cryptodevs/mlx5.rst | 8 ++-- doc/guides/freebsd_gsg/build_dpdk.rst | 8 ++-- doc/guides/freebsd_gsg/build_sample_apps.rst | 8 ++-- doc/guides/freebsd_gsg/install_from_ports.rst | 12 ++--- doc/guides/freebsd_gsg/intro.rst | 2 +- doc/guides/howto/avx512.rst | 2 +- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/linux_gsg/build_dpdk.rst | 2 +- doc/guides/linux_gsg/build_sample_apps.rst | 2 +- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 8 ++-- doc/guides/linux_gsg/enable_func.rst | 8 ++-- doc/guides/linux_gsg/linux_drivers.rst | 14 +++--- doc/guides/linux_gsg/sys_reqs.rst | 4 +- doc/guides/nics/ark.rst | 2 +- doc/guides/nics/axgbe.rst | 2 +- doc/guides/nics/bnx2x.rst | 4 +- doc/guides/nics/build_and_test.rst | 2 +- doc/guides/nics/cnxk.rst | 6 +-- doc/guides/nics/cxgbe.rst | 28 ++++++------ doc/guides/nics/dpaa.rst | 6 +-- doc/guides/nics/dpaa2.rst | 10 ++--- doc/guides/nics/ena.rst | 2 +- doc/guides/nics/enetc.rst | 2 +- doc/guides/nics/enic.rst | 2 +- doc/guides/nics/fail_safe.rst | 2 +- doc/guides/nics/hinic.rst | 2 +- doc/guides/nics/hns3.rst | 2 +- doc/guides/nics/i40e.rst | 10 ++--- doc/guides/nics/ice.rst | 2 +- doc/guides/nics/igc.rst | 2 +- doc/guides/nics/intel_vf.rst | 22 +++++----- doc/guides/nics/ipn3ke.rst | 2 +- doc/guides/nics/ixgbe.rst | 2 +- doc/guides/nics/mana.rst | 2 +- doc/guides/nics/mlx4.rst | 13 +++--- doc/guides/nics/mlx5.rst | 44 +++++++++---------- doc/guides/nics/mvpp2.rst | 24 +++++----- doc/guides/nics/netvsc.rst | 4 +- doc/guides/nics/nfp.rst | 2 +- doc/guides/nics/ngbe.rst | 2 +- doc/guides/nics/octeontx.rst | 4 +- doc/guides/nics/overview.rst | 2 +- doc/guides/nics/pfe.rst | 2 +- doc/guides/nics/qede.rst | 8 ++-- doc/guides/nics/thunderx.rst | 4 +- doc/guides/nics/txgbe.rst | 2 +- doc/guides/nics/vdev_netvsc.rst | 6 +-- doc/guides/nics/virtio.rst | 2 +- doc/guides/nics/zxdh.rst | 2 +- doc/guides/platform/cnxk.rst | 16 +++---- doc/guides/platform/dpaa.rst | 4 +- doc/guides/platform/dpaa2.rst | 2 +- doc/guides/platform/mlx5.rst | 28 ++++++------ doc/guides/platform/octeontx.rst | 6 +-- .../prog_guide/env_abstraction_layer.rst | 22 +++++----- .../prog_guide/packet_classif_access_ctrl.rst | 2 +- doc/guides/regexdevs/mlx5.rst | 6 +-- doc/guides/rel_notes/release_17_02.rst | 2 +- doc/guides/sample_app_ug/compiling.rst | 4 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 +- doc/guides/tools/dts.rst | 20 ++++----- doc/guides/vdpadevs/mlx5.rst | 4 +- 65 files changed, 225 insertions(+), 224 deletions(-)
doc/guides/compressdevs/mlx5.rst +2 -2
@@ -98,7 +98,7 @@ Limitations Driver options -------------- -Please refer to :ref:`mlx5 common options <mlx5_common_driver_options>` +Please refer to :ref:`mlx5 common options <platform_mlx5_common_driver_options>` for an additional list of options shared with other mlx5 drivers. - ``log-block-size`` parameter [int]
@@ -118,4 +118,4 @@ Prerequisites ------------- - NVIDIA MLNX_OFED version: **5.2** - See :ref:`mlx5 common prerequisites <mlx5_linux_prerequisites>` for more details. + See :ref:`mlx5 common prerequisites <platform_mlx5_linux_prerequisites>` for more details.
doc/guides/cryptodevs/dpaa2_sec.rst +3 -3
@@ -22,7 +22,7 @@ higher-level cryptographic operations than previous NXP cryptographic accelerators. This provides significant improvement to system level performance. DPAA2_SEC is one of the hardware resource in DPAA2 Architecture. More information -on DPAA2 Architecture is described in :ref:`dpaa2_overview`. +on DPAA2 Architecture is described in :ref:`nics_dpaa2_overview`. DPAA2_SEC PMD is one of DPAA2 drivers which interacts with Management Complex (MC) portal to access the hardware object - DPSECI. The MC provides access to create,
@@ -32,7 +32,7 @@ DPAA2_SEC PMD also uses some of the other hardware resources like buffer pools, queues, queue portals to store and to enqueue/dequeue data to the hardware SEC. DPSECI objects are detected by PMD using a resource container called DPRC (like -in :ref:`dpaa2_overview`). +in :ref:`nics_dpaa2_overview`). For example:
@@ -158,7 +158,7 @@ Limitations Prerequisites ------------- -DPAA2_SEC driver has similar pre-requisites as described in :ref:`dpaa2_overview`. +DPAA2_SEC driver has similar pre-requisites as described in :ref:`nics_dpaa2_overview`. The following dependencies are not part of DPDK and must be installed separately: See :doc:`../platform/dpaa2` for setup information
doc/guides/cryptodevs/dpaa_sec.rst +2 -2
@@ -22,7 +22,7 @@ higher-level cryptographic operations than previous NXP cryptographic accelerators. This provides significant improvement to system level performance. DPAA_SEC is one of the hardware resource in DPAA Architecture. More information -on DPAA Architecture is described in :ref:`dpaa_overview`. +on DPAA Architecture is described in :ref:`nics_dpaa_overview`. DPAA_SEC PMD is one of DPAA drivers which interacts with QBMAN to create, configure and destroy the device instance using queue pair with CAAM portal.
@@ -104,7 +104,7 @@ Limitations Prerequisites ------------- -DPAA_SEC driver has similar pre-requisites as described in :ref:`dpaa_overview`. +DPAA_SEC driver has similar pre-requisites as described in :ref:`nics_dpaa_overview`. See :doc:`../platform/dpaa` for setup information
doc/guides/cryptodevs/mlx5.rst +4 -4
@@ -64,7 +64,7 @@ Or, for non-continuous operations, extra UMR WQE will be used. Configuration ------------- -See the :ref:`mlx5 common configuration <mlx5_common_env>`. +See the :ref:`mlx5 common configuration <platform_mlx5_common_env>`. A device comes out of NVIDIA factory with pre-defined import methods. There are two possible import methods: wrapped or plaintext (valid for AES-XTS only).
@@ -140,7 +140,7 @@ DEK is passed in plaintext without keytag. Driver options -------------- -Please refer to :ref:`mlx5 common options <mlx5_common_driver_options>` +Please refer to :ref:`mlx5 common options <platform_mlx5_common_driver_options>` for an additional list of options shared with other mlx5 drivers. - ``algo`` parameter [int]
@@ -243,10 +243,10 @@ Linux Prerequisites - NVIDIA MLNX_OFED version: **5.3**. - Compilation can be done also with rdma-core v15+. - See :ref:`mlx5 common prerequisites <mlx5_linux_prerequisites>` for more details. + See :ref:`mlx5 common prerequisites <platform_mlx5_linux_prerequisites>` for more details. Windows Prerequisites ~~~~~~~~~~~~~~~~~~~~~ - NVIDIA WINOF-2 version: **2.60** or higher. - See :ref:`mlx5 common prerequisites <mlx5_windows_prerequisites>` for more details. + See :ref:`mlx5 common prerequisites <platform_mlx5_windows_prerequisites>` for more details.
doc/guides/freebsd_gsg/build_dpdk.rst +4 -4
@@ -3,7 +3,7 @@ .. include:: <isonum.txt> -.. _building_from_source: +.. _freebsd_gsg_building_from_source: Compiling the DPDK Target from Source =====================================
@@ -67,7 +67,7 @@ the next section. variable. -.. _loading_contigmem: +.. _freebsd_loading_contigmem: Loading the DPDK contigmem Module ---------------------------------
@@ -148,7 +148,7 @@ available and can be verified via dmesg or ``/var/log/messages``:: To avoid this error, reduce the number of buffers or the buffer size. -.. _loading_nic_uio: +.. _freebsd_gsg_loading_nic_uio: Loading the DPDK nic_uio Module -------------------------------
@@ -185,7 +185,7 @@ already bound to a driver other than ``nic_uio``. The following sub-section desc how to query and modify the device ownership of the ports to be used by DPDK applications. -.. _binding_network_ports: +.. _freebsd_gsg_binding_network_ports: Binding Network Ports to the nic_uio Module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/freebsd_gsg/build_sample_apps.rst +4 -4
@@ -1,7 +1,7 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _compiling_sample_apps: +.. _freebsd_gsg_compiling_sample_apps: Compiling and Running Sample Applications =========================================
@@ -44,7 +44,7 @@ the installation of DPDK using `meson install` as described previously:: ln -sf helloworld-shared build/helloworld -.. _running_sample_app: +.. _freebsd_gsg_running_sample_app: Running a Sample Application ----------------------------
@@ -52,14 +52,14 @@ Running a Sample Application #. The ``contigmem`` and ``nic_uio`` modules must be set up prior to running an application. #. Any ports to be used by the application must be already bound to the ``nic_uio`` module, - as described in section :ref:`binding_network_ports`, prior to running the application. + as described in section :ref:`freebsd_gsg_binding_network_ports`, prior to running the application. The application is linked with the DPDK target environment's Environment Abstraction Layer (EAL) library, which provides some options that are generic to every DPDK application. You can refer to :doc:`freebsd_eal_parameters` for the list of EAL options. -.. _running_non_root: +.. _freebsd_gsg_running_non_root: Running DPDK Applications Without Root Privileges -------------------------------------------------
doc/guides/freebsd_gsg/install_from_ports.rst +6 -6
@@ -1,7 +1,7 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _install_from_ports: +.. _freebsd_gsg_install_from_ports: Installing DPDK from the Ports Collection =========================================
@@ -28,7 +28,7 @@ DPDK can be installed on FreeBSD using the command:: After the installation of the DPDK package, instructions will be printed on how to install the kernel modules required to use the DPDK. A more complete version of these instructions can be found in the sections -:ref:`loading_contigmem` and :ref:`loading_nic_uio`. Normally, lines like +:ref:`freebsd_loading_contigmem` and :ref:`freebsd_gsg_loading_nic_uio`. Normally, lines like those below would be added to the file ``/boot/loader.conf``. .. code-block:: shell
@@ -61,7 +61,7 @@ Compiling and Running the Example Applications When the DPDK has been installed from the ports collection it installs its example applications in ``/usr/local/share/dpdk/examples``. -These examples can be compiled and run as described in :ref:`compiling_sample_apps`. +These examples can be compiled and run as described in :ref:`freebsd_gsg_compiling_sample_apps`. .. note::
@@ -73,7 +73,7 @@ These examples can be compiled and run as described in :ref:`compiling_sample_ap To install a copy of the DPDK compiled using gcc, please download the official DPDK package from https://core.dpdk.org/download/ and install manually using - the instructions given in the next chapter, :ref:`building_from_source` + the instructions given in the next chapter, :ref:`freebsd_gsg_building_from_source` An example application can therefore be copied to a user's home directory and compiled and run as below, where we have 2 memory blocks of size 1G reserved
@@ -117,9 +117,9 @@ via the contigmem module, and 4 NIC ports bound to the nic_uio module:: To run a DPDK process as a non-root user, adjust the permissions on the ``/dev/contigmem`` and ``/dev/uio device`` nodes as described in section - :ref:`running_non_root` + :ref:`freebsd_gsg_running_non_root` .. note:: For an explanation of the command-line parameters that can be passed to an - DPDK application, see section :ref:`running_sample_app`. + DPDK application, see section :ref:`freebsd_gsg_running_sample_app`.
doc/guides/freebsd_gsg/intro.rst +1 -1
@@ -18,7 +18,7 @@ handbook is available from the FreeBSD Documentation Project: DPDK is now available as part of the FreeBSD ports collection and as a pre-built package. Installing via the ports collection or FreeBSD `pkg` infrastructure is now the recommended - way to install DPDK on FreeBSD, and is documented in the next chapter, :ref:`install_from_ports`. + way to install DPDK on FreeBSD, and is documented in the next chapter, :ref:`freebsd_gsg_install_from_ports`. Documentation Roadmap ---------------------
doc/guides/howto/avx512.rst +1 -1
@@ -22,7 +22,7 @@ which does not allow for AVX-512. rte_vect_set_max_simd_bitwidth(RTE_VECT_SIMD_512); This API should only be called once at initialization, before EAL init. -For more information on the possible enum values to use as a parameter, go to :ref:`max_simd_bitwidth`: +For more information on the possible enum values to use as a parameter, go to :ref:`eal_max_simd_bitwidth`: Using the command-line argument
doc/guides/howto/flow_bifurcation.rst +1 -1
@@ -45,7 +45,7 @@ module. Using Flow Bifurcation on NVIDIA ConnectX ----------------------------------------- -The NVIDIA devices are :ref:`natively bifurcated <bifurcated_driver>`, +The NVIDIA devices are :ref:`natively bifurcated <linux_gsg_bifurcated_driver>`, so there is no need to split into SR-IOV PF/VF in order to get the flow bifurcation mechanism. The full device is already shared with the kernel driver.
doc/guides/linux_gsg/build_dpdk.rst +1 -1
@@ -294,7 +294,7 @@ By adhering to these guidelines, you will ensure the most optimized build for ARM-based DPDK targets. -.. _building_app_using_installed_dpdk: +.. _linux_gsg_building_app_using_installed_dpdk: Building Applications Using Installed DPDK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/linux_gsg/build_sample_apps.rst +1 -1
@@ -10,7 +10,7 @@ It also provides a pointer to where sample applications are stored. Compiling a Sample Application ------------------------------ -Please refer to :ref:`building_app_using_installed_dpdk` for detail on compiling sample apps. +Please refer to :ref:`linux_gsg_building_app_using_installed_dpdk` for detail on compiling sample apps. Running a Sample Application ----------------------------
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +4 -4
@@ -64,7 +64,7 @@ For aarch32, install ``pkg-config-arm-linux-gnueabihf``:: GNU toolchain ------------- -.. _obtain_GNU_toolchain: +.. _linux_gsg_obtain_GNU_toolchain: Get the cross toolchain ~~~~~~~~~~~~~~~~~~~~~~~
@@ -94,7 +94,7 @@ For aarch32:: For the host requirements and other info, refer to the release note section: https://releases.linaro.org/components/toolchain/binaries/ -.. _augment_the_gnu_toolchain_with_numa_support: +.. _linux_gsg_augment_the_gnu_toolchain_with_numa_support: Augment the GNU toolchain with NUMA support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -198,7 +198,7 @@ https://developer.arm.com/tools-and-software/open-source-software/developer-tool The LLVM/Clang toolchain does not implement the standard c library. The GNU toolchain ships an implementation we can use. -Refer to obtain_GNU_toolchain_ to get the GNU toolchain. +Refer to linux_gsg_obtain_GNU_toolchain_ to get the GNU toolchain. Unzip and add into the PATH ~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -214,7 +214,7 @@ Cross Compiling DPDK with LLVM/Clang toolchain using Meson .. note:: To use the NUMA library follow the same steps as for - augment_the_gnu_toolchain_with_numa_support_. + linux_gsg_augment_the_gnu_toolchain_with_numa_support_. The paths to GNU stdlib must be specified in a cross file. Augmenting the default cross-file's ``c_args`` and ``c_link_args``
doc/guides/linux_gsg/enable_func.rst +4 -4
@@ -3,12 +3,12 @@ .. include:: <isonum.txt> -.. _Enabling_Additional_Functionality: +.. _linux_gsg_Enabling_Additional_Functionality: Enabling Additional Functionality ================================= -.. _Running_Without_Root_Privileges: +.. _linux_gsg_Running_Without_Root_Privileges: Running DPDK Applications Without Root Privileges -------------------------------------------------
@@ -85,7 +85,7 @@ need to be adjusted in order to ensure normal DPDK operation: The above limits can usually be adjusted by editing ``/etc/security/limits.conf`` file, and rebooting. -See :ref:`Hugepage Mapping <hugepage_mapping>` section to learn how these limits affect EAL. +See :ref:`Hugepage Mapping <eal_hugepage_mapping>` section to learn how these limits affect EAL. Device Control ~~~~~~~~~~~~~~
@@ -162,7 +162,7 @@ Also see `CPU isolation example <https://www.suse.com/c/cpu-isolation-practical-example-part-5/>`_ and `systemd core isolation example <https://www.rcannings.com/systemd-core-isolation/>`_. -.. _High_Precision_Event_Timer: +.. _linux_gsg_High_Precision_Event_Timer: High Precision Event Timer (HPET) Functionality -----------------------------------------------
doc/guides/linux_gsg/linux_drivers.rst +7 -7
@@ -23,14 +23,14 @@ Binding and Unbinding Network Ports to/from the Kernel Modules PMDs which use the bifurcated driver should not be unbound from their kernel drivers. This section is for PMDs which use the UIO or VFIO drivers. - See :ref:`bifurcated_driver` section for more details. + See :ref:`linux_gsg_bifurcated_driver` section for more details. .. note:: It is recommended that ``vfio-pci`` be used as the kernel module for DPDK-bound ports in all cases. - If an IOMMU is unavailable, the ``vfio-pci`` can be used in :ref:`no-iommu<vfio_noiommu>` mode. + If an IOMMU is unavailable, the ``vfio-pci`` can be used in :ref:`no-iommu <linux_gsg_vfio_noiommu>` mode. If, for some reason, vfio is unavailable, then UIO-based modules, ``igb_uio`` and ``uio_pci_generic`` may be used. - See section :ref:`uio` for details. + See section :ref:`linux_gsg_uio` for details. Most devices require that the hardware to be used by DPDK be unbound from the kernel driver it uses, and instead be bound to the ``vfio-pci`` kernel module before the application is run.
@@ -132,10 +132,10 @@ to use IO virtualization (such as Intel\ |reg| VT-d). configure the Linux kernel to use IOMMU. For proper operation of VFIO when running DPDK applications as a non-privileged user, correct permissions should also be set up. -For more information, please refer to :ref:`Running_Without_Root_Privileges`. +For more information, please refer to :ref:`linux_gsg_Running_Without_Root_Privileges`. -.. _vfio_noiommu: +.. _linux_gsg_vfio_noiommu: VFIO no-IOMMU mode ~~~~~~~~~~~~~~~~~~
@@ -361,7 +361,7 @@ running on these systems. Consult your distributions documentation to make sure that is the case. -.. _bifurcated_driver: +.. _linux_gsg_bifurcated_driver: Bifurcated Driver -----------------
@@ -386,7 +386,7 @@ More about the bifurcated driver can be found in NVIDIA `bifurcated PMD <https://www.dpdk.org/wp-content/uploads/sites/35/2016/10/Day02-Session04-RonyEfraim-Userspace2016.pdf>`_ presentation. -.. _uio: +.. _linux_gsg_uio: UIO ---
doc/guides/linux_gsg/sys_reqs.rst +2 -2
@@ -14,7 +14,7 @@ BIOS Setting Prerequisite on x86 For the majority of platforms, no special BIOS settings are needed to use basic DPDK functionality. However, for additional HPET timer and power management functionality, and high performance of small packets, BIOS setting changes may be needed. -Consult the section on :ref:`Enabling Additional Functionality <Enabling_Additional_Functionality>` +Consult the section on :ref:`Enabling Additional Functionality <linux_gsg_Enabling_Additional_Functionality>` for more information on the required changes. Compilation of the DPDK
@@ -130,7 +130,7 @@ System Software * PROC_PAGE_MONITOR support * HPET and HPET_MMAP configuration options should also be enabled if HPET support is required. - See the section on :ref:`High Precision Event Timer (HPET) Functionality <High_Precision_Event_Timer>` for more details. + See the section on :ref:`High Precision Event Timer (HPET) Functionality <linux_gsg_High_Precision_Event_Timer>` for more details. .. _linux_gsg_hugepages:
doc/guides/nics/ark.rst +1 -1
@@ -390,7 +390,7 @@ Usage Example ------------- Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` to launch +:ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to launch **testpmd** with Atomic Rules ARK devices managed by librte_net_ark. Example output:
doc/guides/nics/axgbe.rst +1 -1
@@ -51,7 +51,7 @@ Now system is ready to run DPDK application. Usage Example ------------- -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Example output:
doc/guides/nics/bnx2x.rst +2 -2
@@ -103,7 +103,7 @@ enabling debugging options may affect system performance. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Jumbo: Limitation
@@ -197,7 +197,7 @@ This section provides instructions to configure SR-IOV with Linux OS. (Supply ``--log-level="pmd.net.bnx2x.driver",7`` to view informational messages): Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. Example output:
doc/guides/nics/build_and_test.rst +1 -1
@@ -1,7 +1,7 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2017 Cavium, Inc -.. _pmd_build_and_test: +.. _nics_pmd_build_and_test: Compiling and testing a PMD for a NIC =====================================
doc/guides/nics/cnxk.rst +3 -3
@@ -50,13 +50,13 @@ See :doc:`../platform/cnxk` for setup information. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. #. Running testpmd: Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. Example output:
@@ -739,7 +739,7 @@ Port representor PMD supports following operations: Debugging Options ----------------- -.. _table_cnxk_ethdev_debug_options: +.. _nics_cnxk_table_ethdev_debug_options: .. table:: cnxk ethdev debug options
doc/guides/nics/cxgbe.rst +14 -14
@@ -15,7 +15,7 @@ and has support for the latest Linux operating systems. More information can be found at `Chelsio Communications Official Website <http://www.chelsio.com>`_. -.. _t5-nics: +.. _nics_cxgbe_t5_nics: Supported Chelsio T5 NICs -------------------------
@@ -25,7 +25,7 @@ Supported Chelsio T5 NICs - 40G NICs: T580-CR, T580-LP-CR, T580-SO-CR - Other T5 NICs: T522-CR -.. _t6-nics: +.. _nics_cxgbe_t6_nics: Supported Chelsio T6 NICs -------------------------
@@ -37,7 +37,7 @@ Supported SR-IOV Chelsio NICs ----------------------------- SR-IOV virtual functions are supported on all the Chelsio NICs listed -in :ref:`t5-nics` and :ref:`t6-nics`. +in :ref:`nics_cxgbe_t5_nics` and :ref:`nics_cxgbe_t6_nics`. Features --------
@@ -73,7 +73,7 @@ Prerequisites repository. Instructions on how to manually flash the firmware are given in section - :ref:`linux-installation` for Linux and section :ref:`freebsd-installation` + :ref:`nics_cxgbe_linux_installation` for Linux and section :ref:`nics_cxgbe_freebsd_installation` for FreeBSD.
@@ -319,18 +319,18 @@ CXGBE PF Only Runtime Options dpdk-testpmd -a 02:00.4,filtermode=0x88,filtermask=0x80 -- -i -.. _driver-compilation: +.. _nics_cxgbe_driver_compilation: Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Linux ----- -.. _linux-installation: +.. _nics_cxgbe_linux_installation: Linux Installation ~~~~~~~~~~~~~~~~~~
@@ -434,7 +434,7 @@ devices managed by librte_net_cxgbe in Linux operating system. #. Running testpmd Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. .. note::
@@ -469,7 +469,7 @@ devices managed by librte_net_cxgbe in Linux operating system. .. note:: Flow control pause TX/RX is disabled by default and can be enabled via - testpmd. Refer section :ref:`flow-control` for more details. + testpmd. Refer section :ref:`nics_cxgbe_flow_control` for more details. Configuring SR-IOV Virtual Functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -547,7 +547,7 @@ virtual functions. #. Running testpmd Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to bind virtual functions and run testpmd. Example output:
@@ -582,7 +582,7 @@ virtual functions. FreeBSD ------- -.. _freebsd-installation: +.. _nics_cxgbe_freebsd_installation: FreeBSD Installation ~~~~~~~~~~~~~~~~~~~~
@@ -652,7 +652,7 @@ This section demonstrates how to launch **testpmd** with Chelsio devices managed by librte_net_cxgbe in FreeBSD operating system. #. Change to DPDK source directory where the target has been compiled in - section :ref:`driver-compilation`: + section :ref:`nics_cxgbe_driver_compilation`: .. code-block:: console
@@ -779,12 +779,12 @@ devices managed by librte_net_cxgbe in FreeBSD operating system. .. note:: Flow control pause TX/RX is disabled by default and can be enabled via - testpmd. Refer section :ref:`flow-control` for more details. + testpmd. Refer section :ref:`nics_cxgbe_flow_control` for more details. Sample Application Notes ------------------------ -.. _flow-control: +.. _nics_cxgbe_flow_control: Enable/Disable Flow Control ~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/nics/dpaa.rst +3 -3
@@ -23,7 +23,7 @@ Contents summary - DPAA driver architecture overview - FMAN configuration tools and library -.. _dpaa_overview: +.. _nics_dpaa_overview: DPAA Overview ~~~~~~~~~~~~~
@@ -241,13 +241,13 @@ state during application initialization: Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. #. Running testpmd: Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. Example output:
doc/guides/nics/dpaa2.rst +5 -5
@@ -23,7 +23,7 @@ Contents summary - Overview of DPAA2 objects - DPAA2 driver architecture overview -.. _dpaa2_overview: +.. _nics_dpaa2_overview: DPAA2 Overview ~~~~~~~~~~~~~~
@@ -406,7 +406,7 @@ Features of the DPAA2 PMD are: - Jumbo frames - Link flow control - Scattered and gather for TX and RX -- :ref:`Traffic Management API <dptmapi>` +- :ref:`Traffic Management API <nics_dpaa2_dptmapi>` Supported DPAA2 SoCs
@@ -432,13 +432,13 @@ See :doc:`../platform/dpaa2` for setup information Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. #. Running testpmd: Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. Example output:
@@ -555,7 +555,7 @@ Other Limitations - RSS hash key cannot be modified. - RSS RETA cannot be configured. -.. _dptmapi: +.. _nics_dpaa2_dptmapi: Traffic Management API ----------------------
doc/guides/nics/ena.rst +1 -1
@@ -290,7 +290,7 @@ Usage example ------------- Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` to launch +:ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to launch **testpmd** with Amazon ENA devices managed by librte_net_ena. Example output:
doc/guides/nics/enetc.rst +1 -1
@@ -108,5 +108,5 @@ Driver compilation and testing ------------------------------ Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +:ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to launch **testpmd**
doc/guides/nics/enic.rst +1 -1
@@ -521,7 +521,7 @@ The build instructions for the DPDK suite should be followed. By default the ENIC PMD library will be built into the DPDK library. Refer to the document :ref:`compiling and testing a PMD for a NIC -<pmd_build_and_test>` for details. +<nics_pmd_build_and_test>` for details. For configuring and using UIO and VFIO frameworks, please refer to the documentation that comes with DPDK suite.
doc/guides/nics/fail_safe.rst +1 -1
@@ -109,7 +109,7 @@ Usage example This section shows some example of using **testpmd** with a fail-safe PMD. #. To build a PMD and configure DPDK, refer to the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`. + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>`. #. Start testpmd. The sub-device ``84:00.0`` should be blocked from normal EAL operations to avoid probing it twice, as the PCI bus is in blocklist mode.
doc/guides/nics/hinic.rst +1 -1
@@ -50,7 +50,7 @@ Prerequisites Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Limitations or Known issues
doc/guides/nics/hns3.rst +1 -1
@@ -206,7 +206,7 @@ Runtime Configuration Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Sample Application Notes
doc/guides/nics/i40e.rst +5 -5
@@ -319,7 +319,7 @@ can use this assumption to do a bit mask using ``ring_size - 1``. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details.
@@ -376,7 +376,7 @@ SR-IOV: Prerequisites and sample Application Notes #. Running testpmd: Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. Example output:
@@ -767,7 +767,7 @@ Mirror rule limitation for X722 Due to firmware restriction of X722, the same VSI cannot have more than one mirror rule. -.. _net_i40e_testpmd_commands: +.. _nics_i40e_testpmd_commands: Testpmd driver specific commands --------------------------------
@@ -995,9 +995,9 @@ The following is an example of running the DPDK ``l3fwd`` sample application to server with Intel Xeon processors and Intel Ethernet CNA XL710. The example scenario is to get best performance with two Intel Ethernet CNA XL710 40GbE ports. -See :numref:`figure_intel_perf_test_setup` for the performance test setup. +See :numref:`nics_i40e_figure_intel_perf_test_setup` for the performance test setup. -.. _figure_intel_perf_test_setup: +.. _nics_i40e_figure_intel_perf_test_setup: .. figure:: img/intel_perf_test_setup.*
doc/guides/nics/ice.rst +1 -1
@@ -379,7 +379,7 @@ Runtime Configuration Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Features
doc/guides/nics/igc.rst +1 -1
@@ -23,7 +23,7 @@ Supported Chipsets and NICs Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details.
doc/guides/nics/intel_vf.rst +11 -11
@@ -24,9 +24,9 @@ SR-IOV Mode Utilization in a DPDK Environment The DPDK uses the SR-IOV feature for hardware-based I/O sharing in IOV mode. Therefore, it is possible to partition SR-IOV capability on Ethernet controller NIC resources logically and expose them to a virtual machine as a separate PCI function called a "Virtual Function". -Refer to :numref:`figure_single_port_nic`. +Refer to :numref:`linux_gsg_nics_figure_single_port_nic`. -Therefore, a NIC is logically distributed among multiple virtual machines (as shown in :numref:`figure_single_port_nic`), +Therefore, a NIC is logically distributed among multiple virtual machines (as shown in :numref:`linux_gsg_nics_figure_single_port_nic`), while still having global data in common to share with the Physical Function and other Virtual Functions. The DPDK fm10kvf, iavf, igbvf or ixgbevf as a Poll Mode Driver (PMD) serves for the Intel® 82576 Gigabit Ethernet Controller, Intel® Ethernet Controller I350 family, Intel® 82599 10 Gigabit Ethernet Controller NIC,
@@ -47,7 +47,7 @@ For more detail on SR-IOV, please refer to the following documents: * `Scalable I/O Virtualized Servers <http://www.intel.com/content/www/us/en/virtualization/server-virtualization/scalable-i-o-virtualized-servers-paper.html>`_ -.. _figure_single_port_nic: +.. _linux_gsg_nics_figure_single_port_nic: .. figure:: img/single_port_nic.*
@@ -362,7 +362,7 @@ The expected guest operating systems in a virtualized environment are: For supported kernel versions, refer to the *DPDK Release Notes*. -.. _intel_vf_kvm: +.. _linux_gsg_nics_intel_vf_kvm: Setting Up a KVM Virtual Machine Monitor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -574,9 +574,9 @@ The setup procedure is as follows: can also be used to bind and unbind devices to a virtual machine in Ubuntu. If this option is used, step 6 in the instructions provided will be different. - * The Virtual Machine Monitor (see :numref:`figure_perf_benchmark`) is equivalent to a Host OS with KVM installed as described in the instructions. + * The Virtual Machine Monitor (see :numref:`linux_gsg_nics_figure_perf_benchmark`) is equivalent to a Host OS with KVM installed as described in the instructions. -.. _figure_perf_benchmark: +.. _linux_gsg_nics_figure_perf_benchmark: .. figure:: img/perf_benchmark.*
@@ -596,10 +596,10 @@ the DPDK VF PMD performs the same throughput result as a non-VT native environme With such host instance fast packet processing, lots of services such as filtering, QoS, DPI can be offloaded on the host fast path. -:numref:`figure_fast_pkt_proc` shows the scenario where some VMs directly communicate externally via a VFs, +:numref:`linux_gsg_nics_figure_fast_pkt_proc` shows the scenario where some VMs directly communicate externally via a VFs, while others connect to a virtual switch and share the same uplink bandwidth. -.. _figure_fast_pkt_proc: +.. _linux_gsg_nics_figure_fast_pkt_proc: .. figure:: img/fast_pkt_proc.*
@@ -615,7 +615,7 @@ So VF-to-VF traffic within the same physical port (VM0<->VM1) have hardware acce However, when VF crosses physical ports (VM0<->VM2), there is no such hardware bridge. In this case, the DPDK PMD PF driver provides host forwarding between such VMs. -:numref:`figure_inter_vm_comms` shows an example. +:numref:`linux_gsg_nics_figure_inter_vm_comms` shows an example. In this case an update of the MAC address lookup tables in both the NIC and host DPDK application is required. In the NIC, writing the destination of a MAC address belongs to another cross device VM to the PF specific pool.
@@ -626,7 +626,7 @@ that is, the packet is forwarded to the correct PF pool. The SR-IOV NIC switch forwards the packet to a specific VM according to the MAC destination address which belongs to the destination VF on the VM. -.. _figure_inter_vm_comms: +.. _linux_gsg_nics_figure_inter_vm_comms: .. figure:: img/inter_vm_comms.*
@@ -642,7 +642,7 @@ Windows Support into Windows VM using SR-IOV pass-through feature. * Create a Windows guest on Linux host using KVM hypervisor. - Refer to the steps mentioned in the above section: :ref:`intel_vf_kvm`. + Refer to the steps mentioned in the above section: :ref:`linux_gsg_nics_intel_vf_kvm`. * In the Host machine, download and install the kernel Ethernet driver for `i40e <https://downloadcenter.intel.com/download/24411>`_
doc/guides/nics/ipn3ke.rst +1 -1
@@ -61,7 +61,7 @@ Runtime Configuration Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Sample Application Notes
doc/guides/nics/ixgbe.rst +1 -1
@@ -356,7 +356,7 @@ the VFs which are required.:: Currently hot-plugging of representor ports is not supported so all required representors must be specified on the creation of the PF. -.. _net_ixgbe_testpmd_commands: +.. _nics_ixgbe_testpmd_commands: Testpmd driver specific commands --------------------------------
doc/guides/nics/mana.rst +1 -1
@@ -55,7 +55,7 @@ Driver compilation and testing ------------------------------ Refer to the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` for details. +:ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Runtime Configuration ---------------------
doc/guides/nics/mlx4.rst +7 -6
@@ -221,9 +221,9 @@ Current RDMA core package and Linux kernel (recommended) ninja ninja install -.. _`RDMA core installation documentation`: https://raw.githubusercontent.com/linux-rdma/rdma-core/master/README.md +.. _RDMA core installation documentation: https://raw.githubusercontent.com/linux-rdma/rdma-core/master/README.md -.. _OFED_as_a_fallback: +.. _nics_mlx4_OFED_as_a_fallback: NVIDIA MLNX_OFED as a fallback ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -231,7 +231,7 @@ NVIDIA MLNX_OFED as a fallback - `NVIDIA MLNX_OFED`_ version: **4.4, 4.5, 4.6**. - firmware version: **2.42.5000** and above. -.. _`NVIDIA MLNX_OFED`: https://network.nvidia.com/products/infiniband-drivers/linux/mlnx_ofed/ +.. _NVIDIA MLNX_OFED: https://network.nvidia.com/products/infiniband-drivers/linux/mlnx_ofed/ .. note::
@@ -267,8 +267,9 @@ Installing NVIDIA MLNX_OFED connectx_port_config -#. Continue with :ref:`section 2 of the Quick Start Guide <mlx4_QSG_2>`. +#. Continue with :ref:`section 2 of the Quick Start Guide <nics_mlx4_QSG_2>`. +.. _nics_mlx4_qsg: Quick Start Guide -----------------
@@ -283,9 +284,9 @@ Quick Start Guide If using NVIDIA MLNX_OFED one can permanently set the port link to Ethernet using connectx_port_config tool provided by it. - :ref:`OFED_as_a_fallback`: + :ref:`nics_mlx4_OFED_as_a_fallback`: -.. _mlx4_QSG_2: +.. _nics_mlx4_QSG_2: #. In case of bare metal or hypervisor, configure optimized steering mode by adding the following line to ``/etc/modprobe.d/mlx4_core.conf``::
doc/guides/nics/mlx5.rst +22 -22
173 lines not on this page · raw message
doc/guides/nics/mvpp2.rst +12 -12
@@ -2,7 +2,7 @@ Copyright(c) 2017 Marvell International Ltd. Copyright(c) 2017 Semihalf. -.. _mvpp2_poll_mode_driver: +.. _nics_mvpp2_poll_mode_driver: MVPP2 Poll Mode Driver ======================
@@ -37,13 +37,13 @@ Features of the MVPP2 PMD are: - L4 checksum offload - Packet type parsing - Basic stats -- :ref:`Extended stats <extstats>` +- :ref:`Extended stats <nics_mvpp2_extstats>` - RX flow control - Scattered TX frames -- :ref:`QoS <extconf>` -- :ref:`Flow API <flowapi>` -- :ref:`Traffic metering and policing <mtrapi>` -- :ref:`Traffic Management API <tmapi>` +- :ref:`QoS <nics_mvpp2_extconf>` +- :ref:`Flow API <nics_mvpp2_flowapi>` +- :ref:`Traffic metering and policing <nics_mvpp2_mtrapi>` +- :ref:`Traffic Management API <nics_mvpp2_tmapi>` Limitations -----------
@@ -166,7 +166,7 @@ In order to run testpmd example application following command can be used: --burst=128 --txd=2048 --rxd=1024 --rxq=2 --txq=2 --nb-cores=2 \ -i -a --rss-udp -.. _extstats: +.. _nics_mvpp2_extstats: Extended stats --------------
@@ -188,7 +188,7 @@ MVPP2 PMD supports the following extended statistics: - ``tx_errors``: number of TX MAC errors -.. _extconf: +.. _nics_mvpp2_extconf: External Configuration ----------------------
@@ -393,7 +393,7 @@ Usage example ./dpdk-testpmd --vdev=eth_mvpp2,iface=eth0,iface=eth2,cfg=/home/user/mrvl.conf \ -l 0-2 -- -i -a --disable-hw-vlan-strip --rxq=3 --txq=3 -.. _flowapi: +.. _nics_mvpp2_flowapi: Flow API --------
@@ -565,7 +565,7 @@ Following limitations need to be taken into account while creating flow rules: For additional information about classifier please consult ``doc/musdk_cls_user_guide.txt``. -.. _mtrapi: +.. _nics_mvpp2_mtrapi: Traffic metering and policing -----------------------------
@@ -580,7 +580,7 @@ MVPP2 PMD supports DPDK traffic metering and policing that allows the following: For an additional description please refer to DPDK :doc:`../prog_guide/ethdev/traffic_metering_and_policing`. -The policer objects defined by this feature can work with the default policer defined via config file as described in :ref:`QoS Support <extconf>`. +The policer objects defined by this feature can work with the default policer defined via config file as described in :ref:`QoS Support <nics_mvpp2_extconf>`. Limitations ~~~~~~~~~~~
@@ -622,7 +622,7 @@ For a detailed usage description please refer to "Traffic Metering and Policing" -.. _tmapi: +.. _nics_mvpp2_tmapi: Traffic Management API ----------------------
doc/guides/nics/netvsc.rst +2 -2
@@ -60,7 +60,7 @@ store it in a shell variable: DEV_UUID=$(basename $(readlink /sys/class/net/eth1/device)) -.. _`UUID`: https://en.wikipedia.org/wiki/Universally_unique_identifier +.. _UUID: https://en.wikipedia.org/wiki/Universally_unique_identifier There are several possible ways to assign the UIO device driver for a device. The easiest way (but only on 4.18 or later)
@@ -71,7 +71,7 @@ the normal kernel device. driverctl -b vmbus set-override $DEV_UUID uio_hv_generic -.. _`driverctl Device Driver control utility`: https://gitlab.com/driverctl/driverctl +.. _driverctl Device Driver control utility: https://gitlab.com/driverctl/driverctl Any settings done with driverctl are by default persistent and will be reapplied on reboot.
doc/guides/nics/nfp.rst +1 -1
@@ -58,7 +58,7 @@ Driver compilation and testing ------------------------------ Refer to the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` for details. +:ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Using the PF ------------
doc/guides/nics/ngbe.rst +1 -1
@@ -74,7 +74,7 @@ NGBE PMD provides the following log types available for control: Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details.
doc/guides/nics/octeontx.rst +2 -2
@@ -55,13 +55,13 @@ Configuration Driver compilation and testing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. #. Running testpmd: Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. Example output:
doc/guides/nics/overview.rst +1 -1
@@ -26,7 +26,7 @@ More details about features can be found in :doc:`features`. .. rst-class:: widepage -.. _table_net_pmd_features: +.. _nics_table_net_pmd_features: .. include:: overview_table.txt
doc/guides/nics/pfe.rst +1 -1
@@ -157,7 +157,7 @@ Driver compilation and testing ------------------------------ Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +:ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to launch **testpmd** Additionally, PFE driver needs `--vdev` as an input with value `net_pfe`
doc/guides/nics/qede.rst +4 -4
@@ -144,7 +144,7 @@ following error. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. RTE Flow Support
@@ -155,7 +155,7 @@ actions. Patterns: -.. _table_qede_supported_flow_item_types: +.. _linux_gsg_nics_table_qede_supported_flow_item_types: .. table:: Item types
@@ -173,7 +173,7 @@ Patterns: Actions: -.. _table_qede_supported_ingress_action_types: +.. _linux_gsg_nics_table_qede_supported_ingress_action_types: .. table:: Ingress action types
@@ -265,7 +265,7 @@ This section provides instructions to configure SR-IOV with Linux OS. (Supply ``--log-level="pmd.net.qede.driver:info`` to view informational messages): Refer to the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` to run + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run ``testpmd`` application. Example output:
doc/guides/nics/thunderx.rst +2 -2
@@ -47,7 +47,7 @@ Prerequisites Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Use config/arm/arm64-thunderx-linux-gcc as a meson cross-file when cross-compiling.
@@ -150,7 +150,7 @@ This section provides instructions to configure SR-IOV with Linux OS. #. Running testpmd: Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` to run testpmd. Example output:
doc/guides/nics/txgbe.rst +1 -1
@@ -142,7 +142,7 @@ Please note that following ``devargs`` are only set for backplane NICs. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details. Sample Application Notes
doc/guides/nics/vdev_netvsc.rst +3 -3
@@ -5,13 +5,13 @@ VDEV_NETVSC driver ================== +.. _Hyper-V: https://docs.microsoft.com/en-us/windows-hardware/drivers/network/overview-of-hyper-v + The VDEV_NETVSC driver (**librte_net_vdev_netvsc**) provides support for NetVSC interfaces and associated SR-IOV virtual function (VF) devices found in -Linux virtual machines running on Microsoft Hyper-V_ (including Azure) +Linux virtual machines running on Microsoft `Hyper-V`_ (including Azure) platforms. -.. _Hyper-V: https://docs.microsoft.com/en-us/windows-hardware/drivers/network/overview-of-hyper-v - Implementation details ----------------------
doc/guides/nics/virtio.rst +1 -1
@@ -201,7 +201,7 @@ in-order feature. Interrupt mode -------------- -.. _virtio_interrupt_mode: +.. _linux_gsg_nics_virtio_interrupt_mode: There are three kinds of interrupts from a virtio device over PCI bus: config interrupt, Rx interrupts, and Tx interrupts. Config interrupt is used for
doc/guides/nics/zxdh.rst +1 -1
@@ -47,7 +47,7 @@ Features of the ZXDH PMD are: Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :ref:`compiling and testing a PMD for a NIC <nics_pmd_build_and_test>` for details.
doc/guides/platform/cnxk.rst +8 -8
@@ -23,10 +23,10 @@ Supported OCTEON cnxk SoCs Resource Virtualization Unit architecture ----------------------------------------- -The :numref:`figure_cnxk_resource_virtualization` diagram depicts the +The :numref:`platform_figure_cnxk_resource_virtualization` diagram depicts the RVU architecture and a resource provisioning example. -.. _figure_cnxk_resource_virtualization: +.. _platform_figure_cnxk_resource_virtualization: .. figure:: img/cnxk_resource_virtualization.*
@@ -41,11 +41,11 @@ Each functional block has multiple local functions (LFs) for provisioning to different PCIe devices. RVU supports multiple PCIe SRIOV physical functions (PFs) and virtual functions (VFs). -The :numref:`table_cnxk_rvu_dpdk_mapping` shows the various local +The :numref:`platform_table_cnxk_rvu_dpdk_mapping` shows the various local functions (LFs) provided by the RVU and its functional mapping to DPDK subsystem. -.. _table_cnxk_rvu_dpdk_mapping: +.. _platform_table_cnxk_rvu_dpdk_mapping: .. table:: RVU managed functional blocks and its mapping to DPDK subsystem
@@ -94,7 +94,7 @@ handle provisioning/configuration requests sent by any device from any domain. The AF driver does not receive or process any data. It is only a configuration driver used in control path. -The :numref:`figure_cnxk_resource_virtualization` diagram also shows a +The :numref:`platform_figure_cnxk_resource_virtualization` diagram also shows a resource provisioning example where, #. PFx and PFx-VF0 bound to Linux netdev driver.
@@ -145,10 +145,10 @@ The primary use case for SDP is to enable the smart NIC use case. Typical usage cnxk packet flow ---------------------- -The :numref:`figure_cnxk_packet_flow_hw_accelerators` diagram depicts +The :numref:`platform_figure_cnxk_packet_flow_hw_accelerators` diagram depicts the packet flow on cnxk SoC in conjunction with use of various HW accelerators. -.. _figure_cnxk_packet_flow_hw_accelerators: +.. _platform_figure_cnxk_packet_flow_hw_accelerators: .. figure:: img/cnxk_packet_flow_hw_accelerators.*
@@ -248,7 +248,7 @@ compatible board: Debugging Options ----------------- -.. _table_cnxk_common_debug_options: +.. _platform_table_cnxk_common_debug_options: .. table:: cnxk common debug options
doc/guides/platform/dpaa.rst +2 -2
@@ -67,7 +67,7 @@ compatible board: This tool can be obtained from `NXP (Freescale) Public Git Repository <https://source.codeaurora.org/external/qoriq/qoriq-components/fmc>`_. This tool needs configuration files which are available in the - :ref:`DPDK Extra Scripts <extra_scripts>`, described below for DPDK usages. + :ref:`DPDK Extra Scripts <platform_dpaa_extra_scripts>`, described below for DPDK usages. Note that DPAA PMD can also be executed using images provided as part of SDK from NXP. The SDK includes all the above prerequisites
@@ -96,7 +96,7 @@ separately: SDK and related information can be obtained from: `NXP QorIQ SDK <http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX>`_. -.. _extra_scripts: +.. _platform_dpaa_extra_scripts: - **DPDK Extra Scripts**
doc/guides/platform/dpaa2.rst +1 -1
@@ -94,7 +94,7 @@ separately: SDK and related information can be obtained from: `NXP QorIQ SDK <http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX>`_. -.. _extra_scripts: +.. _platform_dpaa2_extra_scripts: - **DPDK Extra Scripts**
doc/guides/platform/mlx5.rst +14 -14
@@ -41,13 +41,13 @@ which are used to get the best performance: - **Direct Rules** manages flow steering at the low-level hardware layer On Linux, above interfaces are provided by linking with `libibverbs` and `libmlx5`. -See :ref:`mlx5_linux_prerequisites` for installation. +See :ref:`platform_mlx5_linux_prerequisites` for installation. On Windows, DevX is the only requirement from the above list. -See :ref:`mlx5_windows_prerequisites` for DevX SDK package installation. +See :ref:`platform_mlx5_windows_prerequisites` for DevX SDK package installation. -.. _mlx5_classes: +.. _platform_mlx5_classes: Classes -------
@@ -82,12 +82,12 @@ Limitations - On Windows, only ``eth`` and ``crypto`` are supported. -.. _mlx5_common_compilation: +.. _platform_mlx5_common_compilation: Compilation Prerequisites ------------------------- -.. _mlx5_linux_prerequisites: +.. _platform_mlx5_linux_prerequisites: Linux Prerequisites ~~~~~~~~~~~~~~~~~~~
@@ -216,7 +216,7 @@ to match the kernel modules and libraries they come with. Please check the "Tested Platforms" section in the :doc:`../../rel_notes/index`. -.. _mlx5_windows_prerequisites: +.. _platform_mlx5_windows_prerequisites: Windows Prerequisites ~~~~~~~~~~~~~~~~~~~~~
@@ -290,7 +290,7 @@ or:: meson.exe setup ... -.. _mlx5_common_env: +.. _platform_mlx5_common_env: Environment Configuration -------------------------
@@ -343,7 +343,7 @@ If link type was changed, firmware must be reset as well:: mlxfwreset -d <mst device> reset -.. _mlx5_vf: +.. _platform_mlx5_vf: SR-IOV Virtual Function with MLNX_OFED/EN ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -372,7 +372,7 @@ Then the virtual functions can be instantiated:: echo [num_vfs] > /sys/class/infiniband/mlx5_0/device/sriov_numvfs -.. _mlx5_sub_function: +.. _platform_mlx5_sub_function: Sub-Function with MLNX_OFED/EN ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -424,7 +424,7 @@ that assuming there are no offload flows, each packet that is sent from the VF o will be received by the corresponding representor. While each packet that is sent to a representor will be received by the VF or SF. -After :ref:`configuring VF <mlx5_vf>`, the device must be unbound:: +After :ref:`configuring VF <platform_mlx5_vf>`, the device must be unbound:: printf "<device pci address>" > /sys/bus/pci/drivers/mlx5_core/unbind
@@ -439,7 +439,7 @@ Run as Non-Root ^^^^^^^^^^^^^^^ Hugepage and resource limit setup are documented -in the :ref:`common Linux guide <Running_Without_Root_Privileges>`. +in the :ref:`common Linux guide <linux_gsg_Running_Without_Root_Privileges>`. This PMD can operate without access to physical addresses, therefore it does not require ``SYS_ADMIN`` to access ``/proc/self/pagemaps``. Note that this requirement may still come from other drivers.
@@ -485,7 +485,7 @@ The keys ``DevxEnabled`` and ``DevxFsRules`` must be set. Additional information can be found in the WinOF2 user manual. -.. _mlx5_firmware_config: +.. _platform_mlx5_firmware_config: Firmware Configuration ~~~~~~~~~~~~~~~~~~~~~~
@@ -607,7 +607,7 @@ dyn flex 4 ========== = = = = = = -.. _mlx5_common_driver_options: +.. _platform_mlx5_common_driver_options: Device Arguments ----------------
@@ -631,7 +631,7 @@ and below are the arguments supported by the common mlx5 layer. - ``class`` parameter [string] Select the classes of the drivers that should probe the device. - See :ref:`mlx5_classes` for more explanation and details. + See :ref:`platform_mlx5_classes` for more explanation and details. The default value is ``eth``.
doc/guides/platform/octeontx.rst +3 -3
@@ -43,7 +43,7 @@ OCTEON TX compatible board: The PF driver and the required microcode for the crypto offload block will be available with OCTEON TX SDK only. So for using crypto offload, follow the steps - mentioned in :ref:`setup_platform_using_OCTEON_TX_SDK`. + mentioned in :ref:`platform_setup_platform_using_OCTEON_TX_SDK`. #. **ARM64 Tool Chain**
@@ -58,11 +58,11 @@ OCTEON TX compatible board: As an alternative method, Platform drivers can also be executed using images provided as part of SDK from Cavium. The SDK includes all the above prerequisites necessary - to bring up a OCTEON TX board. Please refer :ref:`setup_platform_using_OCTEON_TX_SDK`. + to bring up a OCTEON TX board. Please refer :ref:`platform_setup_platform_using_OCTEON_TX_SDK`. #. Follow the DPDK :doc:`../linux_gsg/index` to setup the basic DPDK environment. -.. _setup_platform_using_OCTEON_TX_SDK: +.. _platform_setup_platform_using_OCTEON_TX_SDK: Setup Platform Using OCTEON TX SDK ----------------------------------
doc/guides/prog_guide/env_abstraction_layer.rst +11 -11
@@ -223,7 +223,7 @@ Normally, these options do not need to be changed. can later be mapped into that preallocated VA space (if dynamic memory mode is enabled), and can optionally be mapped into it at startup. -.. _hugepage_mapping: +.. _eal_hugepage_mapping: Hugepage Mapping ^^^^^^^^^^^^^^^^
@@ -259,7 +259,7 @@ that share a hugetlbfs mount point. Each backing file by default corresponds to one hugepage, it is opened and locked for the entire time the hugepage is used. This may exhaust the number of open files limit (``NOFILE``). -See :ref:`segment-file-descriptors` section +See :ref:`eal_segment_file_descriptors` section on how the number of open backing file descriptors can be reduced. In dynamic memory mode, EAL removes a backing hugepage file
@@ -273,7 +273,7 @@ if ``--huge-unlink`` is given to avoid polluting hugetlbfs. However, since it disables multi-process anyway, using anonymous mapping (``--in-memory``) is recommended instead. -:ref:`EAL memory allocator <malloc>` relies on hugepages being zero-filled. +:ref:`EAL memory allocator <eal_malloc>` relies on hugepages being zero-filled. Hugepages are cleared by the kernel when a file in hugetlbfs or its part is mapped for the first time system-wide to prevent data leaks from previous users of the same hugepage.
@@ -302,10 +302,10 @@ DPDK memory manager can provide file descriptors for memory segments, which are required for VirtIO with vhost-user backend. This can exhaust the number of open files limit (``NOFILE``) despite not creating any visible files. -See :ref:`segment-file-descriptors` section +See :ref:`eal_segment_file_descriptors` section on how the number of open file descriptors used by EAL can be reduced. -.. _segment-file-descriptors: +.. _eal_segment_file_descriptors: Segment File Descriptors ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -645,7 +645,7 @@ the desired addressing mode when virtual devices that are not directly attached To facilitate forcing the IOVA mode to a specific value the EAL command line option ``--iova-mode`` can be used to select either physical addressing('pa') or virtual addressing('va'). -.. _max_simd_bitwidth: +.. _eal_max_simd_bitwidth: Max SIMD bitwidth
@@ -764,7 +764,7 @@ There are two kinds of non-EAL pthreads: For non registered non-EAL pthread (with a LCORE_ID_ANY *_lcore_id*), some libraries will use an alternative unique ID (e.g. TID), some will not be impacted at all, and some will work but with limitations (e.g. timer and mempool libraries). -All these impacts are mentioned in :ref:`known_issue_label` section. +All these impacts are mentioned in :ref:`eal_known_issue_label` section. Public Thread API ~~~~~~~~~~~~~~~~~
@@ -801,7 +801,7 @@ controlled with tools like taskset (Linux) or cpuset (FreeBSD), - with affinity restricted to 2-3, the Control Threads will end up on CPU 2 (main lcore, which is the default when no CPU is available). -.. _known_issue_label: +.. _eal_known_issue_label: Known Issues ~~~~~~~~~~~~
@@ -959,7 +959,7 @@ We expect only 50% of CPU spend on packet IO. echo 100000 > pkt_io/cpu.cfs_period_us echo 50000 > pkt_io/cpu.cfs_quota_us -.. _malloc: +.. _eal_malloc: Malloc ------
@@ -1044,7 +1044,7 @@ The key fields of the heap structure and their function are described below Example of a malloc heap and malloc elements within the malloc library -.. _malloc_elem: +.. _eal_malloc_elem: Structure: malloc_elem """"""""""""""""""""""
@@ -1125,7 +1125,7 @@ Memory Allocation ^^^^^^^^^^^^^^^^^ On EAL initialization, all preallocated memory segments are setup as part of the -malloc heap. This setup involves placing an :ref:`element header<malloc_elem>` +malloc heap. This setup involves placing an :ref:`element header <eal_malloc_elem>` with ``FREE`` at the start of each virtually contiguous segment of memory. The ``FREE`` element is then added to the ``free_list`` for the malloc heap.
doc/guides/prog_guide/packet_classif_access_ctrl.rst +1 -1
@@ -397,7 +397,7 @@ At startup ACL library determines the highest available classify method for the .. note:: Runtime algorithm selection obeys EAL max SIMD bitwidth parameter. - For more details about expected behaviour please see :ref:`max_simd_bitwidth` + For more details about expected behaviour please see :ref:`eal_max_simd_bitwidth` Application Programming Interface (API) Usage ---------------------------------------------
doc/guides/regexdevs/mlx5.rst +3 -3
@@ -27,9 +27,9 @@ Features Configuration ------------- -See :ref:`mlx5 common compilation <mlx5_common_compilation>`, -:ref:`mlx5 firmware configuration <mlx5_firmware_config>`, -and :ref:`mlx5 common driver options <mlx5_common_driver_options>`. +See :ref:`mlx5 common compilation <platform_mlx5_common_compilation>`, +:ref:`mlx5 firmware configuration <platform_mlx5_firmware_config>`, +and :ref:`mlx5 common driver options <platform_mlx5_common_driver_options>`. Supported NICs
doc/guides/rel_notes/release_17_02.rst +1 -1
@@ -163,7 +163,7 @@ New Features power. It can work on both legacy and modern virtio devices. In this mode, each ``rxq`` is mapped with an excluded MSIx interrupt. - See the :ref:`Virtio Interrupt Mode <virtio_interrupt_mode>` documentation + See the :ref:`Virtio Interrupt Mode <linux_gsg_nics_virtio_interrupt_mode>` documentation for more information. * **Added ARMv8 crypto PMD.**
doc/guides/sample_app_ug/compiling.rst +2 -2
@@ -29,7 +29,7 @@ Build: For additional information on compiling see :ref:`Compiling DPDK on Linux <linux_gsg_compiling_dpdk>` or -:ref:`Compiling DPDK on FreeBSD <building_from_source>`. +:ref:`Compiling DPDK on FreeBSD <freebsd_gsg_building_from_source>`. Applications are output to: ``dpdk/<build_dir>/examples``.
@@ -63,7 +63,7 @@ Using Make ~~~~~~~~~~ Pkg-config is used when building an example app standalone using make, please -see :ref:`building_app_using_installed_dpdk` for more information. +see :ref:`linux_gsg_building_app_using_installed_dpdk` for more information. Go to the sample application directory. Unless otherwise specified the sample applications are located in ``dpdk/examples/``.
doc/guides/testpmd_app_ug/testpmd_funcs.rst +2 -2
@@ -5667,5 +5667,5 @@ Some drivers provide specific features. See: - :ref:`net/bonding testpmd driver specific commands <bonding_testpmd_commands>` -- :ref:`net/i40e testpmd driver specific commands <net_i40e_testpmd_commands>` -- :ref:`net/ixgbe testpmd driver specific commands <net_ixgbe_testpmd_commands>` +- :ref:`net/i40e testpmd driver specific commands <nics_i40e_testpmd_commands>` +- :ref:`net/ixgbe testpmd driver specific commands <nics_ixgbe_testpmd_commands>`
doc/guides/tools/dts.rst +10 -10
@@ -147,7 +147,7 @@ There are two areas that need to be set up on a System Under Test: #. **User with administrator privileges** -.. _sut_admin_user: +.. _dts_sut_admin_user: DTS needs administrator privileges to run DPDK applications (such as testpmd) on the SUT. The SUT user must be able run commands in privileged mode without asking for password.
@@ -237,7 +237,7 @@ These need to be set up on a Traffic Generator Node: Similarly to the System Under Test, traffic generators need administrator privileges to be able to use the devices. - Refer to the `System Under Test section <sut_admin_user>` for details. + Refer to the `System Under Test section <dts_sut_admin_user>` for details. Running DTS
@@ -259,12 +259,12 @@ and must respect the model definitions as documented in the DTS API docs under the ``config`` page. The root of the configuration is represented by the ``Configuration`` model. By default, DTS will try to use the ``dts/test_run.example.yaml`` -:ref:`config file <test_run_configuration_example>`, +:ref:`config file <dts_test_run_configuration_example>`, and ``dts/nodes.example.yaml`` -:ref:`config file <nodes_configuration_example>` +:ref:`config file <dts_nodes_configuration_example>` which are templates that illustrate what can be configured in DTS. -The user must have :ref:`administrator privileges <sut_admin_user>` +The user must have :ref:`administrator privileges <dts_sut_admin_user>` which don't require password authentication.
@@ -360,11 +360,11 @@ When adding code to the DTS framework, pay attention to the rest of the code and try not to divert much from it. The :ref:`DTS developer tools <dts_dev_tools>` will issue warnings when some of the basics are not met. -You should also build the :ref:`API documentation <building_api_docs>` +You should also build the :ref:`API documentation <dts_building_api_docs>` to address any issues found during the build. The API documentation, which is a helpful reference when developing, may be accessed -in the code directly or generated with the :ref:`API docs build steps <building_api_docs>`. +in the code directly or generated with the :ref:`API docs build steps <dts_building_api_docs>`. When adding new files or modifying the directory structure, the corresponding changes must be made to DTS API doc sources in ``doc/api/dts``.
@@ -498,7 +498,7 @@ the DTS code check and format script. Refer to the script for usage: ``devtools/dts-check-format.sh -h``. -.. _building_api_docs: +.. _dts_building_api_docs: Building DTS API docs ---------------------
@@ -542,7 +542,7 @@ And they both have two network ports which are physically connected to each othe This example assumes that you have setup SSH keys in both the system under test and traffic generator nodes. -.. _test_run_configuration_example: +.. _dts_test_run_configuration_example: ``dts/test_run.example.yaml`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -551,7 +551,7 @@ And they both have two network ports which are physically connected to each othe :language: yaml :start-at: # Define -.. _nodes_configuration_example: +.. _dts_nodes_configuration_example: ``dts/nodes.example.yaml``
doc/guides/vdpadevs/mlx5.rst +2 -2
@@ -36,7 +36,7 @@ Prerequisites ------------- - NVIDIA MLNX_OFED version: **5.0** - See :ref:`mlx5 common prerequisites <mlx5_linux_prerequisites>` for more details. + See :ref:`mlx5 common prerequisites <platform_mlx5_linux_prerequisites>` for more details. Run-time configuration ~~~~~~~~~~~~~~~~~~~~~~
@@ -44,7 +44,7 @@ Run-time configuration Driver options ^^^^^^^^^^^^^^ -Please refer to :ref:`mlx5 common options <mlx5_common_driver_options>` +Please refer to :ref:`mlx5 common options <platform_mlx5_common_driver_options>` for an additional list of options shared with other mlx5 drivers. - ``event_mode`` parameter [int]
Signature · 1 line
2.51.0
Re: [PATCH v2 1/2] doc: remove unused anchors
In reply to David Marchand02/10/2025 13:32, David Marchand:
Quoted 4 lines
The documentation has unused anchors that were either left behind after a documentation refactoring, or just unused since day 1.
Signed-off-by David Marchand <[email protected]>
Some blank lines around anchors should be removed at the same time.
v3 cover doc: clean-up links in guides
In reply to Nandini PersadLinks and references to other guide sections had multiple issues, all solved in this series.
The important metric in cleanups is having more deletions than additions:
278 files changed, 1054 insertions(+), 1700 deletions(-)
meaning it should be easier to maintain.
David Marchand (1):
doc: remove unused labels from guides
Nandini Persad (1):
doc: add prefixes to guide labels
Thomas Monjalon (6):
doc: adjust heading underline lengths
doc: replace vague references with precise links
doc: shorten page references in guides
doc: link whole-guide references to pages
doc: remove redundant link captions
doc: avoid numbered guide references
doc/guides/bbdevs/acc100.rst | 8 +- doc/guides/bbdevs/fpga_5gnr_fec.rst | 4 +- doc/guides/bbdevs/fpga_lte_fec.rst | 10 +- doc/guides/bbdevs/la12xx.rst | 8 +- doc/guides/bbdevs/null.rst | 2 +- doc/guides/bbdevs/overview.rst | 2 - doc/guides/bbdevs/turbo_sw.rst | 2 - doc/guides/bbdevs/vrb1.rst | 6 +- doc/guides/bbdevs/vrb2.rst | 6 +- doc/guides/compressdevs/isal.rst | 2 - doc/guides/compressdevs/mlx5.rst | 2 +- doc/guides/compressdevs/overview.rst | 2 - doc/guides/compressdevs/qat_comp.rst | 2 +- doc/guides/compressdevs/uadk.rst | 4 +- doc/guides/compressdevs/zlib.rst | 2 +- doc/guides/compressdevs/zsda.rst | 2 +- doc/guides/contributing/abi_policy.rst | 54 +++-- doc/guides/contributing/abi_versioning.rst | 39 ++-- doc/guides/contributing/cheatsheet.rst | 2 - doc/guides/contributing/coding_style.rst | 12 +- doc/guides/contributing/design.rst | 6 +- doc/guides/contributing/documentation.rst | 62 ++---- doc/guides/contributing/new_driver.rst | 6 +- doc/guides/contributing/patches.rst | 17 +- doc/guides/contributing/stable.rst | 2 - doc/guides/cryptodevs/aesni_gcm.rst | 2 - doc/guides/cryptodevs/aesni_mb.rst | 2 - doc/guides/cryptodevs/caam_jr.rst | 4 +- doc/guides/cryptodevs/cnxk.rst | 6 +- doc/guides/cryptodevs/dpaa2_sec.rst | 4 +- doc/guides/cryptodevs/dpaa_sec.rst | 6 +- doc/guides/cryptodevs/mlx5.rst | 2 +- doc/guides/cryptodevs/octeontx.rst | 2 +- doc/guides/cryptodevs/overview.rst | 14 +- doc/guides/cryptodevs/qat.rst | 15 +- doc/guides/cryptodevs/snow3g.rst | 2 - doc/guides/cryptodevs/uadk.rst | 4 +- doc/guides/cryptodevs/zuc.rst | 2 - doc/guides/dmadevs/cnxk.rst | 6 +- doc/guides/dmadevs/dpaa.rst | 4 +- doc/guides/dmadevs/dpaa2.rst | 4 +- doc/guides/dmadevs/hisi_acc.rst | 4 +- doc/guides/dmadevs/idxd.rst | 20 +- doc/guides/dmadevs/ioat.rst | 18 +- doc/guides/dmadevs/odm.rst | 3 +- doc/guides/eventdevs/cnxk.rst | 4 +- doc/guides/eventdevs/dlb2.rst | 3 +- doc/guides/eventdevs/dpaa.rst | 8 +- doc/guides/eventdevs/dpaa2.rst | 4 +- doc/guides/eventdevs/octeontx.rst | 2 +- doc/guides/eventdevs/opdl.rst | 2 +- doc/guides/eventdevs/overview.rst | 14 -- doc/guides/faq/faq.rst | 6 +- doc/guides/freebsd_gsg/build_dpdk.rst | 8 +- doc/guides/freebsd_gsg/build_sample_apps.rst | 8 +- doc/guides/freebsd_gsg/index.rst | 2 - doc/guides/freebsd_gsg/install_from_ports.rst | 14 +- doc/guides/freebsd_gsg/intro.rst | 2 +- doc/guides/howto/af_xdp_dp.rst | 8 +- doc/guides/howto/avx512.rst | 5 +- doc/guides/howto/flow_bifurcation.rst | 6 +- doc/guides/howto/lm_bond_virtio_sriov.rst | 9 +- doc/guides/howto/lm_virtio_vhost_user.rst | 6 +- doc/guides/howto/openwrt.rst | 2 +- doc/guides/howto/packet_capture_framework.rst | 13 +- doc/guides/howto/pvp_reference_benchmark.rst | 6 +- doc/guides/howto/rte_flow.rst | 4 +- doc/guides/howto/security.rst | 46 ++-- doc/guides/howto/telemetry.rst | 2 +- doc/guides/howto/vfd.rst | 2 - .../howto/virtio_user_as_exception_path.rst | 10 +- .../virtio_user_for_container_networking.rst | 10 +- doc/guides/linux_gsg/build_dpdk.rst | 6 +- doc/guides/linux_gsg/build_sample_apps.rst | 13 +- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 10 +- doc/guides/linux_gsg/doc_roadmap.include.rst | 28 +-- doc/guides/linux_gsg/enable_func.rst | 8 +- doc/guides/linux_gsg/index.rst | 2 - doc/guides/linux_gsg/linux_drivers.rst | 20 +- .../linux_gsg/nic_perf_intel_platform.rst | 2 +- doc/guides/linux_gsg/sys_reqs.rst | 9 +- doc/guides/mempool/cnxk.rst | 4 +- doc/guides/mempool/octeontx.rst | 2 +- doc/guides/mempool/ring.rst | 2 +- doc/guides/mempool/stack.rst | 2 +- doc/guides/mldevs/cnxk.rst | 8 +- doc/guides/nics/af_xdp.rst | 2 +- doc/guides/nics/ark.rst | 15 +- doc/guides/nics/avp.rst | 2 +- doc/guides/nics/axgbe.rst | 9 +- doc/guides/nics/bnx2x.rst | 9 +- doc/guides/nics/bnxt.rst | 2 +- doc/guides/nics/build_and_test.rst | 11 +- doc/guides/nics/cnxk.rst | 11 +- doc/guides/nics/cpfl.rst | 4 +- doc/guides/nics/cxgbe.rst | 32 +-- doc/guides/nics/dpaa.rst | 11 +- doc/guides/nics/dpaa2.rst | 19 +- doc/guides/nics/ena.rst | 14 +- doc/guides/nics/enetc.rst | 4 +- doc/guides/nics/enetc4.rst | 4 +- doc/guides/nics/enic.rst | 9 +- doc/guides/nics/fail_safe.rst | 3 +- doc/guides/nics/features.rst | 8 +- doc/guides/nics/hinic.rst | 5 +- doc/guides/nics/hinic3.rst | 6 +- doc/guides/nics/hns3.rst | 8 +- doc/guides/nics/i40e.rst | 29 ++- doc/guides/nics/ice.rst | 17 +- doc/guides/nics/idpf.rst | 4 +- doc/guides/nics/igc.rst | 5 +- doc/guides/nics/intel_vf.rst | 18 +- doc/guides/nics/ionic.rst | 5 +- doc/guides/nics/ipn3ke.rst | 9 +- doc/guides/nics/ixgbe.rst | 4 +- doc/guides/nics/mana.rst | 3 +- doc/guides/nics/memif.rst | 4 +- doc/guides/nics/mlx4.rst | 12 +- doc/guides/nics/mlx5.rst | 14 +- doc/guides/nics/mvneta.rst | 3 +- doc/guides/nics/mvpp2.rst | 39 ++-- doc/guides/nics/nbl.rst | 3 +- doc/guides/nics/netvsc.rst | 4 +- doc/guides/nics/nfp.rst | 3 +- doc/guides/nics/ngbe.rst | 5 +- doc/guides/nics/octeon_ep.rst | 2 +- doc/guides/nics/octeontx.rst | 9 +- doc/guides/nics/overview.rst | 2 - doc/guides/nics/pfe.rst | 6 +- doc/guides/nics/qede.rst | 13 +- doc/guides/nics/rnp.rst | 2 - doc/guides/nics/softnic.rst | 11 +- doc/guides/nics/thunderx.rst | 9 +- doc/guides/nics/txgbe.rst | 9 +- doc/guides/nics/vhost.rst | 2 +- doc/guides/nics/virtio.rst | 4 +- doc/guides/nics/vmxnet3.rst | 12 +- doc/guides/nics/xsc.rst | 3 +- doc/guides/nics/zxdh.rst | 3 +- doc/guides/platform/bluefield.rst | 8 +- doc/guides/platform/cnxk.rst | 38 ++-- doc/guides/platform/dpaa.rst | 15 +- doc/guides/platform/dpaa2.rst | 15 +- doc/guides/platform/mlx5.rst | 14 +- doc/guides/platform/octeontx.rst | 17 +- doc/guides/prog_guide/asan.rst | 2 +- doc/guides/prog_guide/bbdev.rst | 12 +- doc/guides/prog_guide/build-sdk-meson.rst | 18 +- doc/guides/prog_guide/build_app.rst | 2 +- doc/guides/prog_guide/cmdline.rst | 2 +- doc/guides/prog_guide/compressdev.rst | 6 +- doc/guides/prog_guide/cryptodev_lib.rst | 6 +- doc/guides/prog_guide/devargs.rst | 4 +- doc/guides/prog_guide/dmadev.rst | 4 +- doc/guides/prog_guide/efd_lib.rst | 59 +++-- .../prog_guide/env_abstraction_layer.rst | 28 ++- doc/guides/prog_guide/ethdev/ethdev.rst | 4 +- doc/guides/prog_guide/ethdev/flow_offload.rst | 204 +----------------- .../prog_guide/ethdev/qos_framework.rst | 130 +++++------ .../ethdev/traffic_metering_and_policing.rst | 4 +- .../prog_guide/eventdev/dispatcher_lib.rst | 4 +- .../eventdev/event_crypto_adapter.rst | 6 +- .../prog_guide/eventdev/event_dma_adapter.rst | 6 +- .../eventdev/event_ethernet_rx_adapter.rst | 2 +- .../eventdev/event_ethernet_tx_adapter.rst | 2 +- .../eventdev/event_timer_adapter.rst | 2 +- doc/guides/prog_guide/eventdev/eventdev.rst | 2 - doc/guides/prog_guide/fib_lib.rst | 6 +- .../generic_receive_offload_lib.rst | 4 +- .../generic_segmentation_offload_lib.rst | 8 +- doc/guides/prog_guide/graph_lib.rst | 58 +++-- doc/guides/prog_guide/hash_lib.rst | 10 +- doc/guides/prog_guide/index.rst | 2 +- doc/guides/prog_guide/ipsec_lib.rst | 4 +- .../link_bonding_poll_mode_drv_lib.rst | 2 +- doc/guides/prog_guide/mbuf_lib.rst | 6 +- doc/guides/prog_guide/member_lib.rst | 10 +- doc/guides/prog_guide/mempool_lib.rst | 15 +- doc/guides/prog_guide/mldev.rst | 2 - doc/guides/prog_guide/multi_proc_support.rst | 11 +- doc/guides/prog_guide/overview.rst | 2 - .../prog_guide/packet_classif_access_ctrl.rst | 4 +- doc/guides/prog_guide/packet_framework.rst | 91 ++++---- doc/guides/prog_guide/pdcp_lib.rst | 2 - doc/guides/prog_guide/pdump_lib.rst | 2 - doc/guides/prog_guide/power_man.rst | 12 +- doc/guides/prog_guide/profile_app.rst | 2 +- doc/guides/prog_guide/rcu_lib.rst | 4 +- doc/guides/prog_guide/regexdev.rst | 2 +- doc/guides/prog_guide/reorder_lib.rst | 8 +- doc/guides/prog_guide/rib_lib.rst | 12 +- doc/guides/prog_guide/ring_lib.rst | 43 ---- doc/guides/prog_guide/rte_security.rst | 6 +- doc/guides/prog_guide/source_org.rst | 2 +- doc/guides/prog_guide/stack_lib.rst | 2 +- doc/guides/prog_guide/telemetry_lib.rst | 2 +- doc/guides/prog_guide/thread_safety.rst | 2 +- doc/guides/prog_guide/toeplitz_hash_lib.rst | 14 +- doc/guides/prog_guide/trace_lib.rst | 10 +- doc/guides/rawdevs/dpaa2_cmdif.rst | 4 +- doc/guides/rawdevs/ifpga.rst | 4 +- doc/guides/regexdevs/cn9k.rst | 6 +- doc/guides/regexdevs/features_overview.rst | 2 - doc/guides/regexdevs/mlx5.rst | 4 +- doc/guides/rel_notes/deprecation.rst | 3 +- doc/guides/rel_notes/release_17_02.rst | 4 +- doc/guides/rel_notes/release_17_11.rst | 16 +- doc/guides/rel_notes/release_18_02.rst | 4 +- doc/guides/rel_notes/release_18_05.rst | 14 +- doc/guides/rel_notes/release_18_08.rst | 4 +- doc/guides/rel_notes/release_18_11.rst | 10 +- doc/guides/rel_notes/release_19_02.rst | 6 +- doc/guides/rel_notes/release_19_05.rst | 4 +- doc/guides/rel_notes/release_19_08.rst | 6 +- doc/guides/rel_notes/release_19_11.rst | 14 +- doc/guides/rel_notes/release_20_02.rst | 6 +- doc/guides/rel_notes/release_20_05.rst | 4 +- doc/guides/rel_notes/release_20_08.rst | 4 +- doc/guides/rel_notes/release_20_11.rst | 10 +- doc/guides/rel_notes/release_21_02.rst | 4 +- doc/guides/rel_notes/release_21_08.rst | 4 +- doc/guides/rel_notes/release_21_11.rst | 6 +- doc/guides/rel_notes/release_22_03.rst | 2 +- doc/guides/rel_notes/release_22_07.rst | 2 +- doc/guides/rel_notes/release_22_11.rst | 12 +- doc/guides/rel_notes/release_23_03.rst | 2 +- doc/guides/rel_notes/release_23_07.rst | 4 +- doc/guides/rel_notes/release_23_11.rst | 2 +- doc/guides/rel_notes/release_24_07.rst | 2 +- doc/guides/rel_notes/release_25_03.rst | 2 +- doc/guides/rel_notes/release_25_07.rst | 10 +- doc/guides/sample_app_ug/compiling.rst | 6 +- doc/guides/sample_app_ug/dist_app.rst | 6 +- doc/guides/sample_app_ug/dma.rst | 10 +- .../sample_app_ug/eventdev_pipeline.rst | 9 +- doc/guides/sample_app_ug/flow_filtering.rst | 2 +- doc/guides/sample_app_ug/intro.rst | 4 +- doc/guides/sample_app_ug/ip_pipeline.rst | 4 - doc/guides/sample_app_ug/ip_reassembly.rst | 4 +- .../sample_app_ug/l2_forward_crypto.rst | 2 - doc/guides/sample_app_ug/l2_forward_event.rst | 19 +- .../sample_app_ug/l2_forward_job_stats.rst | 14 +- .../sample_app_ug/l2_forward_real_virtual.rst | 20 +- doc/guides/sample_app_ug/l3_forward.rst | 4 - doc/guides/sample_app_ug/l3_forward_graph.rst | 2 - .../sample_app_ug/l3_forward_power_man.rst | 2 +- doc/guides/sample_app_ug/link_status_intr.rst | 4 +- doc/guides/sample_app_ug/multi_process.rst | 4 - doc/guides/sample_app_ug/packet_ordering.rst | 2 +- doc/guides/sample_app_ug/ptp_tap_relay_sw.rst | 2 +- doc/guides/sample_app_ug/ptpclient.rst | 6 +- doc/guides/sample_app_ug/qos_metering.rst | 2 - doc/guides/sample_app_ug/qos_scheduler.rst | 7 +- doc/guides/sample_app_ug/server_node_efd.rst | 7 +- doc/guides/sample_app_ug/skeleton.rst | 4 +- doc/guides/sample_app_ug/test_pipeline.rst | 6 +- doc/guides/sample_app_ug/vdpa.rst | 2 - doc/guides/sample_app_ug/vhost.rst | 7 +- doc/guides/sample_app_ug/vhost_blk.rst | 6 +- doc/guides/sample_app_ug/vhost_crypto.rst | 2 - .../sample_app_ug/vm_power_management.rst | 37 ++-- .../sample_app_ug/vmdq_dcb_forwarding.rst | 5 +- doc/guides/sample_app_ug/vmdq_forwarding.rst | 2 +- doc/guides/testpmd_app_ug/index.rst | 2 - doc/guides/testpmd_app_ug/run_app.rst | 6 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 26 +-- doc/guides/tools/dts.rst | 28 ++- doc/guides/tools/flow-perf.rst | 4 +- doc/guides/tools/graph.rst | 70 +++--- doc/guides/tools/pdump.rst | 2 - doc/guides/tools/securityperf.rst | 4 +- doc/guides/tools/testbbdev.rst | 8 +- doc/guides/tools/testeventdev.rst | 48 +---- doc/guides/tools/testmldev.rst | 12 -- doc/guides/vdpadevs/features_overview.rst | 2 - doc/guides/vdpadevs/mlx5.rst | 2 +- doc/guides/windows_gsg/index.rst | 2 - doc/guides/windows_gsg/intro.rst | 2 +- 278 files changed, 1054 insertions(+), 1700 deletions(-)
Signature · 1 line
2.54.0
PATCH v3 1/8 doc: adjust heading underline lengths
Reduce underlines to match the length of the headings.
--- doc/guides/bbdevs/acc100.rst | 2 +- doc/guides/bbdevs/fpga_lte_fec.rst | 4 ++-- doc/guides/bbdevs/null.rst | 2 +- doc/guides/compressdevs/zlib.rst | 2 +- doc/guides/contributing/abi_policy.rst | 2 +- doc/guides/contributing/coding_style.rst | 2 +- doc/guides/cryptodevs/caam_jr.rst | 2 +- doc/guides/cryptodevs/dpaa_sec.rst | 2 +- doc/guides/cryptodevs/overview.rst | 2 +- doc/guides/cryptodevs/qat.rst | 2 +- doc/guides/dmadevs/cnxk.rst | 2 +- doc/guides/dmadevs/hisi_acc.rst | 4 ++-- doc/guides/dmadevs/idxd.rst | 18 +++++++++--------- doc/guides/dmadevs/ioat.rst | 16 ++++++++-------- doc/guides/eventdevs/dpaa.rst | 4 ++-- doc/guides/eventdevs/opdl.rst | 2 +- doc/guides/faq/faq.rst | 2 +- doc/guides/howto/af_xdp_dp.rst | 2 +- doc/guides/howto/avx512.rst | 2 +- doc/guides/howto/rte_flow.rst | 2 +- .../howto/virtio_user_as_exception_path.rst | 2 +- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 2 +- doc/guides/linux_gsg/linux_drivers.rst | 4 ++-- doc/guides/nics/af_xdp.rst | 2 +- doc/guides/nics/avp.rst | 2 +- doc/guides/nics/hns3.rst | 2 +- doc/guides/nics/i40e.rst | 8 ++++---- doc/guides/nics/ice.rst | 4 ++-- doc/guides/nics/igc.rst | 2 +- doc/guides/nics/memif.rst | 2 +- doc/guides/nics/pfe.rst | 2 +- doc/guides/nics/qede.rst | 2 +- doc/guides/platform/cnxk.rst | 2 +- doc/guides/platform/dpaa.rst | 2 +- doc/guides/prog_guide/bbdev.rst | 4 ++-- doc/guides/prog_guide/build-sdk-meson.rst | 12 ++++++------ doc/guides/prog_guide/compressdev.rst | 6 +++--- doc/guides/prog_guide/cryptodev_lib.rst | 2 +- doc/guides/prog_guide/devargs.rst | 2 +- doc/guides/prog_guide/efd_lib.rst | 2 +- .../prog_guide/env_abstraction_layer.rst | 2 +- doc/guides/prog_guide/ethdev/flow_offload.rst | 14 +++++++------- doc/guides/prog_guide/ethdev/qos_framework.rst | 2 +- .../eventdev/event_ethernet_rx_adapter.rst | 2 +- .../eventdev/event_ethernet_tx_adapter.rst | 2 +- doc/guides/prog_guide/hash_lib.rst | 6 +++--- doc/guides/prog_guide/index.rst | 2 +- doc/guides/prog_guide/ipsec_lib.rst | 4 ++-- .../link_bonding_poll_mode_drv_lib.rst | 2 +- doc/guides/prog_guide/member_lib.rst | 2 +- doc/guides/prog_guide/mempool_lib.rst | 2 +- doc/guides/prog_guide/multi_proc_support.rst | 2 +- .../prog_guide/packet_classif_access_ctrl.rst | 2 +- doc/guides/prog_guide/regexdev.rst | 2 +- doc/guides/prog_guide/reorder_lib.rst | 8 ++++---- doc/guides/prog_guide/rte_security.rst | 2 +- doc/guides/prog_guide/stack_lib.rst | 2 +- doc/guides/prog_guide/toeplitz_hash_lib.rst | 2 +- doc/guides/rawdevs/ifpga.rst | 4 ++-- doc/guides/regexdevs/cn9k.rst | 2 +- doc/guides/sample_app_ug/dma.rst | 2 +- doc/guides/sample_app_ug/flow_filtering.rst | 2 +- doc/guides/sample_app_ug/ip_reassembly.rst | 2 +- doc/guides/sample_app_ug/packet_ordering.rst | 2 +- doc/guides/sample_app_ug/ptp_tap_relay_sw.rst | 2 +- doc/guides/sample_app_ug/vhost_blk.rst | 4 ++-- doc/guides/sample_app_ug/vmdq_forwarding.rst | 2 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 12 ++++++------ doc/guides/tools/testbbdev.rst | 4 ++-- doc/guides/tools/testeventdev.rst | 4 ++-- 70 files changed, 122 insertions(+), 122 deletions(-)
doc/guides/bbdevs/acc100.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2020 Intel Corporation Intel(R) ACC100 5G/4G FEC Poll Mode Drivers -====================================================== +=========================================== The BBDEV ACC100 5G/4G FEC poll mode driver (PMD) supports an implementation of a VRAN FEC wireless acceleration function.
doc/guides/bbdevs/fpga_lte_fec.rst +2 -2
@@ -49,7 +49,7 @@ FPGA LTE FEC does not support the following: Installation --------------- +------------ Section 3 of the DPDK manual provides instructions on installing and compiling DPDK.
@@ -80,7 +80,7 @@ For more details on how to bind the PF device and create VF devices, see Configure the VFs through PF -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The PCI virtual functions must be configured before working or getting assigned to VMs/Containers. The configuration involves allocating the number of hardware
doc/guides/bbdevs/null.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2017 Intel Corporation BBDEV null Poll Mode Driver -============================ +=========================== The (**baseband_null**) is a bbdev poll mode driver which provides a minimal implementation of a software bbdev device. As a null device it does not modify
doc/guides/compressdevs/zlib.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2018 Cavium Networks. ZLIB Compression Poll Mode Driver -================================== +================================= The ZLIB PMD (**librte_compress_zlib**) provides poll mode compression & decompression driver based on SW zlib library,
doc/guides/contributing/abi_policy.rst +1 -1
@@ -288,7 +288,7 @@ added to the Release Notes: .. _new_abi_version: New ABI versions ------------------- +---------------- A new ABI version may be declared aligned with a given release. The requirement to preserve compatibility with the previous major ABI version
doc/guides/contributing/coding_style.rst +1 -1
@@ -579,7 +579,7 @@ Casts and sizeof The redundant parenthesis rules do not apply to sizeof(var) instances. C Function Definition, Declaration and Use -------------------------------------------- +------------------------------------------ Prototypes ~~~~~~~~~~
doc/guides/cryptodevs/caam_jr.rst +1 -1
@@ -73,7 +73,7 @@ AEAD algorithms: * ``RTE_CRYPTO_AEAD_AES_GCM`` Supported DPAA SoCs --------------------- +------------------- * LS1046A/LS1026A * LS1043A/LS1023A
doc/guides/cryptodevs/dpaa_sec.rst +1 -1
@@ -77,7 +77,7 @@ AEAD algorithms: * ``RTE_CRYPTO_AEAD_AES_GCM`` Supported DPAA SoCs --------------------- +------------------- * LS1046A/LS1026A * LS1043A/LS1023A
doc/guides/cryptodevs/overview.rst +1 -1
@@ -82,7 +82,7 @@ Supported Asymmetric Algorithms .. include:: overview_asym_table.txt Supported Operating Systems -------------------------------- +--------------------------- .. _table_crypto_pmd_os:
doc/guides/cryptodevs/qat.rst +1 -1
@@ -353,7 +353,7 @@ To use this feature the user must set the devarg on process start as a device ad Running QAT PMD with Intel IPsec MB library -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The QAT PMD requires IPsec MB library for HMAC partial hash calculation in symmetric precomputes function.
doc/guides/dmadevs/cnxk.rst +1 -1
@@ -22,7 +22,7 @@ Prerequisites and Compilation procedure See :doc:`../platform/cnxk` for setup information. Device Setup -------------- +------------ The ``dpdk-devbind.py`` script, included with DPDK, can be used to show the presence of supported hardware.
doc/guides/dmadevs/hisi_acc.rst +2 -2
@@ -16,7 +16,7 @@ Supported Kunpeng SoCs Device Setup -------------- +------------ In order to use the device in DPDK, user should insmod `uacce.ko`, `hisi_qm.ko`
@@ -45,7 +45,7 @@ named ``hisi_zip-0-dma0`` and ``hisi_zip-0-dma1``. and algorithms contain ``udma``. Device Configuration -~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~ Configuration requirements:
doc/guides/dmadevs/idxd.rst +9 -9
@@ -14,7 +14,7 @@ data operations, such as data copies, to hardware, freeing up CPU cycles for other tasks. Hardware Requirements ----------------------- +--------------------- The ``dpdk-devbind.py`` script, included with DPDK, can be used to show the presence of supported hardware. Running ``dpdk-devbind.py --status-dev dma``
@@ -24,13 +24,13 @@ as devices with type “0b25”, due to the absence of pci-id database entries f them at this point. Compilation ------------- +----------- For builds using ``meson`` and ``ninja``, the driver will be built when the target platform is x86-based. No additional compilation steps are necessary. Device Setup -------------- +------------ Intel\ |reg| DSA devices can use the IDXD kernel driver or DPDK-supported drivers, such as ``vfio-pci``. Both are supported by the IDXD PMD.
@@ -42,7 +42,7 @@ such as ``vfio-pci``. Both are supported by the IDXD PMD. Multi-process is not supported when using the kernel IDXD driver. Intel\ |reg| DSA devices using IDXD kernel driver -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To use an Intel\ |reg| DSA device bound to the IDXD kernel driver, the device must first be configured. The `accel-config <https://github.com/intel/idxd-config>`_ utility library can be used for configuration.
@@ -121,7 +121,7 @@ giving each an equal share of resources:: Devices using VFIO/UIO drivers -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The HW devices to be used will need to be bound to a user-space IO driver for use. The ``dpdk-devbind.py`` script can be used to view the state of the devices
@@ -138,7 +138,7 @@ For example:: ``0000:6a:01.0-q0``, ``00006a:01.0-q1``, etc. Device Probing and Initialization -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For devices bound to a suitable DPDK-supported VFIO/UIO driver, the HW devices will be found as part of the device scan done at application initialization time without
@@ -177,12 +177,12 @@ that is a "DMA device type" inside DPDK, and can be accessed using APIs from the ``rte_dmadev`` library. Using IDXD DMAdev Devices --------------------------- +------------------------- To use the devices from an application, the dmadev API can be used. Device Configuration -~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~ IDXD configuration requirements:
@@ -195,7 +195,7 @@ Once configured, the device can then be made ready for use by calling the ``rte_dma_start()`` API. Performing Data Copies -~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~ Refer to the :ref:`Enqueue / Dequeue APIs <dmadev_enqueue_dequeue>` section of the dmadev library documentation for details on operation enqueue, submission and completion API usage.
doc/guides/dmadevs/ioat.rst +8 -8
@@ -4,7 +4,7 @@ .. include:: <isonum.txt> IOAT DMA Device Driver -======================= +====================== The ``ioat`` dmadev driver provides a poll-mode driver (PMD) for Intel\ |reg| QuickData Technology which is part of part of Intel\ |reg| I/O
@@ -15,7 +15,7 @@ cloning packet data, to be accelerated by IOAT hardware rather than having to be done by software, freeing up CPU cycles for other tasks. Hardware Requirements ----------------------- +--------------------- The ``dpdk-devbind.py`` script, included with DPDK, can be used to show the presence of supported hardware. Running ``dpdk-devbind.py --status-dev dma``
@@ -30,13 +30,13 @@ absence of pci-id database entries for them at this point. Cascade Lake. Compilation ------------- +----------- For builds using ``meson`` and ``ninja``, the driver will be built when the target platform is x86-based. No additional compilation steps are necessary. Device Setup -------------- +------------ Intel\ |reg| IOAT devices will need to be bound to a suitable DPDK-supported user-space IO driver such as ``vfio-pci`` in order to be used by DPDK.
@@ -51,7 +51,7 @@ For example:: $ dpdk-devbind.py -b vfio-pci 00:01.0 00:01.1 Device Probing and Initialization -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For devices bound to a suitable DPDK-supported driver (``vfio-pci``), the HW devices will be found as part of the device scan done at application
@@ -69,12 +69,12 @@ Once probed successfully, the device will appear as a ``dmadev``, that is a ``rte_dmadev`` library. Using IOAT DMAdev Devices --------------------------- +------------------------- To use IOAT devices from an application, the ``dmadev`` API can be used. Device Configuration -~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~ IOAT configuration requirements:
@@ -87,7 +87,7 @@ Once configured, the device can then be made ready for use by calling the ``rte_dma_start()`` API. Performing Data Copies -~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~ Refer to the :ref:`Enqueue / Dequeue APIs <dmadev_enqueue_dequeue>` section of the dmadev library documentation for details on operation enqueue, submission and completion API usage.
doc/guides/eventdevs/dpaa.rst +2 -2
@@ -2,7 +2,7 @@ Copyright 2017 NXP NXP DPAA Eventdev Driver -========================= +======================== The dpaa eventdev is an implementation of the eventdev API, that provides a wide range of the eventdev features. The eventdev relies on a dpaa based
@@ -23,7 +23,7 @@ The DPAA EVENTDEV implements many features in the eventdev API; - Atomic flows Supported DPAA SoCs --------------------- +------------------- - LS1046A/LS1026A - LS1043A/LS1023A
doc/guides/eventdevs/opdl.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2017 Intel Corporation. OPDL Eventdev Poll Mode Driver -================================== +============================== The OPDL (Ordered Packet Distribution Library) eventdev is a specific\ implementation of the eventdev API. It is particularly suited to packet\
doc/guides/faq/faq.rst +1 -1
@@ -141,7 +141,7 @@ and <MAC address> being the desired MAC address. Is it safe to add an entry to the hash table while running? ------------------------------------------------------------- +----------------------------------------------------------- Currently the table implementation is not a thread safe implementation and assumes that locking between threads and processes is handled by the user's application. This is likely to be supported in future releases.
doc/guides/howto/af_xdp_dp.rst +1 -1
@@ -137,7 +137,7 @@ Example ------- Build a DPDK container image (using Docker) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. Create a Dockerfile (should be placed in top level DPDK directory):
doc/guides/howto/avx512.rst +1 -1
@@ -26,7 +26,7 @@ For more information on the possible enum values to use as a parameter, go to :r Using the command-line argument ---------------------------------------------- +------------------------------- The user can select to use AVX-512 at runtime, using the following argument to set the max bitwidth::
doc/guides/howto/rte_flow.rst +1 -1
@@ -106,7 +106,7 @@ Terminal 1: output log:: received packet with src ip = 176.80.50.4 Range IPv4 drop ----------------- +--------------- Description ~~~~~~~~~~~
doc/guides/howto/virtio_user_as_exception_path.rst +1 -1
@@ -51,7 +51,7 @@ in :numref:`figure_virtio_user_as_exception_path`. Example Usage With Testpmd ---------------------------- +-------------------------- .. note::
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +1 -1
@@ -186,7 +186,7 @@ LLVM/Clang toolchain -------------------- Obtain the cross toolchain -~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~ The latest LLVM/Clang cross compiler toolchain can be downloaded from: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/llvm-toolchain.
doc/guides/linux_gsg/linux_drivers.rst +2 -2
@@ -168,7 +168,7 @@ After that, VFIO can be used with hardware devices as usual. in situations where IOMMU is not available. VFIO Memory Mapping Limits -~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~ For DMA mapping of either external memory or hugepages, VFIO interface is used. VFIO does not support partial unmap of once mapped memory. Hence DPDK's memory is
@@ -198,7 +198,7 @@ Alternatively, one can also change this value in an already loaded kernel module echo 512000 > /sys/module/vfio_iommu_type1/parameters/dma_entry_limit Creating Virtual Functions using vfio-pci -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Since Linux version 5.7, the ``vfio-pci`` module supports the creation of virtual functions.
doc/guides/nics/af_xdp.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2019-2020 Intel Corporation. AF_XDP Poll Mode Driver -========================== +======================= AF_XDP is an address family that is optimized for high performance packet processing. AF_XDP sockets enable the possibility for an XDP program to
doc/guides/nics/avp.rst +1 -1
@@ -3,7 +3,7 @@ All rights reserved. AVP Poll Mode Driver -================================================================= +==================== The Accelerated Virtual Port (AVP) device is a shared memory based device only available on `virtualization platforms <http://www.windriver.com/products/titanium-cloud/>`_
doc/guides/nics/hns3.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2018-2019 HiSilicon Limited. HNS3 Poll Mode Driver -=============================== +===================== The hns3 PMD (**librte_net_hns3**) provides poll mode driver support for the inbuilt HiSilicon Network Subsystem(HNS) network engine
doc/guides/nics/i40e.rst +4 -4
@@ -2,7 +2,7 @@ Copyright(c) 2016 Intel Corporation. I40E Poll Mode Driver -====================== +===================== The i40e PMD (**librte_net_i40e**) provides poll mode driver support for 10/25/40 Gbps Intel® Ethernet 700 Series Network Adapters based on
@@ -447,7 +447,7 @@ Check the flow director status: Floating VEB -~~~~~~~~~~~~~ +~~~~~~~~~~~~ The Intel® Ethernet 700 Series support a feature called "Floating VEB".
@@ -550,7 +550,7 @@ For example, to use only 48bit prefix for IPv6 src address for IPv6 TCP RSS: testpmd> port config 0 pctype 43 hash_inset set field 15 Queue region configuration -~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~ The Intel® Ethernet 700 Series supports a feature of queue regions configuration for RSS in the PF, so that different traffic classes or different packet classification types can be separated to different
@@ -572,7 +572,7 @@ APIs are used. testpmd> show port (port_id) queue-region Generic flow API -~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~ - ``RSS Flow``
doc/guides/nics/ice.rst +2 -2
@@ -2,7 +2,7 @@ Copyright(c) 2018 Intel Corporation. ICE Poll Mode Driver -====================== +==================== The ice PMD (**librte_net_ice**) provides poll mode driver support for 10/25/50/100/200 Gbps Intel® Ethernet 800 Series Network Adapters based on
@@ -399,7 +399,7 @@ report a MDD event and drop the packets. The APPs based on DPDK should avoid providing such packets. Device Config Function (DCF) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This section demonstrates ICE DCF PMD, which shares the core module with ICE PMD and iAVF PMD.
doc/guides/nics/igc.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2020 Intel Corporation. IGC Poll Mode Driver -====================== +==================== The IGC PMD (**librte_net_e1000**) provides poll mode driver support for Foxville I225 and I226 Series Network Adapters.
doc/guides/nics/memif.rst +1 -1
@@ -211,7 +211,7 @@ Only single file segments mode (EAL option --single-file-segments) is supported, offset from multiple segments is too expensive. Example: testpmd ----------------------------- +---------------- In this example we run two instances of testpmd application and transmit packets over memif. First create ``server`` interface::
doc/guides/nics/pfe.rst +1 -1
@@ -2,7 +2,7 @@ Copyright 2019 NXP PFE Poll Mode Driver -====================== +==================== The PFE NIC PMD (**librte_net_pfe**) provides poll mode driver support for the inbuilt NIC found in the **NXP LS1012** SoC.
doc/guides/nics/qede.rst +1 -1
@@ -3,7 +3,7 @@ Copyright(c) 2017 Cavium, Inc QEDE Poll Mode Driver -====================== +===================== The QEDE poll mode driver library (**librte_net_qede**) implements support for **QLogic FastLinQ QL4xxxx 10G/25G/40G/50G/100G Intelligent Ethernet Adapters (IEA) and Converged Network Adapters (CNA)** family of adapters as well as SR-IOV virtual functions (VF). It is supported on
doc/guides/platform/cnxk.rst +1 -1
@@ -143,7 +143,7 @@ The primary use case for SDP is to enable the smart NIC use case. Typical usage vice-versa. cnxk packet flow ----------------------- +---------------- The :numref:`figure_cnxk_packet_flow_hw_accelerators` diagram depicts the packet flow on cnxk SoC in conjunction with use of various HW accelerators.
doc/guides/platform/dpaa.rst +1 -1
@@ -9,7 +9,7 @@ based layerscape platform and information about common offload hw block drivers of **NXP QorIQ DPAA** SoC family. Supported DPAA SoCs --------------------- +------------------- * LS1046A/LS1026A * LS1043A/LS1023A
doc/guides/prog_guide/bbdev.rst +2 -2
@@ -740,7 +740,7 @@ TB-mode. CB-mode is a reduced version, where only one CB exists: Turbo decoding of Code Blocks in mbuf structure BBDEV LDPC Encode Operation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~ The operation flags that can be set for each LDPC encode operation are given below.
@@ -883,7 +883,7 @@ showing the Turbo encoding of CBs using BBDEV interface in TB-mode is also valid for LDPC encode. BBDEV LDPC Decode Operation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~ The operation flags that can be set for each LDPC decode operation are given below.
doc/guides/prog_guide/build-sdk-meson.rst +6 -6
@@ -5,7 +5,7 @@ Installing DPDK Using the meson build system ============================================ Summary --------- +------- For many platforms, compiling and installing DPDK should work using the following set of commands::
@@ -29,7 +29,7 @@ More detail on each of these steps can be got from the following sections. Getting the Tools ------------------- +----------------- The ``meson`` tool is used to configure a DPDK build. On most Linux distributions this can be got using the local package management system,
@@ -54,7 +54,7 @@ It is best advised to go over the following links for the complete dependencies: Configuring the Build ----------------------- +--------------------- To configure a build, run the meson tool, passing the path to the directory to be used for the build e.g. ``meson setup build``, as shown above. If calling
@@ -150,7 +150,7 @@ example:: Performing the Build ---------------------- +-------------------- Use ``ninja`` to perform the actual build inside the build folder previously configured. In most cases no arguments are necessary.
@@ -163,7 +163,7 @@ printing each command on a new line as it runs. Installing the Compiled Files ------------------------------- +----------------------------- Use ``meson install`` to install the required DPDK files onto the system. The install prefix defaults to ``/usr/local`` but can be used as with other
@@ -205,7 +205,7 @@ and other build tools to be used, as well as characteristics of the target machine. Using the DPDK within an Application -------------------------------------- +------------------------------------ To compile and link against DPDK within an application, pkg-config should be used to query the correct parameters. Examples of this are given in the
doc/guides/prog_guide/compressdev.rst +3 -3
@@ -291,7 +291,7 @@ enough to store digest, which is 20 bytes for SHA-1 and 32 bytes for SHA2-256. Compression API Stateless operation ------------------------------------- +----------------------------------- An op is processed stateless if it has - op_type set to RTE_COMP_OP_STATELESS
@@ -305,7 +305,7 @@ complete. The application can enqueue multiple stateless ops in a single burst and must attach priv_xform handle to such ops. priv_xform in Stateless operation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A priv_xform is private data managed internally by the PMD to do stateless processing. A priv_xform is initialized by an application providing a generic xform structure
@@ -427,7 +427,7 @@ processed i.e. dequeued with status = RTE_COMP_OP_STATUS_SUCCESS. .. _compressdev_stateful_op: Compression API Stateful operation ------------------------------------ +---------------------------------- The compression API provides RTE_COMP_FF_STATEFUL_COMPRESSION and RTE_COMP_FF_STATEFUL_DECOMPRESSION feature flag for the PMD to reflect
doc/guides/prog_guide/cryptodev_lib.rst +1 -1
@@ -158,7 +158,7 @@ packet processing pipeline. Device Features and Capabilities ---------------------------------- +-------------------------------- Crypto devices define their functionality through two mechanisms, global device features and algorithm capabilities. Global devices features identify device
doc/guides/prog_guide/devargs.rst +1 -1
@@ -217,7 +217,7 @@ See :doc:`device_hotplug` for detailed information on runtime device management. Parsing Devargs in Drivers ---------------------------- +-------------------------- PMD drivers can parse devargs using the kvargs library:
doc/guides/prog_guide/efd_lib.rst +1 -1
@@ -417,7 +417,7 @@ is stored in these two bits. .. _Efd_references: References ------------ +---------- 1- EFD is based on collaborative research work between Intel and Carnegie Mellon University (CMU), interested readers can refer to the paper
doc/guides/prog_guide/env_abstraction_layer.rst +1 -1
@@ -212,7 +212,7 @@ variables: Normally, these options do not need to be changed. Runtime Override of Per-Page-Size Memory Limits -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ By default, DPDK uses compile-time configured limits for memory allocation per page size (as set by ``RTE_MAX_MEM_MB_PER_TYPE``).
doc/guides/prog_guide/ethdev/flow_offload.rst +7 -7
@@ -619,7 +619,7 @@ Matches tag item set by other flows. Multiple tags are supported by specifying +----------+-----------+---------------------------------------+ Item: ``META`` -^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^ Matches 32 bit metadata item set.
@@ -1314,7 +1314,7 @@ Matches a IP Authentication Header (RFC 4302). - Default ``mask`` matches spi. Item: ``HIGIG2`` -^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^ Matches a HIGIG2 header field. It is layer 2.5 protocol and used in Broadcom switches.
@@ -2464,7 +2464,7 @@ the original packet the resulting packet must be a valid packet. +----------------+----------------------------------------+ Action: ``RAW_DECAP`` -^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^ Remove outer header whose template is provided in its data buffer, as defined in the ``rte_flow_action_raw_decap``
@@ -2587,7 +2587,7 @@ This action modifies the payload of matched flow and the packet should be valid after removing. Action: ``SET_TP_SRC`` -^^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^^ This is a legacy action. Consider `Action: MODIFY_FIELD`_ as alternative. Set a new source port number in the outermost TCP/UDP header.
@@ -2606,7 +2606,7 @@ flow pattern item. Otherwise, RTE_FLOW_ERROR_TYPE_ACTION error will be returned. +---------------+--------------------+ Action: ``SET_TP_DST`` -^^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^^ This is a legacy action. Consider `Action: MODIFY_FIELD`_ as alternative. Set a new destination port number in the outermost TCP/UDP header.
@@ -2625,7 +2625,7 @@ flow pattern item. Otherwise, RTE_FLOW_ERROR_TYPE_ACTION error will be returned. +---------------+-------------------------+ Action: ``MAC_SWAP`` -^^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^ Swap the source and destination MAC addresses in the outermost Ethernet header.
@@ -2779,7 +2779,7 @@ application. Multiple tags are supported by specifying index. +-----------+----------------------------+ Action: ``SET_META`` -^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^ This is a legacy action. Consider `Action: MODIFY_FIELD`_ as alternative. Set metadata. Item ``META`` matches metadata.
doc/guides/prog_guide/ethdev/qos_framework.rst +1 -1
@@ -1567,7 +1567,7 @@ The source files for the DPDK dropper are located at: * DPDK/lib/sched/rte_red.c Integration with the DPDK QoS Scheduler -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RED functionality in the DPDK QoS scheduler is disabled by default. The parameter is found in the build configuration files in the DPDK/config directory.
doc/guides/prog_guide/eventdev/event_ethernet_rx_adapter.rst +1 -1
@@ -258,7 +258,7 @@ The ``rte_event_eth_rx_adapter_instance_get()`` function reports Rx adapter instance ID for a specified ethernet device ID and Rx queue index. Interrupt Based Rx Queues -~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~ The service core function is typically set up to poll ethernet Rx queues for packets. Certain queues may have low packet rates and it would be more
doc/guides/prog_guide/eventdev/event_ethernet_tx_adapter.rst +1 -1
@@ -134,7 +134,7 @@ This function calls the start callback of the eventdev PMD if supported, and the ``rte_service_run_state_set()`` to enable the service function if one exists. Enqueuing Packets to the Adapter -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The application needs to notify the adapter about the transmit port and queue used to send the packet. The transmit port is set in the ``struct rte_mbuf::port`` field
doc/guides/prog_guide/hash_lib.rst +3 -3
@@ -73,7 +73,7 @@ multi-process mode). Multi-thread support ---------------------- +-------------------- The hash library supports multithreading, and the user specifies the needed mode of operation at the creation time of the hash table by appropriately setting the flag. In all modes of operation lookups are thread-safe meaning lookups can be called from multiple
@@ -106,7 +106,7 @@ For concurrent writes, and concurrent reads and writes the following flag values Extendable Bucket Functionality support ----------------------------------------- +--------------------------------------- An extra flag is used to enable this functionality (flag is not set by default). When the (RTE_HASH_EXTRA_FLAGS_EXT_TABLE) is set and in the very unlikely case due to excessive hash collisions that a key has failed to be inserted, the hash table bucket is extended with a linked list to insert these failed keys. This feature is important for the workloads (e.g. telco workloads) that need to insert up to 100% of the
@@ -178,7 +178,7 @@ readers are not referencing the position anymore. User can configure integrated Implementation Details (with Extendable Bucket) -------------------------------------------------- +----------------------------------------------- When the RTE_HASH_EXTRA_FLAGS_EXT_TABLE flag is set, the hash table implementation still uses the same Cuckoo Hash algorithm to store the keys into the first and second tables. However, in the very unlikely event that a key can't be inserted after certain number of the Cuckoo displacements is reached, the secondary bucket of this key is extended
doc/guides/prog_guide/index.rst +1 -1
@@ -136,7 +136,7 @@ Utility Libraries Howto Guides -------------- +------------ .. toctree:: :maxdepth: 1
doc/guides/prog_guide/ipsec_lib.rst +2 -2
@@ -152,7 +152,7 @@ To accommodate future custom implementations function pointers model is used for both *crypto_prepare* and *process* implementations. SA database API ----------------- +--------------- SA database(SAD) is a table with <key, value> pairs.
@@ -322,7 +322,7 @@ Supported features Telemetry support ------------------- +----------------- Telemetry support implements SA details and IPsec packet add data counters statistics. Per SA telemetry statistics can be enabled using
doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst +1 -1
@@ -210,7 +210,7 @@ All settings are managed through the bonding port API and always are propagated in one direction (from bonding to members). Link Status Change Interrupts / Polling -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link bonding devices support the registration of a link status change callback, using the ``rte_eth_dev_callback_register`` API, this will be called when the
doc/guides/prog_guide/member_lib.rst +1 -1
@@ -379,7 +379,7 @@ implementation of vBF does not support deletion [1]_. An error code ``-EINVAL`` .. [1] Traditional bloom filter does not support proactive deletion. Supporting proactive deletion require additional implementation and performance overhead. References ------------ +---------- [Member-bloom] B H Bloom, "Space/Time Trade-offs in Hash Coding with Allowable Errors," Communications of the ACM, 1970.
doc/guides/prog_guide/mempool_lib.rst +1 -1
@@ -117,7 +117,7 @@ In contrast to the default caches, user-owned caches can be used by unregistered .. _Mempool_Handlers: Mempool Handlers ------------------------- +---------------- This allows external memory subsystems, such as external hardware memory management systems and software based memory allocators, to be used with DPDK.
doc/guides/prog_guide/multi_proc_support.rst +1 -1
@@ -324,7 +324,7 @@ pointer. The resulting response will then be delivered to the correct requestor. to do so will cause the requestor to time out while waiting on a response. Misc considerations -~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~ Due to the underlying IPC implementation being single-threaded, recursive requests (i.e. sending a request while responding to another request) is not
doc/guides/prog_guide/packet_classif_access_ctrl.rst +1 -1
@@ -360,7 +360,7 @@ For example: } Custom Memory Hooks -~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~ The ACL library supports custom memory allocation for runtime structures.
doc/guides/prog_guide/regexdev.rst +1 -1
@@ -147,7 +147,7 @@ require global locks and hinder performance. Device Features and Capabilities ---------------------------------- +-------------------------------- RegEx devices may support different feature set. In order to get the supported PMD feature ``rte_regexdev_info_get``
doc/guides/prog_guide/reorder_lib.rst +4 -4
@@ -2,13 +2,13 @@ Copyright(c) 2015 Intel Corporation. Reorder Library -================= +=============== The Reorder Library provides a mechanism for reordering mbufs based on their sequence number. Operation ----------- +--------- The reorder library is essentially a buffer that reorders mbufs. The user inserts out of order mbufs into the reorder buffer and pulls in-order
@@ -34,7 +34,7 @@ mbufs. Implementation Details -------------------------- +---------------------- The reorder library is implemented as a pair of buffers, which referred to as the *Order* buffer and the *Ready* buffer.
@@ -67,7 +67,7 @@ buffer first and then from the Order buffer until a gap is found (mbufs that have not arrived yet). Use Case: Packet Distributor -------------------------------- +---------------------------- An application using the DPDK packet distributor could make use of the reorder library to transmit packets in the same order they were received.
doc/guides/prog_guide/rte_security.rst +1 -1
@@ -475,7 +475,7 @@ Supported Versions * DTLS 1.2 Device Features and Capabilities ---------------------------------- +-------------------------------- Device Capabilities For Security Operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/prog_guide/stack_lib.rst +1 -1
@@ -40,7 +40,7 @@ spinlock. .. _Stack_Library_LF_Stack: Lock-free Stack ------------------- +--------------- The lock-free stack consists of a linked list of elements, each containing a data pointer and a next pointer, and an atomic stack depth counter. The
doc/guides/prog_guide/toeplitz_hash_lib.rst +1 -1
@@ -186,7 +186,7 @@ same as in ``desired_hash``. Adjust tuple API -~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~ The ``rte_thash_get_complement()`` function is a user-friendly wrapper around a number of other functions. It alters a passed tuple to meet the above
doc/guides/rawdevs/ifpga.rst +2 -2
@@ -2,7 +2,7 @@ Copyright(c) 2018-2022 Intel Corporation. IFPGA Rawdev Driver -====================== +=================== FPGA is used more and more widely in Cloud and NFV, one primary reason is that FPGA not only provides ASIC performance but also it's more flexible
@@ -203,7 +203,7 @@ Each AFU device has specific configuration data, they are defined in ``rte_pmd_a Open FPGA Stack -===================== +=============== Open FPGA Stack (OFS) is a collection of RTL and open source software providing interfaces to access the instantiated RTL easily in an FPGA. OFS leverages the
doc/guides/regexdevs/cn9k.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2020 Marvell International Ltd. CN9K REE Regexdev Driver -============================== +======================== The CN9K REE PMD (**librte_regex_cn9k**) provides poll mode regexdev driver support for the inbuilt regex device found in the **Marvell CN9K**
doc/guides/sample_app_ug/dma.rst +1 -1
@@ -304,7 +304,7 @@ if it was enabled. After that, copies are sent in burst mode using ``rte_eth_tx_ :dedent: 0 The Packet Copying Functions -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In order to perform SW packet copy, there are user-defined functions to the first copy the packet metadata (``pktmbuf_metadata_copy()``) and then the packet data
doc/guides/sample_app_ug/flow_filtering.rst +1 -1
@@ -172,7 +172,7 @@ This action closes the port and device using ``rte_eth_dev_stop`` and ``rte_eth_ Flow API Snippets ------------------- +----------------- The ``snippets`` directory offers additional customization options through code snippets. These snippets cover various aspects of flow configuration, allowing developers to reuse them.
doc/guides/sample_app_ug/ip_reassembly.rst +1 -1
@@ -156,7 +156,7 @@ each Rx queue uses its own mempool. :dedent: 1 Packet Reassembly and Forwarding -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For each input packet, the packet forwarding operation is done by the l3fwd_simple_forward() function. If the packet is an IPv4 or IPv6 fragment, then it calls ``rte_ipv4_reassemble_packet()`` for IPv4 packets,
doc/guides/sample_app_ug/packet_ordering.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2015 Intel Corporation. Packet Ordering Application -============================ +=========================== The Packet Ordering sample app simply shows the impact of reordering a stream. It's meant to stress the library with different configurations for performance.
doc/guides/sample_app_ug/ptp_tap_relay_sw.rst +1 -1
@@ -96,7 +96,7 @@ Prerequisites * A PTP time transmitter reachable on the same L2 network. Start the relay -~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~ .. code-block:: console
doc/guides/sample_app_ug/vhost_blk.rst +2 -2
@@ -2,7 +2,7 @@ Copyright(c) 2010-2017 Intel Corporation. Vhost_blk Sample Application -============================= +============================ The vhost_blk sample application implemented a simple block device, which used as the backend of Qemu vhost-user-blk device. Users can extend
@@ -32,7 +32,7 @@ The application is located in the ``examples`` sub-directory. You will also need to build DPDK both on the host and inside the guest Start the vhost_blk example -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: console
doc/guides/sample_app_ug/vmdq_forwarding.rst +1 -1
@@ -2,7 +2,7 @@ Copyright(c) 2020 Intel Corporation. VMDq Forwarding Sample Application -========================================== +================================== The VMDq Forwarding sample application is a simple example of packet processing using the DPDK. The application performs L2 forwarding using VMDq to divide the incoming traffic into queues.
doc/guides/testpmd_app_ug/testpmd_funcs.rst +6 -6
@@ -1866,7 +1866,7 @@ To have a different decapsulation header, one of those commands must be called before the flow rule creation. Config Raw Encapsulation -~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~ Configure the raw data to be used when encapsulating a packet by rte_flow_action_raw_encap::
@@ -2158,7 +2158,7 @@ Switch on/off deferred start of a specific port queue:: testpmd> port (port_id) (rxq|txq) (queue_id) deferred_start (on|off) port setup queue -~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~ Setup a rx/tx queue on a specific port::
@@ -2952,7 +2952,7 @@ Suspend port traffic management hierarchy node testpmd> suspend port tm node (port_id) (node_id) Resume port traffic management hierarchy node -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testpmd> resume port tm node (port_id) (node_id)
@@ -4961,7 +4961,7 @@ Query indirect action having id 100:: testpmd> flow indirect_action 0 query 100 Enqueueing query of indirect actions -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``flow queue indirect_action query`` adds query operation for an indirect action to a queue. It is bound to ``rte_flow_async_action_handle_query()``::
@@ -5359,7 +5359,7 @@ ESP rules can be created by the following commands:: actions queue index 3 / end Sample AH rules -~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~ AH rules can be created by the following commands::
@@ -5567,7 +5567,7 @@ Match with comparison rule can be created as following using ``compare``. actions count / drop / end BPF Functions --------------- +------------- The following sections show functions to load/unload eBPF based filters.
doc/guides/tools/testbbdev.rst +2 -2
@@ -571,7 +571,7 @@ Following statuses can be used: OK LDPC decoder test vectors template -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For LDPC decoder it has to be always set to ``RTE_BBDEV_OP_LDPC_DEC``
@@ -695,7 +695,7 @@ Following statuses can be used: LDPC encoder test vectors template -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For turbo encoder it has to be always set to ``RTE_BBDEV_OP_LDPC_ENC``
doc/guides/tools/testeventdev.rst +2 -2
@@ -691,7 +691,7 @@ Example command to run perf queue test with event DMA adapter: --prod_type_dmadev --dma_adptr_mode=1 PERF_ATQ Test -~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~ This is a performance test case that aims at testing the following with ``all types queue`` eventdev scheme.
@@ -922,7 +922,7 @@ Example command to run pipeline atq test with vector events: --enable_vector --vector_size 512 PIPELINE_ATQ Test -~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~ This is a pipeline test case that aims at testing the following with ``all types queue`` eventdev scheme.
Signature · 1 line
2.54.0
PATCH v3 2/8 doc: remove unused labels from guides
In reply to Thomas MonjalonFrom: David Marchand <[email protected]>
The documentation has unused anchors that were either left behind after a documentation refactoring, or just unused since day 1.
The guidelines no longer mandate labels for all figures and tables.
--- doc/guides/bbdevs/overview.rst | 2 - doc/guides/bbdevs/turbo_sw.rst | 2 - doc/guides/compressdevs/isal.rst | 2 - doc/guides/compressdevs/overview.rst | 2 - doc/guides/compressdevs/uadk.rst | 2 - doc/guides/contributing/abi_policy.rst | 4 - doc/guides/contributing/cheatsheet.rst | 2 - doc/guides/contributing/documentation.rst | 30 +-- doc/guides/contributing/patches.rst | 2 - doc/guides/cryptodevs/aesni_gcm.rst | 2 - doc/guides/cryptodevs/aesni_mb.rst | 2 - doc/guides/cryptodevs/cnxk.rst | 2 - doc/guides/cryptodevs/overview.rst | 12 -- doc/guides/cryptodevs/qat.rst | 5 - doc/guides/cryptodevs/snow3g.rst | 2 - doc/guides/cryptodevs/uadk.rst | 2 - doc/guides/cryptodevs/zuc.rst | 2 - doc/guides/eventdevs/cnxk.rst | 2 - doc/guides/eventdevs/overview.rst | 14 -- doc/guides/howto/flow_bifurcation.rst | 2 - doc/guides/howto/lm_bond_virtio_sriov.rst | 2 - doc/guides/howto/lm_virtio_vhost_user.rst | 2 - doc/guides/howto/pvp_reference_benchmark.rst | 2 - doc/guides/howto/vfd.rst | 2 - .../howto/virtio_user_as_exception_path.rst | 2 - .../virtio_user_for_container_networking.rst | 2 - doc/guides/linux_gsg/build_dpdk.rst | 2 - doc/guides/mempool/cnxk.rst | 2 - doc/guides/mldevs/cnxk.rst | 6 - doc/guides/nics/bnx2x.rst | 2 - doc/guides/nics/cnxk.rst | 2 - doc/guides/nics/enic.rst | 6 - doc/guides/nics/ice.rst | 2 - doc/guides/nics/mvpp2.rst | 2 - doc/guides/nics/overview.rst | 2 - doc/guides/nics/qede.rst | 4 - doc/guides/nics/rnp.rst | 2 - doc/guides/nics/virtio.rst | 2 - doc/guides/nics/vmxnet3.rst | 6 - doc/guides/platform/cnxk.rst | 2 - doc/guides/platform/dpaa2.rst | 2 - doc/guides/prog_guide/dmadev.rst | 2 - doc/guides/prog_guide/efd_lib.rst | 5 - .../prog_guide/env_abstraction_layer.rst | 4 - doc/guides/prog_guide/ethdev/flow_offload.rst | 190 ------------------ .../prog_guide/ethdev/qos_framework.rst | 21 -- .../eventdev/event_crypto_adapter.rst | 4 - .../prog_guide/eventdev/event_dma_adapter.rst | 4 - doc/guides/prog_guide/eventdev/eventdev.rst | 2 - doc/guides/prog_guide/graph_lib.rst | 6 - doc/guides/prog_guide/hash_lib.rst | 4 - doc/guides/prog_guide/member_lib.rst | 8 - doc/guides/prog_guide/mempool_lib.rst | 3 - doc/guides/prog_guide/mldev.rst | 2 - doc/guides/prog_guide/multi_proc_support.rst | 2 - doc/guides/prog_guide/overview.rst | 2 - doc/guides/prog_guide/packet_framework.rst | 11 - doc/guides/prog_guide/pdcp_lib.rst | 2 - doc/guides/prog_guide/pdump_lib.rst | 2 - doc/guides/prog_guide/ring_lib.rst | 43 ---- doc/guides/prog_guide/trace_lib.rst | 8 - doc/guides/regexdevs/cn9k.rst | 2 - doc/guides/regexdevs/features_overview.rst | 2 - doc/guides/rel_notes/release_20_02.rst | 2 - doc/guides/sample_app_ug/dist_app.rst | 2 - doc/guides/sample_app_ug/ip_pipeline.rst | 4 - .../sample_app_ug/l2_forward_crypto.rst | 2 - doc/guides/sample_app_ug/l2_forward_event.rst | 10 - .../sample_app_ug/l2_forward_real_virtual.rst | 2 - doc/guides/sample_app_ug/l3_forward.rst | 4 - doc/guides/sample_app_ug/l3_forward_graph.rst | 2 - doc/guides/sample_app_ug/multi_process.rst | 4 - doc/guides/sample_app_ug/ptpclient.rst | 2 - doc/guides/sample_app_ug/qos_metering.rst | 2 - doc/guides/sample_app_ug/qos_scheduler.rst | 4 - doc/guides/sample_app_ug/test_pipeline.rst | 2 - doc/guides/sample_app_ug/vdpa.rst | 2 - doc/guides/sample_app_ug/vhost.rst | 5 - doc/guides/sample_app_ug/vhost_blk.rst | 2 - doc/guides/sample_app_ug/vhost_crypto.rst | 2 - .../sample_app_ug/vm_power_management.rst | 5 - doc/guides/tools/dts.rst | 4 - doc/guides/tools/graph.rst | 4 - doc/guides/tools/pdump.rst | 2 - doc/guides/tools/testeventdev.rst | 28 --- doc/guides/tools/testmldev.rst | 12 -- doc/guides/vdpadevs/features_overview.rst | 2 - doc/guides/windows_gsg/index.rst | 2 - 88 files changed, 2 insertions(+), 590 deletions(-)
doc/guides/bbdevs/overview.rst +0 -2
@@ -7,6 +7,4 @@ Baseband Device Supported Functionality Matrices Supported Feature Flags ----------------------- -.. _table_bbdev_pmd_features: - .. include:: overview_feature_table.txt
doc/guides/bbdevs/turbo_sw.rst +0 -2
@@ -78,8 +78,6 @@ 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: - .. table:: DPDK and FlexRAN FEC SDK releases compliance ===================== ============================
doc/guides/compressdevs/isal.rst +0 -2
@@ -65,8 +65,6 @@ The ISA-L library does not support this, therefore compressdev level 0 is not su The compressdev API has 10 levels, 0-9. ISA-L has 4 levels of compression, 0-3. As a result the level mappings from the API to the PMD are shown below. -.. _table_ISA-L_compression_levels: - .. table:: Level mapping from Compressdev to ISA-L PMD. +-------------+----------------------------------------------+-----------------------------------------------+
doc/guides/compressdevs/overview.rst +0 -2
@@ -7,8 +7,6 @@ Compression Device Supported Functionality Matrices Supported Feature Flags ----------------------- -.. _table_compression_pmd_features: - .. include:: overview_feature_table.txt .. Note::
doc/guides/compressdevs/uadk.rst +0 -2
@@ -100,8 +100,6 @@ Test steps As a reference, the following table shows a mapping between the past DPDK versions and the UADK library version supported by them: -.. _table_uadk_compress_pmd_versions: - .. table:: DPDK and external UADK library version compatibility ============== ============================
doc/guides/contributing/abi_policy.rst +0 -4
@@ -53,8 +53,6 @@ Therefore, in the case of dynamic linking, it is critical that an ABI is preserved, or (when modified), done in such a way that the application is unable to behave improperly or in an unexpected fashion. -.. _figure_what_is_an_abi: - .. figure:: img/what_is_an_abi.* Illustration of DPDK API and ABI.
@@ -104,8 +102,6 @@ An ABI version is supported in all new releases until the next major ABI version is declared. When changing the major ABI version, the release notes will detail all ABI changes. -.. _figure_abi_stability_policy: - .. figure:: img/abi_stability_policy.* Mapping of new ABI versions and ABI version compatibility to DPDK
doc/guides/contributing/cheatsheet.rst +0 -2
@@ -4,8 +4,6 @@ Patch Cheatsheet ================ -.. _figure_patch_cheatsheet: - .. figure:: img/patch_cheatsheet.* Cheat sheet for submitting patches to [email protected]
doc/guides/contributing/documentation.rst +2 -28
@@ -133,8 +133,6 @@ added to by the developer. Building the Documentation -------------------------- -.. _doc_dependencies: - Dependencies ~~~~~~~~~~~~
@@ -524,6 +522,7 @@ Images This would be rendered as: *A mempool in memory with its associated ring.* + Tables ~~~~~~
@@ -531,32 +530,7 @@ Tables They are hard to format and to edit, and the same information can usually be shown just as clearly with a definition or bullet list. -* Tables in the documentation should be formatted as follows: - - * The table should be preceded by a label in the format ``.. _table_XXXX:`` with a leading underscore and where - ``XXXX`` is a unique descriptive name. - - * Tables should be included using the ``.. table::`` directive and must have a caption. - -* Here is an example of the previous two guidelines:: - - .. _table_qos_pipes: - - .. table:: Sample configuration for QOS pipes. - - +----------+----------+----------+ - | Header 1 | Header 2 | Header 3 | - | | | | - +==========+==========+==========+ - | Text | Text | Text | - +----------+----------+----------+ - | ... | ... | ... | - +----------+----------+----------+ - -* Tables can be linked to using the ``:numref:`` and ``:ref:`` directives, as shown in the previous section for images. - For example:: - - The QOS configuration is shown in :numref:`table_qos_pipes`. +* Tables should be included using the ``.. table::`` directive and must have a caption. .. _links:
doc/guides/contributing/patches.rst +0 -2
@@ -452,8 +452,6 @@ For example:: since 802.1AS can be supported through the same interfaces. -.. _contrib_checkpatch: - Checking the Patches --------------------
doc/guides/cryptodevs/aesni_gcm.rst +0 -2
@@ -70,8 +70,6 @@ Once it is downloaded, extract it and follow these steps: As a reference, the following table shows a mapping between the past DPDK versions and the external crypto libraries supported by them: -.. _table_aesni_gcm_versions: - .. table:: DPDK and external crypto library version compatibility ============= ================================
doc/guides/cryptodevs/aesni_mb.rst +0 -2
@@ -125,8 +125,6 @@ Once it is downloaded, extract it and follow these steps: As a reference, the following table shows a mapping between the past DPDK versions and the Multi-Buffer library version supported by them: -.. _table_aesni_mb_versions: - .. table:: DPDK and Multi-Buffer library version compatibility ============== ============================
doc/guides/cryptodevs/cnxk.rst +0 -2
@@ -214,8 +214,6 @@ Runtime Config Options Debugging Options ----------------- -.. _table_octeon_cnxk_crypto_debug_options: - .. table:: OCTEON cnxk crypto PMD debug options +---+------------+-------------------------------------------------------+
doc/guides/cryptodevs/overview.rst +0 -12
@@ -7,8 +7,6 @@ Crypto Device Supported Functionality Matrices Supported Feature Flags ----------------------- -.. _table_crypto_pmd_features: - .. include:: overview_feature_table.txt .. Note::
@@ -56,34 +54,24 @@ Supported Feature Flags Supported Cipher Algorithms --------------------------- -.. _table_crypto_pmd_cipher_algos: - .. include:: overview_cipher_table.txt Supported Authentication Algorithms ----------------------------------- -.. _table_crypto_pmd_auth_algos: - .. include:: overview_auth_table.txt Supported AEAD Algorithms ------------------------- -.. _table_crypto_pmd_aead_algos: - .. include:: overview_aead_table.txt Supported Asymmetric Algorithms ------------------------------- -.. _table_crypto_pmd_asym_algos: - .. include:: overview_asym_table.txt Supported Operating Systems --------------------------- -.. _table_crypto_pmd_os: - .. include:: overview_os_table.txt
doc/guides/cryptodevs/qat.rst +0 -5
@@ -227,8 +227,6 @@ Configuring and Building the DPDK QAT PMDs Further information on configuring, building and installing DPDK is described :doc:`here <../linux_gsg/build_dpdk>`. -.. _building_qat_config: - Build Configuration ~~~~~~~~~~~~~~~~~~~
@@ -444,9 +442,6 @@ Available kernel drivers Kernel drivers for each device for each service are listed in the following table. (Scroll right to see the full table) - -.. _table_qat_pmds_drivers: - .. table:: QAT device generations, devices and drivers +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
doc/guides/cryptodevs/snow3g.rst +0 -2
@@ -75,8 +75,6 @@ Once it is downloaded, extract it and follow these steps: As a reference, the following table shows a mapping between the past DPDK versions and the external crypto libraries supported by them: -.. _table_snow3g_versions: - .. table:: DPDK and external crypto library version compatibility ============= ================================
doc/guides/cryptodevs/uadk.rst +0 -2
@@ -114,8 +114,6 @@ Test steps As a reference, the following table shows a mapping between the past DPDK versions and the UADK library version supported by them: -.. _table_uadk_crypto_pmd_versions: - .. table:: DPDK and external UADK library version compatibility ============== ============================
doc/guides/cryptodevs/zuc.rst +0 -2
@@ -74,8 +74,6 @@ Once it is downloaded, extract it and follow these steps: As a reference, the following table shows a mapping between the past DPDK versions and the external crypto libraries supported by them: -.. _table_zuc_versions: - .. table:: DPDK and external crypto library version compatibility ============= ================================
doc/guides/eventdevs/cnxk.rst +0 -2
@@ -202,8 +202,6 @@ This feature can be selected by configuring meson with ``RTE_ARM_USE_WFE`` enabl Debugging Options ----------------- -.. _table_octeon_cnxk_event_debug_options: - .. table:: OCTEON cnxk event device debug options +---+------------+-------------------------------------------------------+
doc/guides/eventdevs/overview.rst +0 -14
@@ -7,49 +7,35 @@ Event Device Supported Functionality Matrices Event device supported features ------------------------------- -.. _table_eventdev_pmd_features: - .. include:: overview_feature_table.txt Ethernet Rx adapter supported features -------------------------------------- -.. _table_eventdev_rx_adapter_features: - .. include:: overview_rx_adptr_feature_table.txt Ethernet Tx adapter supported features -------------------------------------- -.. _table_eventdev_tx_adapter_features: - .. include:: overview_tx_adptr_feature_table.txt Crypto device adapter supported features ---------------------------------------- -.. _table_cryptodev_adapter_features: - .. include:: overview_crypto_adptr_feature_table.txt DMA adapter supported features ------------------------------ -.. _table_dma_adapter_features: - .. include:: overview_dma_adptr_feature_table.txt Timer adapter supported features -------------------------------- -.. _table_timer_adapter_features: - .. include:: overview_timer_adptr_feature_table.txt Event vector adapter supported features --------------------------------------- -.. _table_vector_adapter_features: - .. include:: overview_vector_adptr_feature_table.txt
doc/guides/howto/flow_bifurcation.rst +0 -2
@@ -36,8 +36,6 @@ the kernel driver while a DPDK application can receive specific traffic bypassing the Linux kernel by using drivers like VFIO or the DPDK ``igb_uio`` module. -.. _figure_flow_bifurcation_overview: - .. figure:: img/flow_bifurcation_overview.* Flow Bifurcation Overview
doc/guides/howto/lm_bond_virtio_sriov.rst +0 -2
@@ -40,8 +40,6 @@ The ip address of host_server_1 is 10.237.212.46 The ip address of host_server_2 is 10.237.212.131 -.. _figure_lm_bond_virtio_sriov: - .. figure:: img/lm_bond_virtio_sriov.* Live Migration steps
doc/guides/howto/lm_virtio_vhost_user.rst +0 -2
@@ -32,8 +32,6 @@ The ip address of host_server_1 is 10.237.212.46 The ip address of host_server_2 is 10.237.212.131 -.. _figure_lm_vhost_user: - .. figure:: img/lm_vhost_user.* Live Migration steps
doc/guides/howto/pvp_reference_benchmark.rst +0 -2
@@ -20,8 +20,6 @@ v16.11 using RHEL7 for both host and guest. Setup overview -------------- -.. _figure_pvp_2nics: - .. figure:: img/pvp_2nics.* PVP setup using 2 NICs
doc/guides/howto/vfd.rst +0 -2
@@ -33,8 +33,6 @@ application will configure the feature for the VF. Obviously, the PF application can also configure the VF features without a request from the VF application. -.. _VF_daemon_overview: - .. figure:: img/vf_daemon_overview.* VF daemon (VFd) Overview
doc/guides/howto/virtio_user_as_exception_path.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2016 Intel Corporation. -.. _virtio_user_as_exception_path: - Virtio_user as Exception Path =============================
doc/guides/howto/virtio_user_for_container_networking.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2016 Intel Corporation. -.. _virtio_user_for_container_networking: - Virtio_user for Container Networking ====================================
doc/guides/linux_gsg/build_dpdk.rst +0 -2
@@ -82,8 +82,6 @@ and the last step causing the dynamic loader `ld.so` to update its cache to take distributions, `/usr/local/lib` and `/usr/local/lib64` should be added to a file in `/etc/ld.so.conf.d/` before running `ldconfig`. -.. _adjusting_build_options: - Adjusting Build Options ~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/mempool/cnxk.rst +0 -2
@@ -84,8 +84,6 @@ Runtime Config Options Debugging Options ~~~~~~~~~~~~~~~~~ -.. _table_cnxk_mempool_debug_options: - .. table:: cnxk mempool debug options +---+------------+-------------------------------------------------------+
doc/guides/mldevs/cnxk.rst +0 -6
@@ -345,8 +345,6 @@ Runtime Config Options Debugging Options ----------------- -.. _table_octeon_cnxk_ml_debug_options: - .. table:: OCTEON cnxk ML PMD debug options +---+------------+-------------------------------------------------------+
@@ -363,8 +361,6 @@ Marvell cnxk ML PMD supports reporting the device and model extended statistics. PMD supports the below list of 4 device extended stats. -.. _table_octeon_cnxk_ml_device_xstats_names: - .. table:: OCTEON cnxk ML PMD device xstats names +---+---------------------+----------------------------------------------+
@@ -382,8 +378,6 @@ PMD supports the below list of 4 device extended stats. PMD supports the below list of 6 extended stats types per each model. -.. _table_octeon_cnxk_ml_model_xstats_names: - .. table:: OCTEON cnxk ML PMD model xstats names +---+---------------------+----------------------------------------------+
doc/guides/nics/bnx2x.rst +0 -2
@@ -99,8 +99,6 @@ enabling debugging options may affect system performance. Toggle display of register reads and writes. -.. _bnx2x_driver-compilation: - Driver compilation and testing ------------------------------
doc/guides/nics/cnxk.rst +0 -2
@@ -815,8 +815,6 @@ Port representor PMD supports following operations: Debugging Options ----------------- -.. _table_cnxk_ethdev_debug_options: - .. table:: cnxk ethdev debug options +---+------------+-------------------------------------------------------+
doc/guides/nics/enic.rst +0 -6
@@ -219,8 +219,6 @@ There are two known limitations of the current SR-IOV implementation. and assign them to VMs as passthrough devices. -.. _enic-generic-flow-api: - Generic Flow API support ------------------------
@@ -279,8 +277,6 @@ the (stripped) VLAN header whether stripping is enabled or disabled. More features may be added in future firmware and new versions of the VIC. Please refer to the release notes. -.. _overlay_offload: - Overlay Offload ---------------
@@ -429,8 +425,6 @@ To verify the selected entry size, enable debug logging PMD: rte_enic_pmd: Supported CQ entry sizes: 16 32 PMD: rte_enic_pmd: Using 16B CQ entry size -.. _enic_limitations: - Limitations -----------
doc/guides/nics/ice.rst +0 -2
@@ -892,8 +892,6 @@ Additional Options -a 18:01.0,cap=dcf,acl=off -.. _figure_ice_dcf: - .. figure:: img/ice_dcf.* DCF Communication flow.
doc/guides/nics/mvpp2.rst +0 -2
@@ -2,8 +2,6 @@ Copyright(c) 2017 Marvell International Ltd. Copyright(c) 2017 Semihalf. -.. _mvpp2_poll_mode_driver: - MVPP2 Poll Mode Driver ======================
doc/guides/nics/overview.rst +0 -2
@@ -26,8 +26,6 @@ More details about features can be found in :doc:`features`. .. rst-class:: widepage -.. _table_net_pmd_features: - .. include:: overview_table.txt .. Note::
doc/guides/nics/qede.rst +0 -4
@@ -155,8 +155,6 @@ actions. Patterns: -.. _table_qede_supported_flow_item_types: - .. table:: Item types +----+--------------------------------+
@@ -173,8 +171,6 @@ Patterns: Actions: -.. _table_qede_supported_ingress_action_types: - .. table:: Ingress action types +----+--------------------------------+
doc/guides/nics/rnp.rst +0 -2
@@ -32,8 +32,6 @@ Chip Basic Overview N10 has two functions, each function support multiple ports (1 to 8), which is different of normal PCIe network card (one PF for each port). -.. _figure_mucse_nic: - .. figure:: img/mucse_nic_port.* rnp Mucse NIC port.
doc/guides/nics/virtio.rst +0 -2
@@ -93,8 +93,6 @@ The following prerequisites apply: Virtio with qemu virtio Back End -------------------------------- -.. _figure_host_vm_comms_qemu: - .. figure:: img/host_vm_comms_qemu.* Host2VM Communication Example Using qemu vhost Back End
doc/guides/nics/vmxnet3.rst +0 -6
@@ -110,8 +110,6 @@ The following prerequisites apply: * Before starting a VM, a VMXNET3 interface to a VM through VMware vSphere Client must be assigned. This is shown in the figure below. -.. _figure_vmxnet3_int: - .. figure:: img/vmxnet3_int.* Assigning a VMXNET3 interface to a VM using VMware vSphere Client
@@ -135,8 +133,6 @@ VMXNET3 with a Native NIC Connected to a vSwitch This section describes an example setup for Phy-vSwitch-VM-Phy communication. -.. _figure_vswitch_vm: - .. figure:: img/vswitch_vm.* VMXNET3 with a Native NIC Connected to a vSwitch
@@ -162,8 +158,6 @@ VMXNET3 Chaining VMs Connected to a vSwitch The following figure shows an example VM-to-VM communication over a Phy-VM-vSwitch-VM-Phy communication channel. -.. _figure_vm_vm_comms: - .. figure:: img/vm_vm_comms.* VMXNET3 Chaining VMs Connected to a vSwitch
doc/guides/platform/cnxk.rst +0 -2
@@ -248,8 +248,6 @@ compatible board: Debugging Options ----------------- -.. _table_cnxk_common_debug_options: - .. table:: cnxk common debug options +---+------------+-------------------------------------------------------+
doc/guides/platform/dpaa2.rst +0 -2
@@ -94,8 +94,6 @@ separately: SDK and related information can be obtained from: `NXP QorIQ SDK <http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX>`_. -.. _extra_scripts: - - **DPDK Extra Scripts** DPAA2 based resources can be configured easily with the help of ready scripts
doc/guides/prog_guide/dmadev.rst +0 -2
@@ -17,8 +17,6 @@ physical (hardware) and virtual (software) DMA devices, as well as a generic DMA API which allows DMA devices to be managed and configured, and supports DMA operations to be provisioned on DMA poll mode driver. -.. _figure_dmadev: - .. figure:: img/dmadev.* The above figure shows the model on which the DMA framework is built on:
doc/guides/prog_guide/efd_lib.rst +0 -5
@@ -155,7 +155,6 @@ In summary, EFD is a set separation data structure that supports millions of keys. It is used to distribute a given key to an intended target. By itself EFD is not a FIB data structure with an exact match the input flow key. -.. _Efd_example: Example of EFD Library Usage ----------------------------
@@ -199,7 +198,6 @@ the flows served at each node is used and is exact matched with the input key to rule out new never seen before flows. -.. _Efd_api: Library API Overview --------------------
@@ -281,7 +279,6 @@ in the prev_value argument. This function is not multi-thread safe and should only be called from one thread. -.. _Efd_internals: Library Internals -----------------
@@ -414,8 +411,6 @@ balanced key distribution across these four is selected the mapping result is stored in these two bits. -.. _Efd_references: - References ----------
doc/guides/prog_guide/env_abstraction_layer.rst +0 -4
@@ -52,8 +52,6 @@ A check is also performed at initialization time to ensure that the micro archit Then, the main() function is called. The core initialization and launch is done in rte_eal_init() (see the API documentation). It consist of calls to the pthread library (more specifically, pthread_self(), pthread_create(), and pthread_setaffinity_np()). -.. _figure_linux_launch: - .. figure:: img/linuxapp_launch.* EAL Initialization in a Linux Application Environment
@@ -1058,8 +1056,6 @@ The key fields of the heap structure and their function are described below * last - this points to the last element in the heap. -.. _figure_malloc_heap: - .. figure:: img/malloc_heap.* Example of a malloc heap and malloc elements within the malloc library
doc/guides/prog_guide/ethdev/flow_offload.rst +0 -190
760 lines not on this page · raw message
doc/guides/prog_guide/ethdev/qos_framework.rst +0 -21
@@ -11,8 +11,6 @@ Packet Pipeline with QoS Support An example of a complex packet processing pipeline with QoS support is shown in the following figure. -.. _figure_pkt_proc_pipeline_qos: - .. figure:: ../img/pkt_proc_pipeline_qos.* Complex Packet Processing Pipeline with QoS Support
@@ -22,8 +20,6 @@ This pipeline can be built using reusable DPDK software libraries. The main blocks implementing QoS in this pipeline are: the policer, the dropper and the scheduler. A functional description of each block is provided in the following table. -.. _table_qos_1: - .. table:: Packet Processing Pipeline Implementing QoS +---+------------------------+--------------------------------------------------------------------------------+
@@ -73,8 +69,6 @@ A functional description of each block is provided in the following table. The infrastructure blocks used throughout the packet processing pipeline are listed in the following table. -.. _table_qos_2: - .. table:: Infrastructure Blocks Used by the Packet Processing Pipeline +---+-----------------------+-----------------------------------------------------------------------+
@@ -112,8 +106,6 @@ It typically acts like a buffer that is able to temporarily store a large number as the NIC TX is requesting more packets for transmission, these packets are later on removed and handed over to the NIC TX with the packet selection logic observing the predefined SLAs (dequeue operation). -.. _figure_hier_sched_blk: - .. figure:: ../img/hier_sched_blk.* Hierarchical Scheduler Block Internal Diagram
@@ -144,8 +136,6 @@ Each queue hosts packets from one or multiple connections of the same type belon The functionality of each hierarchical level is detailed in the following table. -.. _table_qos_3: - .. table:: Port Scheduling Hierarchy +---+--------------------+----------------------------+---------------------------------------------------------------+
@@ -269,15 +259,10 @@ Internal Data Structures per Port A schematic of the internal data structures in shown in with details in. -.. _figure_data_struct_per_port: - .. figure:: ../img/data_struct_per_port.* Internal Data Structures per Port - -.. _table_qos_4: - .. table:: Scheduler Internal Data Structures per Port +---+----------------------+-------------------------+---------------------+------------------------------+---------------------------------------------------+
@@ -452,8 +437,6 @@ The dequeue pipe state machine exploits the data presence into the processor cac therefore it tries to send as many packets from the same pipe TC and pipe as possible (up to the available packets and credits) before moving to the next active TC from the same pipe (if any) or to another active pipe. -.. _figure_pipe_prefetch_sm: - .. figure:: ../img/pipe_prefetch_sm.* Pipe Prefetch State Machine for the Hierarchical Scheduler Dequeue
@@ -557,8 +540,6 @@ As the greatest common divisor for all packet lengths is one byte, the unit of c The number of credits required for the transmission of a packet of n bytes is equal to (n+h), where h is equal to the number of framing overhead bytes per packet. -.. _table_qos_5: - .. table:: Ethernet Frame Overhead Fields +---+--------------------------------+----------------+---------------------------------------------------------------------------+
@@ -948,8 +929,6 @@ Solution Space summarizes some of the possible approaches for handling this problem, with the third approach selected for implementation. -.. _table_qos_13: - .. table:: Subport Traffic Class Oversubscription +-----+---------------------------+-------------------------------------------------------------------------+
doc/guides/prog_guide/eventdev/event_crypto_adapter.rst +0 -4
@@ -45,8 +45,6 @@ In this mode, events dequeued from the adapter will be treated as new events. The application needs to specify event information (response information) which is needed to enqueue an event after the crypto operation is completed. -.. _figure_event_crypto_adapter_op_new: - .. figure:: ../img/event_crypto_adapter_op_new.* Working model of ``RTE_EVENT_CRYPTO_ADAPTER_OP_NEW`` mode
@@ -72,8 +70,6 @@ to enqueue a crypto operation in addition to the event information (response information) needed to enqueue an event after the crypto operation has completed. -.. _figure_event_crypto_adapter_op_forward: - .. figure:: ../img/event_crypto_adapter_op_forward.* Working model of ``RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD`` mode
doc/guides/prog_guide/eventdev/event_dma_adapter.rst +0 -4
@@ -45,8 +45,6 @@ In this mode, events dequeued from the adapter are treated as new events. The application has to specify event information (response information) which is needed to enqueue an event after the DMA operation is completed. -.. _figure_event_dma_adapter_op_new: - .. figure:: ../img/event_dma_adapter_op_new.* Working model of ``RTE_EVENT_DMA_ADAPTER_OP_NEW`` mode
@@ -75,8 +73,6 @@ In this mode, events dequeued from the adapter will be treated as forwarded even Application has to specify event information (response information) needed to enqueue the event after the DMA operation has completed. -.. _figure_event_dma_adapter_op_forward: - .. figure:: ../img/event_dma_adapter_op_forward.* Working model of ``RTE_EVENT_DMA_ADAPTER_OP_FORWARD`` mode
doc/guides/prog_guide/eventdev/eventdev.rst +0 -2
@@ -167,8 +167,6 @@ illustration, refer to Eventdev Adapter documentation for further details. The diagram below shows the final state of the application after this walk-through: -.. _figure_eventdev-usage1: - .. figure:: ../img/eventdev_usage.* Sample eventdev usage, with RX, two atomic stages and a single-link to TX.
doc/guides/prog_guide/graph_lib.rst +0 -6
@@ -58,8 +58,6 @@ Programming model Anatomy of Node: ~~~~~~~~~~~~~~~~ -.. _figure_anatomy_of_a_node: - .. figure:: img/anatomy_of_a_node.* Anatomy of a node
@@ -146,7 +144,6 @@ Node creation and registration Link the Nodes to create the graph topology ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. _figure_link_the_nodes: .. figure:: img/link_the_nodes.*
@@ -387,7 +384,6 @@ Example of intermediate node implementation with home run: Graph object memory layout -------------------------- -.. _figure_graph_mem_layout: .. figure:: img/graph_mem_layout.*
@@ -931,8 +927,6 @@ Inbuilt Nodes DPDK provides a set of nodes for data processing. The following diagram depicts inbuilt nodes data flow. -.. _figure_graph_inbuit_node_flow: - .. figure:: img/graph_inbuilt_node_flow.* Inbuilt nodes data flow
doc/guides/prog_guide/hash_lib.rst +0 -4
@@ -207,8 +207,6 @@ are evicted to their secondary location. See the tables below showing example entry distribution as table utilization increases. -.. _table_hash_lib_1: - .. table:: Entry distribution measured with an example table with 1024 random entries using jhash algorithm +--------------+-----------------------+-------------------------+
@@ -231,8 +229,6 @@ See the tables below showing example entry distribution as table utilization inc | -.. _table_hash_lib_2: - .. table:: Entry distribution measured with an example table with 1 million random entries using jhash algorithm +--------------+-----------------------+-------------------------+
doc/guides/prog_guide/member_lib.rst +0 -8
@@ -39,7 +39,6 @@ reduce space requirement and significantly improve the performance of set membership queries at the cost of introducing a very small membership test error probability. -.. _figure_membership1: .. figure:: img/member_i1.* Example Usages of Membership Library
@@ -109,7 +108,6 @@ Y is a member of the set with certain false positive probability. As shown in the next equation, the false positive probability can be made arbitrarily small by changing the number of hash functions (``k``) and the vector length (``m``). -.. _figure_membership2: .. figure:: img/member_i2.* Bloom Filter False Positive Probability
@@ -121,7 +119,6 @@ small bit-vector, which can be easily optimized. Hence the lookup throughput (set membership test) can be significantly faster than a normal hash table lookup with element comparison. -.. _figure_membership3: .. figure:: img/member_i3.* Detecting Routing Loops Using BF
@@ -134,8 +131,6 @@ node will then check this embedded BF in the packet header for its own id, and if the BF indicates that the current node is definitely not in the set then a loop-free route is guaranteed. - -.. _figure_membership4: .. figure:: img/member_i4.* Vector Bloom Filter (vBF) Overview
@@ -149,7 +144,6 @@ them. The basic idea of vBF is shown in the above figure where an element is used to address multiple bloom filters concurrently and the bloom filter index(es) with a hit is returned. -.. _figure_membership5: .. figure:: img/member_i5.* vBF for Flow Scheduling to Worker Thread
@@ -184,7 +178,6 @@ requires testing a series of Bloom Filters each corresponding to one set. As a result, generally speaking vBF is more adequate for the case of a small limited number of sets while HTSS should be used with a larger number of sets. -.. _figure_membership6: .. figure:: img/member_i6.* Using HTSS for Attack Signature Matching
@@ -237,7 +230,6 @@ set-summary. It is worth noting that the set-summary still has false positive probability, which means the application either can tolerate certain false positive or it has fall-back path when false positive happens. -.. _figure_membership7: .. figure:: img/member_i7.* Using HTSS with False Negatives for Wild Card Classification
doc/guides/prog_guide/mempool_lib.rst +0 -3
@@ -78,9 +78,6 @@ When creating a new pool, the user can specify to use this feature or not. As a result, the load is distributed evenly in all cases, including the above described, rendering this feature unnecessary. - -.. _mempool_local_cache: - Local Cache -----------
doc/guides/prog_guide/mldev.rst +0 -2
@@ -12,8 +12,6 @@ The ML model creation and training is outside of the scope of this library. The ML framework is built on the following model: -.. _figure_mldev_work_flow: - .. figure:: img/mldev_flow.* Work flow of inference on MLDEV
doc/guides/prog_guide/multi_proc_support.rst +0 -2
@@ -70,8 +70,6 @@ and point to the same objects, in both processes. ``--single-file-segments`` switch, secondary processes must be run with the same switch specified. Otherwise, memory corruption may occur. -.. _figure_multi_process_memory: - .. figure:: img/multi_process_memory.* Memory Sharing in the DPDK Multi-process Sample Application
doc/guides/prog_guide/overview.rst +0 -2
@@ -86,8 +86,6 @@ Core Components The *core components* are a set of libraries that provide all the elements needed for high-performance packet processing applications. -.. _figure_architecture-overview: - .. figure:: img/architecture-overview.* Core Components Architecture
doc/guides/prog_guide/packet_framework.rst +0 -11
@@ -108,8 +108,6 @@ Each input/output port is required to implement an abstract interface that defines the initialization and run-time operation of the port. The port abstract interface is described in. -.. _table_qos_20: - .. table:: 20 Port Abstract Interface +---+----------------+-----------------------------------------------------------------------------------------+
@@ -426,8 +424,6 @@ The possible options are: the search continues beyond the first group of 4 keys, potentially until all keys in this bucket are examined. The extendable bucket logic requires maintaining specific data structures per table and per each bucket. -.. _table_qos_23: - .. table:: Configuration Parameters Specific to Extendable Bucket Hash Table +---+---------------------------+--------------------------------------------------+
@@ -455,8 +451,6 @@ The possible options for key signature computation are: The same CPU core reads the key from the packet meta-data, uses it to compute the key signature and also performs the bucket search step of the key lookup operation. -.. _table_qos_24: - .. table:: Configuration Parameters Specific to Pre-computed Key Signature Hash Table +---+------------------+-----------------------------------------------------------------------+
@@ -885,16 +879,11 @@ and detail the bucket search pipeline used to implement 8-byte and 16-byte key h either with pre-computed signature or "do-sig"). For each pipeline stage, the described operations are applied to each of the two packets handled by that stage. -.. _figure_figure39: - .. figure:: img/figure39.* Bucket Search Pipeline for Key Lookup Operation (Single Key Size Hash Tables) - -.. _table_qos_32: - .. table:: Description of the Bucket Search Pipeline Stages (8-byte and 16-byte Key Hash Tables) +---+---------------------------+-----------------------------------------------------------------------------+
doc/guides/prog_guide/pdcp_lib.rst +0 -2
@@ -21,8 +21,6 @@ PDCP would involve the following operations: #. Uplink data compression #. Ciphering and integrity protection -.. _figure_pdcp_functional_overview: - .. figure:: img/pdcp_functional_overview.* PDCP functional overview
doc/guides/prog_guide/pdump_lib.rst +0 -2
@@ -18,8 +18,6 @@ to facilitate communication between the primary and secondary processes. This mechanism allows enabling or disabling packet capture on specific ports or queues. -.. _figure_pdump_overview: - .. figure:: img/pdump_overview.* Packet Capture enable and disable sequence
doc/guides/prog_guide/ring_lib.rst +0 -43
133 lines not on this page · raw message
doc/guides/prog_guide/trace_lib.rst +0 -8
@@ -287,8 +287,6 @@ on the first trace emission. Trace memory layout ~~~~~~~~~~~~~~~~~~~ -.. _table_trace_mem_layout: - .. table:: Trace memory layout. +-------------------+
@@ -312,8 +310,6 @@ Trace memory layout packet.header ^^^^^^^^^^^^^ -.. _table_packet_header: - .. table:: Packet header layout. +-------------------+
@@ -325,8 +321,6 @@ packet.header packet.context ^^^^^^^^^^^^^^ -.. _table_packet_context: - .. table:: Packet context layout. +----------------------+
@@ -338,8 +332,6 @@ packet.context trace.header ^^^^^^^^^^^^ -.. _table_trace_header: - .. table:: Trace header layout. +----------------------+
doc/guides/regexdevs/cn9k.rst +0 -2
@@ -38,8 +38,6 @@ those devices alone. Debugging Options ----------------- -.. _table_cn9k_regex_debug_options: - .. table:: CN9K regex device debug options +---+------------+-------------------------------------------------------+
doc/guides/regexdevs/features_overview.rst +0 -2
@@ -90,8 +90,6 @@ References Features Table ============== -.. _table_regex_pmd_features: - .. include:: overview_feature_table.txt .. Note::
doc/guides/rel_notes/release_20_02.rst +0 -2
@@ -230,8 +230,6 @@ API Changes * No change in this release. -.. _20_02_abi_changes: - ABI Changes -----------
doc/guides/sample_app_ug/dist_app.rst +0 -2
@@ -22,8 +22,6 @@ into each other. This application can be used to benchmark performance using the traffic generator as shown in the figure below. -.. _figure_dist_perf: - .. figure:: img/dist_perf.* Performance Benchmarking Setup (Basic Environment)
doc/guides/sample_app_ug/ip_pipeline.rst +0 -4
@@ -117,8 +117,6 @@ During this stage, EAL layer is initialised and application specific arguments a (i.e. linked lists) for application objects are initialized. In case of any initialization error, an error message is displayed and the application is terminated. -.. _ip_pipeline_runtime: - Run-time ~~~~~~~~
@@ -136,8 +134,6 @@ executes two tasks in time-sharing mode: Examples -------- -.. _table_examples: - .. tabularcolumns:: |p{3cm}|p{5cm}|p{4cm}|p{4cm}| .. table:: Pipeline examples provided with the application
doc/guides/sample_app_ug/l2_forward_crypto.rst +0 -2
@@ -193,8 +193,6 @@ on a packet received on an RX PORT before forwarding it to a TX PORT. The following figure illustrates a sample flow of a packet in the application, from reception until transmission. -.. _figure_l2_fwd_encrypt_flow: - .. figure:: img/l2_fwd_encrypt_flow.* Encryption flow through the L2 Forwarding with Crypto Application
doc/guides/sample_app_ug/l2_forward_event.rst +0 -10
@@ -123,8 +123,6 @@ Explanation The following sections provide an explanation of the code. -.. _l2_fwd_event_app_cmd_arguments: - Command Line Arguments ~~~~~~~~~~~~~~~~~~~~~~
@@ -175,8 +173,6 @@ and mbuf initializers, respectively ``rte_pktmbuf_pool_init()`` and ``rte_pktmbu An advanced application may want to use the mempool API to create the mbuf pool with more control. -.. _l2_fwd_event_app_drv_init: - Driver Initialization ~~~~~~~~~~~~~~~~~~~~~
@@ -230,8 +226,6 @@ structure called struct lcore_queue_conf. The values n_rx_port and rx_port_list[] are used in the main packet processing loop (see :ref:`l2_fwd_event_app_rx_tx_packets`). -.. _l2_fwd_event_app_tx_init: - TX Queue Initialization ~~~~~~~~~~~~~~~~~~~~~~~
@@ -252,8 +246,6 @@ To configure eventdev support, the application sets up following components: * Rx/Tx adapters * Ethernet ports -.. _l2_fwd_event_app_event_dev_init: - Event device Initialization ~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -294,8 +286,6 @@ Ethernet ports. In case of S/W scheduler, an extra event queue is created which will be used for Tx adapter service function for enqueue operation. -.. _l2_fwd_app_event_port_init: - Event port Initialization ~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/sample_app_ug/l2_forward_real_virtual.rst +0 -2
@@ -54,8 +54,6 @@ when MAC addresses updating is disabled. The L2 Forwarding application can also be used as a starting point for developing a new application based on the DPDK. -.. _l2_fwd_vf_setup: - Virtual Function Setup Instructions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/sample_app_ug/l3_forward.rst +0 -4
@@ -239,8 +239,6 @@ setup: Refer to the *DPDK Getting Started Guide* for general information on running applications and the Environment Abstraction Layer (EAL) options. -.. _l3_fwd_explanation: - Explanation -----------
@@ -288,8 +286,6 @@ R<destination_ip><source_ip><destination_port><source_port><protocol><output_por * A typical IPv4 ACL rule line should have a format as shown below: -.. _figure_ipv4_acl_rule: - .. figure:: img/ipv4_acl_rule.* A typical IPv4 ACL rule
doc/guides/sample_app_ug/l3_forward_graph.rst +0 -2
@@ -145,8 +145,6 @@ In this command: Refer to the *DPDK Getting Started Guide* for general information on running applications and the Environment Abstraction Layer (EAL) options. -.. _l3_fwd_graph_explanation: - Explanation -----------
doc/guides/sample_app_ug/multi_process.rst +0 -4
@@ -127,8 +127,6 @@ The symmetric multi process example demonstrates how a set of processes can run with each process performing the same set of packet- processing operations. The following diagram shows the data-flow through the application, using two processes. -.. _figure_sym_multi_proc_app: - .. figure:: img/sym_multi_proc_app.* Example Data Flow in a Symmetric Multi-process Application
@@ -208,8 +206,6 @@ by sending each packet out on a different network port. The following diagram shows the data-flow through the application, using two client processes. -.. _figure_client_svr_sym_multi_proc_app: - .. figure:: img/client_svr_sym_multi_proc_app.* Example Data Flow in a Client-Server Symmetric Multi-process Application
doc/guides/sample_app_ug/ptpclient.rst +0 -2
@@ -30,8 +30,6 @@ In order to keep the application simple the following assumptions are made: How the Application Works ------------------------- -.. _figure_ptpclient_highlevel: - .. figure:: img/ptpclient.* PTP Synchronization Protocol
doc/guides/sample_app_ug/qos_metering.rst +0 -2
@@ -79,8 +79,6 @@ The traffic meter parameters are configured in the application source code with Assuming the input traffic is generated at line rate and all packets are 64 bytes Ethernet frames (IPv4 packet size of 46 bytes) and green, the expected output traffic should be marked as shown in the following table: -.. _table_qos_metering_1: - .. table:: Output Traffic Marking +-------------+------------------+-------------------+----------------+
doc/guides/sample_app_ug/qos_scheduler.rst +0 -4
@@ -11,8 +11,6 @@ Overview The architecture of the QoS scheduler application is shown in the following figure. -.. _figure_qos_sched_app_arch: - .. figure:: img/qos_sched_app_arch.* QoS Scheduler Application Architecture
@@ -213,8 +211,6 @@ The Port/Subport/Pipe/Traffic Class/Queue are the hierarchical entities in a typ The traffic flows that need to be configured are application dependent. This application classifies based on the QinQ double VLAN tags and the IP destination address as indicated in the following table. -.. _table_qos_scheduler_1: - .. table:: Entity Types +----------------+-------------------------+--------------------------------------------------+----------------------------------+
doc/guides/sample_app_ug/test_pipeline.rst +0 -2
@@ -22,8 +22,6 @@ The application uses three CPU cores: * Core C ("TX core") receives traffic from core B through software queues and sends it to the NIC ports for transmission. -.. _figure_test_pipeline_app: - .. figure:: img/test_pipeline_app.* Test Pipeline Application
doc/guides/sample_app_ug/vdpa.rst +0 -2
@@ -78,8 +78,6 @@ Then we can create 2 vdpa ports in interactive cmdline. vdpa> create /tmp/vdpa-socket0 0000:06:00.3 vdpa> create /tmp/vdpa-socket1 0000:06:00.4 -.. _vdpa_app_run_vm: - Start the VMs ~~~~~~~~~~~~~
doc/guides/sample_app_ug/vhost.rst +0 -5
@@ -67,8 +67,6 @@ Start the vswitch example Check the `Parameters`_ section for the explanations on what do those parameters mean. -.. _vhost_app_run_dpdk_inside_guest: - Run testpmd inside guest ~~~~~~~~~~~~~~~~~~~~~~~~
@@ -101,9 +99,6 @@ log from the dpdk-vhost console. It means you get it work:: VHOST_DATA: (0) mac 52:54:00:00:00:14 and vlan 1000 registered - -.. _vhost_app_parameters: - Parameters ----------
doc/guides/sample_app_ug/vhost_blk.rst +0 -2
@@ -38,8 +38,6 @@ Start the vhost_blk example ./dpdk-vhost_blk -m 1024 -.. _vhost_blk_app_run_vm: - Start the VM ~~~~~~~~~~~~
doc/guides/sample_app_ug/vhost_crypto.rst +0 -2
@@ -65,8 +65,6 @@ the specified crypto operation are available on application initialization. This means that HW crypto device/s must be bound to a DPDK driver or a SW crypto device/s (virtual crypto PMD) must be created (using --vdev). -.. _vhost_crypto_app_run_vm: - Start the VM ~~~~~~~~~~~~
doc/guides/sample_app_ug/vm_power_management.rst +0 -5
@@ -54,8 +54,6 @@ directs frequency changes and policies to the host monitor rather than the APCI ``cpufreq`` ``sysfs`` interface used on the host in non-virtualised environments. -.. _figure_vm_power_mgr_highlevel: - .. figure:: img/vm_power_mgr_highlevel.* Highlevel Solution
@@ -108,9 +106,6 @@ determined automatically at runtime based on the environment. On receiving a request, the host translates the vCPU to a pCPU using the libvirt API before forwarding it to the host ``librte_power``. - -.. _figure_vm_power_mgr_vm_request_seq: - .. figure:: img/vm_power_mgr_vm_request_seq.* In addition to the ability to send power management requests to the
doc/guides/tools/dts.rst +0 -4
@@ -580,8 +580,6 @@ The output is generated in ``build/doc/api/dts/html``. Make sure to fix any Sphinx warnings when adding or updating docstrings. -.. _configuration_example: - Configuration Example ---------------------
@@ -623,8 +621,6 @@ to demonstrate custom test suite configuration: You do not need to supply configurations for all test suites, and not all test suites will support or need additional configuration. -.. _tests_config_example: - ``dts/configurations/tests_config.example.yaml`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/tools/graph.rst +0 -4
@@ -365,13 +365,9 @@ This section mentions the created graph for each use case. l3fwd ~~~~~ -.. _figure_l3fwd_graph: - .. figure:: img/graph-usecase-l3fwd.* l2fwd ~~~~~ -.. _figure_l2fwd_graph: - .. figure:: img/graph-usecase-l2fwd.*
doc/guides/tools/pdump.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2016 Intel Corporation. -.. _pdump_tool: - dpdk-pdump Application ======================
doc/guides/tools/testeventdev.rst +0 -28
@@ -260,8 +260,6 @@ This is a functional test case that aims at testing the following: #. Verify the ingress order maintenance. #. Verify the exclusive(atomic) access to given atomic flow per eventdev port. -.. _table_eventdev_order_queue_test: - .. table:: Order queue test eventdev configuration. +---+--------------+----------------+------------------------+
@@ -282,8 +280,6 @@ This is a functional test case that aims at testing the following: | | | | port n | +---+--------------+----------------+------------------------+ -.. _figure_eventdev_order_queue_test: - .. figure:: img/eventdev_order_queue_test.* order queue test operation.
@@ -343,8 +339,6 @@ but differs in two critical ways: #. Atomicity is verified using spinlocks for each combination of flow id and queue id. -.. _table_eventdev_atomic_queue_test: - .. table:: Atomic queue test eventdev configuration. +---+--------------+----------------+---------------------------+
@@ -365,8 +359,6 @@ but differs in two critical ways: | | | | port n. | +---+--------------+----------------+---------------------------+ -.. _figure_eventdev_atomic_queue_test: - .. figure:: img/eventdev_atomic_queue_test.* atomic queue test operation.
@@ -433,8 +425,6 @@ This test verifies the same aspects of ``order_queue`` test, the difference is the number of queues used, this test operates on a single ``all types queue(atq)`` instead of two different queues for ordered and atomic. -.. _table_eventdev_order_atq_test: - .. table:: Order all types queue test eventdev configuration. +---+--------------+----------------+------------------------+
@@ -455,8 +445,6 @@ instead of two different queues for ordered and atomic. | | | | port n. | +---+--------------+----------------+------------------------+ -.. _figure_eventdev_order_atq_test: - .. figure:: img/eventdev_order_atq_test.* order all types queue test operation.
@@ -497,8 +485,6 @@ the difference is the number of queues used, this test operates on a single ``all types queue(atq)`` instead of two different atomic queues. -.. _table_eventdev_atomic_atq_test: - .. table:: Order all types queue test eventdev configuration. +---+--------------+----------------+-------------------------+
@@ -519,8 +505,6 @@ instead of two different atomic queues. | | | | port n. | +---+--------------+----------------+-------------------------+ -.. _figure_eventdev_atomic_atq_test: - .. figure:: img/eventdev_atomic_atq_test.* atomic all types queue test operation.
@@ -582,8 +566,6 @@ This is a performance test case that aims at testing the following: | | | nb_producers | Producers use port n to port p | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_perf_queue_test: - .. figure:: img/eventdev_perf_queue_test.* perf queue test operation.
@@ -720,8 +702,6 @@ This is a performance test case that aims at testing the following with | | | nb_producers | Producers use port n to port p | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_perf_atq_test: - .. figure:: img/eventdev_perf_atq_test.* perf all types queue test operation.
@@ -833,12 +813,8 @@ This is a pipeline test case that aims at testing the following: | | | | depending on the Tx adapter capability. | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_pipeline_queue_test_generic: - .. figure:: img/eventdev_pipeline_queue_test_generic.* -.. _figure_eventdev_pipeline_queue_test_internal_port: - .. figure:: img/eventdev_pipeline_queue_test_internal_port.* pipeline queue test operation.
@@ -962,12 +938,8 @@ This is a pipeline test case that aims at testing the following with | | | | depending on the Tx adapter capability. | +---+--------------+----------------+-----------------------------------------+ -.. _figure_eventdev_pipeline_atq_test_generic: - .. figure:: img/eventdev_pipeline_atq_test_generic.* -.. _figure_eventdev_pipeline_atq_test_internal_port: - .. figure:: img/eventdev_pipeline_atq_test_internal_port.* pipeline atq test operation.
doc/guides/tools/testmldev.rst +0 -12
@@ -209,8 +209,6 @@ when handling with `N` number of models. executes the sequence of load / start / stop / unload for a model in order, followed by next model. -.. _figure_mldev_model_ops_subtest_a: - .. figure:: img/mldev_model_ops_subtest_a.* Execution sequence of model_ops subtest A.
@@ -219,8 +217,6 @@ followed by next model. executes load for all models, followed by a start for all models. Upon successful start of all models, stop is invoked for all models followed by unload. -.. _figure_mldev_model_ops_subtest_b: - .. figure:: img/mldev_model_ops_subtest_b.* Execution sequence of model_ops subtest B.
@@ -229,8 +225,6 @@ Upon successful start of all models, stop is invoked for all models followed by loads all models, followed by a start and stop of all models in order. Upon completion of stop, unload is invoked for all models. -.. _figure_mldev_model_ops_subtest_c: - .. figure:: img/mldev_model_ops_subtest_c.* Execution sequence of model_ops subtest C.
@@ -239,8 +233,6 @@ Upon completion of stop, unload is invoked for all models. executes load and start for all models available. Upon successful start of all models, stop is executed for the models. -.. _figure_mldev_model_ops_subtest_d: - .. figure:: img/mldev_model_ops_subtest_d.* Execution sequence of model_ops subtest D.
@@ -334,8 +326,6 @@ The model is unloaded upon completion of all inferences for the model. The test would continue loading and executing inference requests for all models specified through ``filelist`` option in an ordered manner. -.. _figure_mldev_inference_ordered: - .. figure:: img/mldev_inference_ordered.* Execution of inference_ordered on single model.
@@ -390,8 +380,6 @@ Total number of inferences enqueued for a model are equal to the repetitions spe An additional pool of threads would dequeue the inferences from the device. Models would be unloaded upon completion of inferences for all models loaded. -.. _figure_mldev_inference_interleave: - .. figure:: img/mldev_inference_interleave.* Execution of inference_interleave on single model.
doc/guides/vdpadevs/features_overview.rst +0 -2
@@ -145,8 +145,6 @@ References Features Table ============== -.. _table_vdpa_pmd_features: - .. include:: overview_feature_table.txt .. Note::
doc/guides/windows_gsg/index.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2019 Intel Corporation. -.. _windows_gsg: - Getting Started Guide for Windows =================================
Signature · 1 line
2.54.0
PATCH v3 3/8 doc: replace vague references with precise links
In reply to Thomas MonjalonSome guide references describe another section or document without linking to it, or link only to a broader page.
Use precise links to the referenced sections or documents.
--- doc/guides/contributing/documentation.rst | 2 ++ doc/guides/contributing/patches.rst | 2 +- doc/guides/faq/faq.rst | 2 +- doc/guides/howto/openwrt.rst | 2 +- doc/guides/linux_gsg/build_sample_apps.rst | 8 ++++---- doc/guides/linux_gsg/sys_reqs.rst | 2 ++ doc/guides/nics/ark.rst | 9 ++++----- doc/guides/nics/axgbe.rst | 3 +-- doc/guides/nics/dpaa2.rst | 2 +- doc/guides/nics/ena.rst | 7 +++---- doc/guides/nics/features.rst | 6 ++++-- doc/guides/nics/i40e.rst | 4 ++-- doc/guides/nics/ice.rst | 4 ++-- doc/guides/nics/ionic.rst | 5 ++--- doc/guides/nics/ipn3ke.rst | 4 ++-- doc/guides/nics/mvpp2.rst | 5 ++--- doc/guides/nics/softnic.rst | 11 +++++------ doc/guides/nics/txgbe.rst | 4 ++-- doc/guides/nics/vhost.rst | 2 +- doc/guides/nics/virtio.rst | 2 +- doc/guides/nics/vmxnet3.rst | 6 ++++-- doc/guides/prog_guide/ethdev/ethdev.rst | 4 ++-- doc/guides/prog_guide/multi_proc_support.rst | 7 +++---- doc/guides/prog_guide/power_man.rst | 10 +++------- doc/guides/sample_app_ug/dma.rst | 4 ++-- doc/guides/sample_app_ug/eventdev_pipeline.rst | 9 +++++---- doc/guides/sample_app_ug/l2_forward_event.rst | 5 +++-- doc/guides/sample_app_ug/l2_forward_job_stats.rst | 4 ++-- doc/guides/sample_app_ug/l2_forward_real_virtual.rst | 4 ++-- doc/guides/sample_app_ug/link_status_intr.rst | 4 ++-- doc/guides/sample_app_ug/ptpclient.rst | 4 ++-- doc/guides/sample_app_ug/qos_scheduler.rst | 3 ++- doc/guides/sample_app_ug/skeleton.rst | 4 ++-- doc/guides/sample_app_ug/vhost.rst | 2 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++++ 35 files changed, 82 insertions(+), 78 deletions(-)
doc/guides/contributing/documentation.rst +2 -0
@@ -58,6 +58,8 @@ Role of the Documentation The following items outline the roles of the different parts of the documentation and when they need to be updated or added to by the developer. +.. _contrib_doc_guidelines_release_notes: + * **Release Notes** The Release Notes document which features have been added in the current and previous releases of DPDK and highlight
doc/guides/contributing/patches.rst +1 -1
@@ -169,7 +169,7 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines * When introducing a new device API, at least one driver should implement it. * Important changes will require an addition to the release notes in ``doc/guides/rel_notes/``. - See the :ref:`Release Notes section of the Documentation Guidelines <doc_guidelines>` for details. + See the :ref:`release notes guidelines <contrib_doc_guidelines_release_notes>`. * Test the compilation works with different targets, compilers and options, see :ref:`contrib_check_compilation`.
doc/guides/faq/faq.rst +1 -1
@@ -6,7 +6,7 @@ What does "EAL: map_all_hugepages(): open failed: Permission denied Cannot init This is most likely due to the test application not being run with sudo to promote the user to a superuser. Alternatively, applications can also be run as regular user. -For more information, please refer to :ref:`DPDK Getting Started Guide <linux_gsg>`. +For more information, please refer to :ref:`Running_Without_Root_Privileges`. If I want to change the number of hugepages allocated, how do I remove the original pages allocated?
doc/guides/howto/openwrt.rst +1 -1
@@ -150,7 +150,7 @@ Running DPDK ~~~~~~~~~~~~ More detailed info about how to run a DPDK application please refer to -``Running DPDK Applications`` section of :ref:`the DPDK documentation <linux_gsg>`. +:ref:`linux_gsg_running_apps`. .. note::
doc/guides/linux_gsg/build_sample_apps.rst +4 -4
@@ -39,9 +39,9 @@ Copy the DPDK application binary to your target, then run the application as fol .. note:: The ``--proc-type`` and ``--file-prefix`` EAL options are used for running - multiple DPDK processes. See the "Multi-process Sample Application" - chapter in the *DPDK Sample Applications User Guide* and the *DPDK - Programmers Guide* for more details. + multiple DPDK processes. + See :doc:`/sample_app_ug/multi_process` + and :doc:`/prog_guide/multi_proc_support` for more details. Logical Core Use by Applications ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -123,5 +123,5 @@ Additional Sample Applications Additional sample applications are included in the DPDK examples directory. These sample applications may be built and run in a manner similar to that described in earlier sections in this manual. -In addition, see the *DPDK Sample Applications User Guide* for a description of the application, +In addition, see :doc:`/sample_app_ug/index` for descriptions of the applications, specific instructions on compilation and execution and some explanation of the code.
doc/guides/linux_gsg/sys_reqs.rst +2 -0
@@ -90,6 +90,8 @@ For poll-mode drivers, the additional dependencies for each driver can be found in that driver's documentation in the relevant DPDK guide document, e.g. :doc:`../nics/index` +.. _linux_gsg_running_apps: + Running DPDK Applications -------------------------
doc/guides/nics/ark.rst +4 -5
@@ -272,8 +272,7 @@ extension file generated above. For example: Building DPDK ------------- -See the :ref:`DPDK Getting Started Guide for Linux <linux_gsg>` for -instructions on how to build DPDK. +See :doc:`/linux_gsg/build_dpdk` for instructions. By default the ARK PMD library will be built into the DPDK library.
@@ -354,9 +353,9 @@ are required, please contact Atomic Rules support. Supported Operating Systems --------------------------- -Any Linux distribution fulfilling the conditions described in ``System Requirements`` -section of :ref:`the DPDK documentation <linux_gsg>` or refer to *DPDK -Release Notes*. ARM and PowerPC architectures are not supported at this time. +Any Linux distribution fulfilling the conditions described in +:doc:`/linux_gsg/sys_reqs` or refer to :doc:`/rel_notes/index`. +ARM and PowerPC architectures are not supported at this time. Supported Features
doc/guides/nics/axgbe.rst +1 -2
@@ -30,8 +30,7 @@ AXGBE PMD has support for: Building DPDK ------------- -See the :ref:`DPDK Getting Started Guide for Linux <linux_gsg>` for -instructions on how to build DPDK. +See :doc:`/linux_gsg/build_dpdk` for instructions. By default the AXGBE PMD library will be built into the DPDK library.
doc/guides/nics/dpaa2.rst +1 -1
@@ -638,7 +638,7 @@ The following capabilities are supported: Usage example ~~~~~~~~~~~~~ -For a detailed usage description please refer to "Traffic Management" section in DPDK :doc:`../testpmd_app_ug/testpmd_funcs`. +For a detailed usage description please refer to :ref:`testpmd_traffic_management`. #. Run testpmd as follows:
doc/guides/nics/ena.rst +3 -4
@@ -175,8 +175,7 @@ ENA Configuration Parameters Building DPDK ------------- -See the :ref:`DPDK Getting Started Guide for Linux <linux_gsg>` for -instructions on how to build DPDK. +See :doc:`/linux_gsg/build_dpdk` for instructions. By default the ENA PMD library will be built into the DPDK library.
@@ -186,8 +185,8 @@ documentation that comes with DPDK suite <linux_gsg>`. Supported Operating Systems --------------------------- -Any Linux distribution fulfilling the conditions described in ``System Requirements`` -section of :ref:`the DPDK documentation <linux_gsg>` or refer to *DPDK Release Notes*. +Any Linux distribution fulfilling the conditions described in +:doc:`/linux_gsg/sys_reqs` or refer to :doc:`/rel_notes/index`. Prerequisites -------------
doc/guides/nics/features.rst +4 -2
@@ -443,7 +443,8 @@ Inline crypto Supports inline crypto processing defined by rte_security library to perform crypto operations of security protocol while packet is received in NIC. NIC is not aware -of protocol operations. See Security library and PMD documentation for more details. +of protocol operations. +See :doc:`/prog_guide/rte_security` and PMD documentation for more details. * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:RTE_ETH_RX_OFFLOAD_SECURITY``, * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:RTE_ETH_TX_OFFLOAD_SECURITY``.
@@ -465,7 +466,8 @@ Inline protocol Supports inline protocol processing defined by rte_security library to perform protocol processing for the security protocol (e.g. IPsec, MACSEC) while the packet is received at NIC. The NIC is capable of understanding the security -protocol operations. See security library and PMD documentation for more details. +protocol operations. +See :doc:`/prog_guide/rte_security` and PMD documentation for more details. * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:RTE_ETH_RX_OFFLOAD_SECURITY``, * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:RTE_ETH_TX_OFFLOAD_SECURITY``.
doc/guides/nics/i40e.rst +2 -2
@@ -54,8 +54,8 @@ Linux Prerequisites - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. -- To get better performance on Intel platforms, please follow the "How to get best performance with NICs on Intel platforms" - section of the :ref:`Getting Started Guide for Linux <linux_gsg>`. +- To get better performance on Intel platforms, + please follow :doc:`/linux_gsg/nic_perf_intel_platform`. - Upgrade the NVM/FW version following the `Intel® Ethernet NVM Update Tool Quick Usage Guide for Linux <https://www-ssl.intel.com/content/www/us/en/embedded/products/networking/nvm-update-tool-quick-linux-usage-guide.html>`_ and `Intel® Ethernet NVM Update Tool: Quick Usage Guide for EFI <https://www.intel.com/content/www/us/en/embedded/products/networking/nvm-update-tool-quick-efi-usage-guide.html>`_ if needed.
doc/guides/nics/ice.rst +2 -2
@@ -19,8 +19,8 @@ Linux Prerequisites - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. -- To get better performance on Intel platforms, please follow the "How to get best performance with NICs on Intel platforms" - section of the :ref:`Getting Started Guide for Linux <linux_gsg>`. +- To get better performance on Intel platforms, + please follow :doc:`/linux_gsg/nic_perf_intel_platform`. - Please follow the matching list to download specific kernel driver, firmware and DDP package from `https://www.intel.com/content/www/us/en/search.html?ws=text#q=e810&t=Downloads&layout=table`.
doc/guides/nics/ionic.rst +2 -3
@@ -57,6 +57,5 @@ Runtime Configuration Building DPDK ------------- -The ionic PMD supports UIO and VFIO. Please refer to the -:ref:`DPDK documentation that comes with the DPDK suite <linux_gsg>` -for instructions on how to build DPDK. +The ionic PMD supports UIO and VFIO. +Please refer to :doc:`/linux_gsg/build_dpdk` for instructions.
doc/guides/nics/ipn3ke.rst +2 -2
@@ -24,8 +24,8 @@ Prerequisites - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. -- To get better performance on Intel platforms, please follow the "How to get best performance with NICs on Intel platforms" - section of the :ref:`Getting Started Guide for Linux <linux_gsg>`. +- To get better performance on Intel platforms, + please follow :doc:`/linux_gsg/nic_perf_intel_platform`. Configuration
doc/guides/nics/mvpp2.rst +2 -3
@@ -616,8 +616,7 @@ Usage example testpmd> flow create 0 ingress pattern ipv4 src is 10.10.10.1 / end actions meter mtr_id 0 / end -For a detailed usage description please refer to "Traffic Metering and Policing" section in DPDK :doc:`Testpmd Runtime Functions <../testpmd_app_ug/testpmd_funcs>`. - +For a detailed usage description please refer to :ref:`testpmd_traffic_metering_and_policing`. .. _tmapi:
@@ -672,7 +671,7 @@ The following capabilities are not supported: Usage example ~~~~~~~~~~~~~ -For a detailed usage description please refer to "Traffic Management" section in DPDK :doc:`../testpmd_app_ug/testpmd_funcs`. +For a detailed usage description please refer to :ref:`testpmd_traffic_management`. #. Run testpmd as follows:
doc/guides/nics/softnic.rst +5 -6
@@ -9,9 +9,9 @@ is DIY and reconfigurable through ``firmware`` (DPDK Packet Framework script). The Soft NIC leverages the DPDK Packet Framework libraries (librte_port, librte_table and librte_pipeline) to make it modular, flexible and extensible -with new functionality. Please refer to DPDK Programmer's Guide, Chapter -``Packet Framework`` and DPDK Sample Application User Guide, -Chapter ``IP Pipeline Application`` for more details. +with new functionality. +Please refer to :doc:`/prog_guide/packet_framework` and +:doc:`/sample_app_ug/ip_pipeline` for more details. The Soft NIC is configured through the standard DPDK ethdev API (ethdev, flow, QoS, security). The internal framework is not externally visible.
@@ -47,9 +47,8 @@ Flow Supported Operating Systems --------------------------- -Any Linux distribution fulfilling the conditions described in ``System Requirements`` -section of :ref:`the DPDK documentation <linux_gsg>` or refer to *DPDK -Release Notes*. +Any Linux distribution fulfilling the conditions described in +:doc:`/linux_gsg/sys_reqs` or refer to :doc:`/rel_notes/index`. Runtime Configuration
doc/guides/nics/txgbe.rst +2 -2
@@ -204,7 +204,7 @@ For example, create a flow rule: testpmd> flow create 0 ingress pattern eth type is 0x0806 / end actions queue index 2 / end -For a detailed usage description please refer to "Flow rules management" section in DPDK :doc:`../testpmd_app_ug/testpmd_funcs`. +For a detailed usage description please refer to :ref:`testpmd_rte_flow`. Traffic Management API ~~~~~~~~~~~~~~~~~~~~~~
@@ -219,7 +219,7 @@ For example, add shaper profile testpmd> add port tm node shaper profile 0 0 0 0 25000000 0 0 -For a detailed usage description please refer to "Traffic Management" section in DPDK :doc:`../testpmd_app_ug/testpmd_funcs`. +For a detailed usage description please refer to :ref:`testpmd_traffic_management`. Limitations or Known issues ---------------------------
doc/guides/nics/vhost.rst +1 -1
@@ -10,7 +10,7 @@ The user can handle virtqueues as one of normal DPDK port. Vhost Implementation in DPDK ---------------------------- -Please refer to Chapter "Vhost Library" of *DPDK Programmer's Guide* to know detail of vhost. +Please refer to :doc:`/prog_guide/vhost_lib` for details about vhost. Features and Limitations of vhost PMD -------------------------------------
doc/guides/nics/virtio.rst +1 -1
@@ -12,7 +12,7 @@ for fast guest VM to guest VM communication and guest VM to host communication. Vhost is a kernel acceleration module for virtio qemu backend. For basic qemu-KVM installation and other Intel EM poll mode driver in guest VM, -please refer to Chapter "Driver for VM Emulated Devices". +please refer to :doc:`/nics/e1000em`. In this chapter, we will demonstrate usage of virtio PMD with two backends, standard qemu vhost back end.
doc/guides/nics/vmxnet3.rst +4 -2
@@ -125,8 +125,10 @@ The following prerequisites apply: .. note:: - Follow the *DPDK Sample Application's User Guide*, L2 Forwarding/L3 Forwarding and - TestPMD for instructions on how to run a DPDK application using an assigned VMXNET3 device. + Follow the :doc:`L2 Forwarding </sample_app_ug/l2_forward_real_virtual>`, + :doc:`L3 Forwarding </sample_app_ug/l3_forward>` and + :doc:`TestPMD </testpmd_app_ug/index>` guides + for instructions on how to run a DPDK application using an assigned VMXNET3 device. VMXNET3 with a Native NIC Connected to a vSwitch ------------------------------------------------
doc/guides/prog_guide/ethdev/ethdev.rst +2 -2
@@ -360,8 +360,8 @@ Two scenarios exist where an application may want the mbuf released immediately: for each destination interface used to request it to release all used mbufs. -To determine if a driver supports this API, check for the *Free Tx mbuf on demand* feature -in the *Network Interface Controller Drivers* document. +To determine if a driver supports this API, check for the +:ref:`nic_features_free_tx_mbuf_on_demand` feature. Hardware Offload
doc/guides/prog_guide/multi_proc_support.rst +3 -4
@@ -43,8 +43,7 @@ two additional command-line parameters are available to the EAL: * ``--file-prefix:`` to allow processes that do not want to co-operate to have different memory regions A number of example applications are provided that demonstrate how multiple DPDK processes can be used together. -These are more fully documented in the "Multi- process Sample Application" chapter -in the *DPDK Sample Application's User Guide*. +These are more fully documented in :doc:`/sample_app_ug/multi_process`. Memory Sharing --------------
@@ -91,7 +90,7 @@ In this model, the first of the processes spawned should be spawned using the `` while all subsequent instances should be spawned using the ``--proc-type=secondary`` flag. The simple_mp and symmetric_mp sample applications demonstrate this usage model. -They are described in the "Multi-process Sample Application" chapter in the *DPDK Sample Application's User Guide*. +They are described in :doc:`/sample_app_ug/multi_process`. Asymmetric/Non-Peer Processes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -102,7 +101,7 @@ server distributing received packets among worker or client threads, which are r In this case, extensive use of rte_ring objects is made, which are located in shared hugepage memory. The client_server_mp sample application shows this usage model. -It is described in the "Multi-process Sample Application" chapter in the *DPDK Sample Application's User Guide*. +It is described in :doc:`/sample_app_ug/multi_process`. Running Multiple Independent DPDK Applications ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/prog_guide/power_man.rst +3 -7
@@ -290,10 +290,6 @@ Get Num Dies References ---------- -* The :doc:`../sample_app_ug/l3_forward_power_man` - chapter in the :doc:`../sample_app_ug/index` section. - -* The :doc:`../sample_app_ug/vm_power_management` - chapter in the :doc:`../sample_app_ug/index` section. - -* The :doc:`../nics/overview` chapter in the :doc:`../nics/index` section +* :doc:`../sample_app_ug/l3_forward_power_man` +* :doc:`../sample_app_ug/vm_power_management` +* :doc:`../nics/overview`
doc/guides/sample_app_ug/dma.rst +2 -2
@@ -135,8 +135,8 @@ used by the application: :end-before: >8 End of allocates mempool to hold the mbufs. :dedent: 1 -Mbufs are the packet buffer structure used by DPDK. They are explained in -detail in the "Mbuf Library" section of the *DPDK Programmer's Guide*. +Mbufs are the packet buffer structure used by DPDK. +They are explained in detail in the :doc:`/prog_guide/mbuf_lib`. The ``main()`` function also initializes the ports:
doc/guides/sample_app_ug/eventdev_pipeline.rst +5 -4
@@ -61,8 +61,8 @@ will print an error message: rx: 0 tx: 1 -Configuration of the eventdev is covered in detail in the programmers guide, -see the Event Device Library section. +Configuration of the eventdev is covered in detail in the programmer's guide, +see :doc:`/prog_guide/eventdev/eventdev`. Observing the Application
@@ -143,5 +143,6 @@ transmitted, and an overview of the distribution of work across worker cores. To get a full dump of the state of the eventdev PMD, pass the ``-D`` flag to this application. When the app is terminated using ``Ctrl+C``, the ``rte_event_dev_dump()`` function is called, resulting in a dump of the -statistics that the PMD provides. The statistics provided depend on the PMD -used, see the Event Device Drivers section for a list of eventdev PMDs. +statistics that the PMD provides. +The statistics provided depend on the PMD used, +see :doc:`/eventdevs/index` for a list of eventdev PMDs.
doc/guides/sample_app_ug/l2_forward_event.rst +3 -2
@@ -178,8 +178,9 @@ Driver Initialization The main part of the code in the ``main()`` function relates to the initialization of the driver. To fully understand this code, it is recommended to study the -chapters related to the Poll Mode and Event mode Driver in the -*DPDK Programmer's Guide* - Rel 1.4 EAR and the *DPDK API Reference*. +chapters related to :doc:`/prog_guide/ethdev/ethdev` +and :doc:`/prog_guide/eventdev/eventdev`, +as well as the DPDK API Reference. .. literalinclude:: ../../../examples/l2fwd-event/main.c :language: c
doc/guides/sample_app_ug/l2_forward_job_stats.rst +2 -2
@@ -163,8 +163,8 @@ Driver Initialization ~~~~~~~~~~~~~~~~~~~~~ The main part of the code in the ``main()`` function relates to the initialization of the driver. -To fully understand this code, it is recommended to study the chapters that related to the Poll Mode Driver -in the *DPDK Programmer's Guide* and the *DPDK API Reference*. +To fully understand this code, it is recommended to study +:doc:`/prog_guide/ethdev/ethdev` and the DPDK API Reference. .. literalinclude:: ../../../examples/l2fwd-jobstats/main.c :language: c
doc/guides/sample_app_ug/l2_forward_real_virtual.rst +2 -2
@@ -189,8 +189,8 @@ Driver Initialization ~~~~~~~~~~~~~~~~~~~~~ The main part of the code in the ``main()`` function relates to the initialization of the driver. -To fully understand this code, it is recommended to study the chapters related to the Poll Mode Driver -in the *DPDK Programmer's Guide* - Rel 1.4 EAR and the *DPDK API Reference*. +To fully understand this code, it is recommended to study +:doc:`/prog_guide/ethdev/ethdev` and the DPDK API Reference. .. literalinclude:: ../../../examples/l2fwd/main.c :language: c
doc/guides/sample_app_ug/link_status_intr.rst +2 -2
@@ -84,8 +84,8 @@ Driver Initialization ~~~~~~~~~~~~~~~~~~~~~ The main part of the code in the main() function relates to the initialization of the driver. -To fully understand this code, it is recommended to study the chapters that related to the Poll Mode Driver in the -*DPDK Programmer's Guide and the DPDK API Reference*. +To fully understand this code, it is recommended to study +:doc:`/prog_guide/ethdev/ethdev` and the DPDK API Reference. .. literalinclude:: ../../../examples/link_status_interrupt/main.c :language: c
doc/guides/sample_app_ug/ptpclient.rst +2 -2
@@ -116,8 +116,8 @@ used by the application: :end-before: >8 End of a new mempool in memory to hold the mbufs. :dedent: 1 -Mbufs are the packet buffer structure used by DPDK. They are explained in -detail in the "Mbuf Library" section of the *DPDK Programmer's Guide*. +Mbufs are the packet buffer structure used by DPDK. +They are explained in detail in the :doc:`/prog_guide/mbuf_lib`. The ``main()`` function also initializes all the ports using the user defined ``port_init()`` function with portmask provided by user:
doc/guides/sample_app_ug/qos_scheduler.rst +2 -1
@@ -233,4 +233,5 @@ This application classifies based on the QinQ double VLAN tags and the IP destin | | Lowest Priority TC: 4 | class (Best effort) serviced in WRR | | +----------------+-------------------------+--------------------------------------------------+----------------------------------+ -Please refer to the "QoS Scheduler" chapter in the *DPDK Programmer's Guide* for more information about these parameters. +Please refer to the :doc:`/prog_guide/ethdev/qos_framework` +for more information about these parameters.
doc/guides/sample_app_ug/skeleton.rst +2 -2
@@ -69,8 +69,8 @@ used by the application: :end-before: >8 End of allocating mempool to hold mbuf. :dedent: 1 -Mbufs are the packet buffer structure used by DPDK. They are explained in -detail in the "Mbuf Library" section of the *DPDK Programmer's Guide*. +Mbufs are the packet buffer structure used by DPDK. +They are explained in detail in the :doc:`/prog_guide/mbuf_lib`. The ``main()`` function also initializes all the ports using the user defined ``port_init()`` function which is explained in the next section:
doc/guides/sample_app_ug/vhost.rst +1 -1
@@ -87,7 +87,7 @@ Then start testpmd for packet forwarding testing. > start tx_first For more information about vIOMMU and NO-IOMMU and VFIO please refer to -:doc:`/../linux_gsg/linux_drivers` section of the DPDK Getting started guide. +the :doc:`Linux Drivers </../linux_gsg/linux_drivers>` section of the documentation. Inject packets --------------
doc/guides/testpmd_app_ug/testpmd_funcs.rst +4 -0
@@ -2439,6 +2439,8 @@ manage link bonding devices from within testpmd interactive prompt. See :doc:`../prog_guide/link_bonding_poll_mode_drv_lib` for more information. +.. _testpmd_traffic_metering_and_policing: + Traffic Metering and Policing -----------------------------
@@ -2651,6 +2653,8 @@ where: * ``clear``: Flag that indicates whether the statistics counters should be cleared (i.e. set to zero) immediately after they have been read or not. +.. _testpmd_traffic_management: + Traffic Management ------------------
Signature · 1 line
2.54.0
PATCH v3 4/8 doc: shorten page references in guides
In reply to Thomas MonjalonWhen linking to a document in a different guide, using absolute path may be shorter than relative path.
--- doc/guides/compressdevs/mlx5.rst | 2 +- doc/guides/compressdevs/uadk.rst | 2 +- doc/guides/compressdevs/zsda.rst | 2 +- doc/guides/contributing/abi_policy.rst | 2 +- doc/guides/contributing/abi_versioning.rst | 9 ++-- doc/guides/contributing/design.rst | 4 +- doc/guides/contributing/documentation.rst | 2 +- doc/guides/contributing/patches.rst | 2 +- doc/guides/cryptodevs/cnxk.rst | 4 +- doc/guides/cryptodevs/dpaa2_sec.rst | 2 +- doc/guides/cryptodevs/dpaa_sec.rst | 2 +- doc/guides/cryptodevs/mlx5.rst | 2 +- doc/guides/cryptodevs/octeontx.rst | 2 +- doc/guides/cryptodevs/qat.rst | 4 +- doc/guides/cryptodevs/uadk.rst | 2 +- doc/guides/dmadevs/cnxk.rst | 2 +- doc/guides/dmadevs/dpaa.rst | 2 +- doc/guides/dmadevs/dpaa2.rst | 2 +- doc/guides/eventdevs/cnxk.rst | 2 +- doc/guides/eventdevs/dpaa.rst | 2 +- doc/guides/eventdevs/dpaa2.rst | 2 +- doc/guides/eventdevs/octeontx.rst | 2 +- doc/guides/faq/faq.rst | 2 +- doc/guides/howto/af_xdp_dp.rst | 6 +-- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/howto/packet_capture_framework.rst | 6 +-- doc/guides/howto/pvp_reference_benchmark.rst | 4 +- doc/guides/howto/rte_flow.rst | 2 +- doc/guides/howto/security.rst | 46 +++++++++---------- doc/guides/howto/telemetry.rst | 2 +- doc/guides/linux_gsg/doc_roadmap.include.rst | 28 +++++------ doc/guides/linux_gsg/sys_reqs.rst | 2 +- doc/guides/mempool/cnxk.rst | 2 +- doc/guides/mempool/octeontx.rst | 2 +- doc/guides/mempool/ring.rst | 2 +- doc/guides/mempool/stack.rst | 2 +- doc/guides/mldevs/cnxk.rst | 2 +- doc/guides/nics/bnxt.rst | 2 +- doc/guides/nics/build_and_test.rst | 2 +- doc/guides/nics/cnxk.rst | 2 +- doc/guides/nics/cpfl.rst | 4 +- doc/guides/nics/dpaa.rst | 2 +- doc/guides/nics/dpaa2.rst | 4 +- doc/guides/nics/features.rst | 2 +- doc/guides/nics/i40e.rst | 2 +- doc/guides/nics/ice.rst | 2 +- doc/guides/nics/idpf.rst | 4 +- doc/guides/nics/ixgbe.rst | 2 +- doc/guides/nics/memif.rst | 2 +- doc/guides/nics/mlx4.rst | 2 +- doc/guides/nics/mlx5.rst | 6 +-- doc/guides/nics/mvpp2.rst | 6 +-- doc/guides/nics/octeon_ep.rst | 2 +- doc/guides/nics/octeontx.rst | 2 +- doc/guides/platform/bluefield.rst | 8 ++-- doc/guides/platform/cnxk.rst | 20 ++++---- doc/guides/platform/dpaa.rst | 6 +-- doc/guides/platform/dpaa2.rst | 10 ++-- doc/guides/platform/mlx5.rst | 12 ++--- doc/guides/platform/octeontx.rst | 10 ++-- doc/guides/prog_guide/build-sdk-meson.rst | 6 +-- doc/guides/prog_guide/build_app.rst | 2 +- doc/guides/prog_guide/cmdline.rst | 2 +- doc/guides/prog_guide/cryptodev_lib.rst | 4 +- doc/guides/prog_guide/devargs.rst | 2 +- doc/guides/prog_guide/dmadev.rst | 2 +- doc/guides/prog_guide/power_man.rst | 2 +- doc/guides/prog_guide/profile_app.rst | 2 +- doc/guides/prog_guide/rte_security.rst | 4 +- doc/guides/prog_guide/source_org.rst | 2 +- doc/guides/prog_guide/telemetry_lib.rst | 2 +- doc/guides/prog_guide/trace_lib.rst | 2 +- doc/guides/rawdevs/dpaa2_cmdif.rst | 2 +- doc/guides/regexdevs/cn9k.rst | 2 +- doc/guides/regexdevs/mlx5.rst | 2 +- doc/guides/rel_notes/deprecation.rst | 4 +- doc/guides/rel_notes/release_17_02.rst | 4 +- doc/guides/rel_notes/release_17_11.rst | 16 +++---- doc/guides/rel_notes/release_18_02.rst | 4 +- doc/guides/rel_notes/release_18_05.rst | 14 +++--- doc/guides/rel_notes/release_18_08.rst | 4 +- doc/guides/rel_notes/release_18_11.rst | 10 ++-- doc/guides/rel_notes/release_19_02.rst | 6 +-- doc/guides/rel_notes/release_19_05.rst | 4 +- doc/guides/rel_notes/release_19_08.rst | 6 +-- doc/guides/rel_notes/release_19_11.rst | 14 +++--- doc/guides/rel_notes/release_20_02.rst | 4 +- doc/guides/rel_notes/release_20_05.rst | 4 +- doc/guides/rel_notes/release_20_08.rst | 4 +- doc/guides/rel_notes/release_20_11.rst | 10 ++-- doc/guides/rel_notes/release_21_02.rst | 4 +- doc/guides/rel_notes/release_21_08.rst | 4 +- doc/guides/rel_notes/release_21_11.rst | 6 +-- doc/guides/rel_notes/release_22_03.rst | 2 +- doc/guides/rel_notes/release_22_07.rst | 2 +- doc/guides/rel_notes/release_22_11.rst | 12 ++--- doc/guides/rel_notes/release_23_03.rst | 2 +- doc/guides/rel_notes/release_23_07.rst | 4 +- doc/guides/rel_notes/release_23_11.rst | 2 +- doc/guides/rel_notes/release_24_07.rst | 2 +- doc/guides/rel_notes/release_25_03.rst | 2 +- doc/guides/rel_notes/release_25_07.rst | 10 ++-- doc/guides/sample_app_ug/dma.rst | 4 +- doc/guides/sample_app_ug/intro.rst | 4 +- doc/guides/sample_app_ug/ip_reassembly.rst | 2 +- .../sample_app_ug/l3_forward_power_man.rst | 2 +- doc/guides/testpmd_app_ug/run_app.rst | 4 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- doc/guides/tools/dts.rst | 2 +- doc/guides/tools/flow-perf.rst | 4 +- doc/guides/tools/securityperf.rst | 4 +- doc/guides/tools/testbbdev.rst | 2 +- doc/guides/vdpadevs/mlx5.rst | 2 +- doc/guides/windows_gsg/intro.rst | 2 +- 114 files changed, 257 insertions(+), 256 deletions(-)
doc/guides/compressdevs/mlx5.rst +1 -1
@@ -24,7 +24,7 @@ So, using the BlueField device (starting from BlueField-2), the compress class operations can be supported in parallel to the net, vDPA and RegEx class operations. -See :doc:`../../platform/mlx5` guide for more design details. +See :doc:`/platform/mlx5` guide for more design details. Features --------
doc/guides/compressdevs/uadk.rst +1 -1
@@ -78,7 +78,7 @@ Test steps ninja sudo ninja install -#. Prepare hugepages for DPDK (see also :doc:`../tools/hugepages`) +#. Prepare hugepages for DPDK (see also :doc:`/tools/hugepages`) .. code-block:: console
doc/guides/compressdevs/zsda.rst +1 -1
@@ -60,7 +60,7 @@ Configuring and Building the DPDK ZSDA PMDs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Further information on configuring, building and installing DPDK is described -:doc:`here <../linux_gsg/build_dpdk>`. +:doc:`here </linux_gsg/build_dpdk>`. Build Configuration
doc/guides/contributing/abi_policy.rst +1 -1
@@ -38,7 +38,7 @@ General Guidelines .. note:: Please note that this policy does not currently apply to the - :doc:`Windows build <../windows_gsg/intro>`. + :doc:`Windows build </windows_gsg/intro>`. What is an ABI? ~~~~~~~~~~~~~~~
doc/guides/contributing/abi_versioning.rst +5 -4
@@ -267,10 +267,11 @@ used by newly built applications. Enabling versioning macros __________________________ -Finally, we need to indicate to the :doc:`meson/ninja build system -<../prog_guide/build-sdk-meson>` to enable versioning macros when building the -library or driver. In the libraries or driver where we have added symbol -versioning, in the ``meson.build`` file we add the following +Finally, we need to indicate +to the :doc:`Meson/Ninja build system </prog_guide/build-sdk-meson>` +to enable versioning macros when building the library or driver. +In the libraries or driver where we have added symbol versioning, +in the ``meson.build`` file we add the following .. code-block:: none
doc/guides/contributing/design.rst +2 -2
@@ -77,8 +77,8 @@ as to what is happening to the application at runtime. DPDK provides a number of built-in mechanisms to provide this introspection: * :ref:`Logging <dynamic_logging>` -* :doc:`Tracing <../prog_guide/trace_lib>` -* :doc:`Telemetry <../prog_guide/telemetry_lib>` +* :doc:`Tracing </prog_guide/trace_lib>` +* :doc:`Telemetry </prog_guide/telemetry_lib>` Each of these has its own strengths and suitabilities for use within DPDK components.
doc/guides/contributing/documentation.rst +1 -1
@@ -182,7 +182,7 @@ To build the documentation:: ninja -C build doc -See :doc:`../linux_gsg/build_dpdk` for more detail on compiling DPDK with meson. +See :doc:`/linux_gsg/build_dpdk` for more detail on compiling DPDK with meson. The output is generated in the directory ``build/doc/``, with:
doc/guides/contributing/patches.rst +1 -1
@@ -730,7 +730,7 @@ We do our best to include CI and self-test infrastructure that can be used on an individual developer basis. For details on running the unit tests, see :doc:`unit_test`. -It is also recommended to run the :doc:`DTS <../tools/dts>` comprehensive tests. +It is also recommended to run the :doc:`DTS </tools/dts>` comprehensive tests. Finally, you can also push to a branch on the GitHub service to trigger a comprehensive set of compile and unit test runs.
doc/guides/cryptodevs/cnxk.rst +2 -2
@@ -94,7 +94,7 @@ Installation The OCTEON cnxk crypto PMD may be compiled natively on an OCTEON cnxk platform or cross-compiled on an x86 platform. -Refer to :doc:`../platform/cnxk` for instructions to build your DPDK +Refer to :doc:`/platform/cnxk` for instructions to build your DPDK application. .. note::
@@ -280,7 +280,7 @@ The OCTEON cnxk SoCs can accelerate IPsec traffic in lookaside protocol mode, with its **cryptographic accelerator (CPT)**. ``OCTEON cnxk crypto PMD`` implements this as an ``RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL`` offload. -Refer to :doc:`../prog_guide/rte_security` for more details on protocol offloads. +Refer to :doc:`/prog_guide/rte_security` for more details on protocol offloads. This feature can be tested with ipsec-secgw sample application.
doc/guides/cryptodevs/dpaa2_sec.rst +1 -1
@@ -161,7 +161,7 @@ Prerequisites DPAA2_SEC driver has similar pre-requisites as described in :ref:`dpaa2_overview`. The following dependencies are not part of DPDK and must be installed separately: -See :doc:`../platform/dpaa2` for setup information +See :doc:`/platform/dpaa2` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
doc/guides/cryptodevs/dpaa_sec.rst +1 -1
@@ -106,7 +106,7 @@ Prerequisites DPAA_SEC driver has similar pre-requisites as described in :ref:`dpaa_overview`. -See :doc:`../platform/dpaa` for setup information +See :doc:`/platform/dpaa` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
doc/guides/cryptodevs/mlx5.rst +1 -1
@@ -32,7 +32,7 @@ when the MKEY is configured to perform crypto operations. The encryption does not require text to be aligned to the AES block size (128b). -See :doc:`../../platform/mlx5` guide for more design details. +See :doc:`/platform/mlx5` guide for more design details. AES-GCM ~~~~~~~
doc/guides/cryptodevs/octeontx.rst +1 -1
@@ -66,7 +66,7 @@ Compilation The OCTEON TX crypto poll mode driver can be compiled either natively on **OCTEON TX** :sup:`®` board or cross-compiled on an x86 based platform. -Refer :doc:`../platform/octeontx` for details about setting up the platform +Refer :doc:`/platform/octeontx` for details about setting up the platform and building DPDK applications. .. note::
doc/guides/cryptodevs/qat.rst +2 -2
@@ -7,7 +7,7 @@ Intel(R) QuickAssist (QAT) Crypto Poll Mode Driver QAT documentation consists of three parts: * Details of the symmetric and asymmetric crypto services below. -* Details of the :doc:`compression service <../compressdevs/qat_comp>` +* Details of the :doc:`compression service </compressdevs/qat_comp>` in the compressdev drivers section. * Details of building the common QAT infrastructure and the PMDs to support the above services. See :ref:`building_qat` below.
@@ -225,7 +225,7 @@ Configuring and Building the DPDK QAT PMDs Further information on configuring, building and installing DPDK is described -:doc:`here <../linux_gsg/build_dpdk>`. +:doc:`here </linux_gsg/build_dpdk>`. Build Configuration ~~~~~~~~~~~~~~~~~~~
doc/guides/cryptodevs/uadk.rst +1 -1
@@ -92,7 +92,7 @@ Test steps ninja sudo meson install -#. Prepare hugepages for DPDK (see also :doc:`../tools/hugepages`) +#. Prepare hugepages for DPDK (see also :doc:`/tools/hugepages`) .. code-block:: console
doc/guides/dmadevs/cnxk.rst +1 -1
@@ -19,7 +19,7 @@ The block supports following modes of DMA transfers: Prerequisites and Compilation procedure --------------------------------------- -See :doc:`../platform/cnxk` for setup information. +See :doc:`/platform/cnxk` for setup information. Device Setup ------------
doc/guides/dmadevs/dpaa.rst +1 -1
@@ -27,7 +27,7 @@ Supported DPAA SoCs Prerequisites ------------- -See :doc:`../platform/dpaa` for setup information +See :doc:`/platform/dpaa` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
doc/guides/dmadevs/dpaa2.rst +1 -1
@@ -34,7 +34,7 @@ Supported DPAA2 SoCs Prerequisites ------------- -See :doc:`../platform/dpaa2` for setup information +See :doc:`/platform/dpaa2` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
doc/guides/eventdevs/cnxk.rst +1 -1
@@ -56,7 +56,7 @@ Features of the OCTEON cnxk SSO PMD are: Prerequisites and Compilation procedure --------------------------------------- - See :doc:`../platform/cnxk` for setup information. + See :doc:`/platform/cnxk` for setup information. Runtime Config Options
doc/guides/eventdevs/dpaa.rst +1 -1
@@ -31,7 +31,7 @@ Supported DPAA SoCs Prerequisites ------------- -See :doc:`../platform/dpaa` for setup information +See :doc:`/platform/dpaa` for setup information Currently supported by DPDK:
doc/guides/eventdevs/dpaa2.rst +1 -1
@@ -34,7 +34,7 @@ Supported DPAA2 SoCs Prerequisites ------------- -See :doc:`../platform/dpaa2` for setup information +See :doc:`/platform/dpaa2` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
doc/guides/eventdevs/octeontx.rst +1 -1
@@ -39,7 +39,7 @@ Supported OCTEON TX SoCs Prerequisites ------------- -See :doc:`../platform/octeontx` for setup information. +See :doc:`/platform/octeontx` for setup information. Initialization
doc/guides/faq/faq.rst +1 -1
@@ -184,7 +184,7 @@ I350 has RSS support and 8 queue pairs can be used in RSS mode. It should work w How can hugepage-backed memory be shared among multiple processes? ------------------------------------------------------------------ -See the Primary and Secondary examples in the :doc:`../sample_app_ug/multi_process`. +See the Primary and Secondary examples in the :doc:`/sample_app_ug/multi_process`. Why can't my application receive packets on my system with UEFI Secure Boot enabled?
doc/guides/howto/af_xdp_dp.rst +3 -3
@@ -20,7 +20,7 @@ The AF_XDP DP provisions and advertises networking interfaces to Kubernetes, while the CNI configures and plumbs network interfaces for the Pod. This document explains how to use the `AF_XDP Device Plugin for Kubernetes`_ -with a DPDK application using the :doc:`../nics/af_xdp`. +with a DPDK application using the :doc:`/nics/af_xdp`. .. _AF_XDP Device Plugin for Kubernetes: https://github.com/redhat-et/afxdp-plugins-for-kubernetes
@@ -28,7 +28,7 @@ with a DPDK application using the :doc:`../nics/af_xdp`. Background ---------- -The standard :doc:`../nics/af_xdp` initialization process involves loading an eBPF program +The standard :doc:`/nics/af_xdp` initialization process involves loading an eBPF program onto the kernel netdev to be used by the PMD. This operation requires root or escalated Linux privileges and thus prevents the PMD from working in an unprivileged container.
@@ -130,7 +130,7 @@ Device Plugin and DPDK container prerequisites: * dpdk-testpmd application should have AF_XDP feature enabled. - For further information see the docs for the: :doc:`../../nics/af_xdp`. + For further information see the docs for the: :doc:`/nics/af_xdp`. Example
doc/guides/howto/flow_bifurcation.rst +1 -1
@@ -56,7 +56,7 @@ the :ref:`flow_isolated_mode` must be configured, so there is no default rule routing traffic to userspace. There is no specific instructions to follow. -The recommended reading is the :doc:`../prog_guide/ethdev/flow_offload` guide. +The recommended reading is the :doc:`/prog_guide/ethdev/flow_offload` guide. Below is an example of testpmd commands for receiving VXLAN 42 in 4 queues of the DPDK port 0, while all other packets go to the kernel:
doc/guides/howto/packet_capture_framework.rst +3 -3
@@ -19,16 +19,16 @@ There are two sample applications: ``dpdk-dumpcap`` and older ``dpdk-pdump``. Introduction ------------ -The :doc:`librte_pdump <../prog_guide/pdump_lib>` library provides the API +The :doc:`librte_pdump </prog_guide/pdump_lib>` library provides the API required to allow users to initialize the packet capture framework and to enable or disable packet capture. The library works on a multi-process communication model and its usage is recommended for debugging purposes. -The :doc:`librte_pcapng <../prog_guide/pcapng_lib>` library provides the API +The :doc:`librte_pcapng </prog_guide/pcapng_lib>` library provides the API to format packets and write them to a file in Pcapng format. -The :doc:`dpdk-dumpcap <../tools/dumpcap>` is a tool that captures packets in +The :doc:`dpdk-dumpcap </tools/dumpcap>` is a tool that captures packets in like Wireshark dumpcap does for Linux. It runs as a DPDK secondary process and captures packets from one or more interfaces and writes them to a file in Pcapng format.
doc/guides/howto/pvp_reference_benchmark.rst +2 -2
@@ -97,7 +97,7 @@ Build Qemu: DPDK build ~~~~~~~~~~ -See :doc:`../linux_gsg/build_dpdk` for details. +See :doc:`/linux_gsg/build_dpdk` for details. Testpmd launch
@@ -304,7 +304,7 @@ Guest tuning DPDK build ~~~~~~~~~~ -See :doc:`../linux_gsg/build_dpdk` for details. +See :doc:`/linux_gsg/build_dpdk` for details. Testpmd launch
doc/guides/howto/rte_flow.rst +1 -1
@@ -8,7 +8,7 @@ This document demonstrates some concrete examples for programming flow rules with the ``rte_flow`` APIs. * Detail of the rte_flow APIs can be found in the following link: - :doc:`../prog_guide/ethdev/flow_offload`. + :doc:`/prog_guide/ethdev/flow_offload`. * Details of the TestPMD commands to set the flow rules can be found in the following link: :ref:`TestPMD Flow rules <testpmd_rte_flow>`
doc/guides/howto/security.rst +23 -23
104 lines not on this page · raw message
doc/guides/howto/telemetry.rst +1 -1
@@ -13,7 +13,7 @@ ethdev port list, and eal parameters. Telemetry Interface ------------------- -The :doc:`../prog_guide/telemetry_lib` opens a socket with path +The :doc:`/prog_guide/telemetry_lib` opens a socket with path *<runtime_directory>/dpdk_telemetry.<version>*. The version represents the telemetry version, the latest is v2. For example, a client would connect to a socket with path */var/run/dpdk/\*/dpdk_telemetry.v2* (when the primary process
doc/guides/linux_gsg/doc_roadmap.include.rst +14 -14
@@ -6,7 +6,7 @@ The following is a list of DPDK documents in the suggested reading order: -* :doc:`../rel_notes/index`: Provides release-specific information, including supported +* :doc:`/rel_notes/index`: Provides release-specific information, including supported features, limitations, fixed issues, known issues and so on. Also, provides the answers to frequently asked questions in FAQ format.
@@ -14,7 +14,7 @@ The following is a list of DPDK documents in the suggested reading order: configure the DPDK; designed to get users up and running quickly with the software. -* :doc:`../prog_guide/index`: Describes: +* :doc:`/prog_guide/index`: Describes: * The software architecture and how to use it (through examples), specifically in a Linux* application environment
@@ -31,31 +31,31 @@ The following is a list of DPDK documents in the suggested reading order: * `API Reference <../../../api/html/index.html>`_: Provides detailed information about DPDK functions, data structures and other programming constructs. -* :doc:`../sample_app_ug/index`: Describes a set of sample applications. +* :doc:`/sample_app_ug/index`: Describes a set of sample applications. Each chapter describes a sample application that showcases specific functionality and provides instructions on how to compile, run and use the sample application. * **Driver Reference Guides**: Provides details on each driver inside a particular category. Separate guides exist for each of: - * :doc:`../bbdevs/index` + * :doc:`/bbdevs/index` - * :doc:`../compressdevs/index` + * :doc:`/compressdevs/index` - * :doc:`../cryptodevs/index` + * :doc:`/cryptodevs/index` - * :doc:`../dmadevs/index` + * :doc:`/dmadevs/index` - * :doc:`../eventdevs/index` + * :doc:`/eventdevs/index` - * :doc:`../gpus/index` + * :doc:`/gpus/index` - * :doc:`../mempool/index` + * :doc:`/mempool/index` - * :doc:`../nics/index` + * :doc:`/nics/index` - * :doc:`../rawdevs/index` + * :doc:`/rawdevs/index` - * :doc:`../regexdevs/index` + * :doc:`/regexdevs/index` - * :doc:`../vdpadevs/index` + * :doc:`/vdpadevs/index`
doc/guides/linux_gsg/sys_reqs.rst +1 -1
@@ -88,7 +88,7 @@ For libraries the additional dependencies include: For poll-mode drivers, the additional dependencies for each driver can be found in that driver's documentation in the relevant DPDK guide document, -e.g. :doc:`../nics/index` +e.g. :doc:`/nics/index` .. _linux_gsg_running_apps:
doc/guides/mempool/cnxk.rst +1 -1
@@ -38,7 +38,7 @@ CN20k NPA supports: Prerequisites and Compilation procedure --------------------------------------- - See :doc:`../platform/cnxk` for setup information. + See :doc:`/platform/cnxk` for setup information. Pre-Installation Configuration ------------------------------
doc/guides/mempool/octeontx.rst +1 -1
@@ -46,7 +46,7 @@ Please note that enabling debugging options may affect system performance. Driver Compilation ~~~~~~~~~~~~~~~~~~ -See :doc:`../linux_gsg/build_dpdk` for more information on compiling DPDK. +See :doc:`/linux_gsg/build_dpdk` for more information on compiling DPDK. Initialization
doc/guides/mempool/ring.rst +1 -1
@@ -49,4 +49,4 @@ mode is usually the most suitable and the fastest one. For overcommitted scenarios (multiple threads share same set of cores) the ``ring_mt_rts`` or ``ring_mt_hts`` modes usually provide a better alternative. For more information about ``rte_ring`` structure, behaviour and available -synchronisation modes please refer to: :doc:`../prog_guide/ring_lib`. +synchronisation modes please refer to: :doc:`/prog_guide/ring_lib`.
doc/guides/mempool/stack.rst +1 -1
@@ -40,4 +40,4 @@ be preempted at any point during a push or pop operation and will not impede the progress of any other thread. For a more detailed description of the stack implementations, please refer to -:doc:`../prog_guide/stack_lib`. +:doc:`/prog_guide/stack_lib`.
doc/guides/mldevs/cnxk.rst +1 -1
@@ -157,7 +157,7 @@ it is required to update environment variables as below: CMAKE_PREFIX_PATH='<install_prefix>/lib/cmake/tvm:<install_prefix>/lib/cmake/dlpack:<install_prefix>/lib/cmake/dmlc' PKG_CONFIG_PATH='<install_prefix>/lib/pkgconfig' -Refer to :doc:`../platform/cnxk` for instructions to build your DPDK application. +Refer to :doc:`/platform/cnxk` for instructions to build your DPDK application. Initialization
doc/guides/nics/bnxt.rst +1 -1
@@ -77,7 +77,7 @@ It can direct some traffic, for example data plane traffic, to DPDK. Rest of the traffic, for example control plane traffic, would be redirected to the traditional Linux networking stack. -Refer to :doc:`../howto/flow_bifurcation` +Refer to :doc:`/howto/flow_bifurcation` Benefits of the flow bifurcation include:
doc/guides/nics/build_and_test.rst +1 -1
@@ -24,7 +24,7 @@ as described in the "Getting Started Guide" for your platform. This will also build testpmd. Detailed instructions are available -in the :doc:`meson build guide <../prog_guide/build-sdk-meson>`. +in the :doc:`meson build guide </prog_guide/build-sdk-meson>`. The ethdev layer supports below build options for debug purpose:
doc/guides/nics/cnxk.rst +1 -1
@@ -46,7 +46,7 @@ Features of the CNXK Ethdev PMD are: Prerequisites ------------- -See :doc:`../platform/cnxk` for setup information. +See :doc:`/platform/cnxk` for setup information. Driver compilation and testing
doc/guides/nics/cpfl.rst +2 -2
@@ -15,10 +15,10 @@ for more information. Linux Prerequisites ------------------- -Follow the DPDK :doc:`../linux_gsg/index` to setup the basic DPDK environment. +Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. To get better performance on Intel platforms, -please follow the :doc:`../linux_gsg/nic_perf_intel_platform`. +please follow the :doc:`/linux_gsg/nic_perf_intel_platform`. Recommended Matching List
doc/guides/nics/dpaa.rst +1 -1
@@ -188,7 +188,7 @@ Supported DPAA SoCs Prerequisites ------------- -See :doc:`../platform/dpaa` for setup information +See :doc:`/platform/dpaa` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>`
doc/guides/nics/dpaa2.rst +2 -2
@@ -420,7 +420,7 @@ Supported DPAA2 SoCs Prerequisites ------------- -See :doc:`../platform/dpaa2` for setup information +See :doc:`/platform/dpaa2` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
@@ -619,7 +619,7 @@ of configured tx queues. After hierarchy is complete it can be committed. -For an additional description please refer to DPDK :doc:`../prog_guide/ethdev/traffic_management`. +For an additional description please refer to DPDK :doc:`/prog_guide/ethdev/traffic_management`. Supported Features ~~~~~~~~~~~~~~~~~~
doc/guides/nics/features.rst +1 -1
@@ -1018,7 +1018,7 @@ PMD power management using monitor addresses -------------------------------------------- Supports getting a monitoring condition to use together with Ethernet PMD power -management (see :doc:`../prog_guide/power_man` for more details). +management (see :doc:`/prog_guide/power_man` for more details). * **[implements] eth_dev_ops**: ``get_monitor_addr``
doc/guides/nics/i40e.rst +1 -1
@@ -78,7 +78,7 @@ Linux Prerequisites Windows Prerequisites --------------------- -- Follow the :doc:`guide for Windows <../windows_gsg/run_apps>` +- Follow the :doc:`guide for Windows </windows_gsg/run_apps>` to setup the basic DPDK environment. - Identify the Intel® Ethernet adapter and get the latest NVM/FW version.
doc/guides/nics/ice.rst +1 -1
@@ -34,7 +34,7 @@ Linux Prerequisites Windows Prerequisites --------------------- -- Follow the :doc:`guide for Windows <../windows_gsg/run_apps>` +- Follow the :doc:`guide for Windows </windows_gsg/run_apps>` to setup the basic DPDK environment. - Identify the Intel® Ethernet adapter and get the latest NVM/FW version.
doc/guides/nics/idpf.rst +2 -2
@@ -13,10 +13,10 @@ Intel\ |reg| Infrastructure Processing Unit (Intel\ |reg| IPU) E2100. Linux Prerequisites ------------------- -Follow the DPDK :doc:`../linux_gsg/index` to setup the basic DPDK environment. +Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. To get better performance on Intel platforms, -please follow the :doc:`../linux_gsg/nic_perf_intel_platform`. +please follow the :doc:`/linux_gsg/nic_perf_intel_platform`. Recommended Matching List
doc/guides/nics/ixgbe.rst +1 -1
@@ -102,7 +102,7 @@ By default, IXGBE_MAX_RING_DESC is set to 8192 and RTE_PMD_IXGBE_RX_MAX_BURST is Windows Prerequisites and Pre-conditions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Follow the :doc:`guide for Windows <../windows_gsg/run_apps>` +- Follow the :doc:`guide for Windows </windows_gsg/run_apps>` to setup the basic DPDK environment. - Identify the Intel\ |reg| Ethernet adapter and get the latest NVM/FW version.
doc/guides/nics/memif.rst +1 -1
@@ -238,7 +238,7 @@ Show status:: testpmd> show port stats 0 -For more details on testpmd please refer to :doc:`../testpmd_app_ug/index`. +For more details on testpmd please refer to :doc:`/testpmd_app_ug/index`. Example: testpmd and VPP ------------------------
doc/guides/nics/mlx4.rst +1 -1
@@ -306,7 +306,7 @@ Quick Start Guide service openibd restart #. Install DPDK and you are ready to go. - See :doc:`compilation instructions <../linux_gsg/build_dpdk>`. + See :doc:`compilation instructions </linux_gsg/build_dpdk>`. Performance tuning ------------------
doc/guides/nics/mlx5.rst +3 -3
@@ -126,7 +126,7 @@ with :ref:`hardware steering (HWS) <mlx5_hws>`, a WQE-based high scaling and safer flow insertion/destruction. It allows inserting millions of rules per second. -While using the :doc:`synchronous flow API <../prog_guide/ethdev/flow_offload>` +While using the :doc:`synchronous flow API </prog_guide/ethdev/flow_offload>` is convenient and easy to manage, it is not efficient enough at a large scale. That's why mlx5 allows offloading many features asynchronously.
@@ -154,7 +154,7 @@ All references to these flows held by the application should be discarded directly but neither destroyed nor flushed. The application should re-create the flows as required after the port restart. -See :doc:`../../platform/mlx5` guide for more design details, +See :doc:`/platform/mlx5` guide for more design details, including prerequisites installation. :ref:`All the features are detailed in a chapter below. <mlx5_net_features>`
@@ -1332,7 +1332,7 @@ Flow Rule Creation In mlx5 devices, the flow rules are inserted in HW tables. -As explained in the :doc:`flow API documentation <../prog_guide/ethdev/flow_offload>`, +As explained in the :doc:`flow API documentation </prog_guide/ethdev/flow_offload>`, a rule can be created synchronously (``rte_flow_create``) or asynchronously (``rte_flow_async_create``) with the help of a template table (``rte_flow_template_table_create``).
doc/guides/nics/mvpp2.rst +3 -3
@@ -401,7 +401,7 @@ can be configured via generic flow API offered by DPDK. The :ref:`flow_isolated_mode` is supported. -For an additional description please refer to DPDK :doc:`../prog_guide/ethdev/flow_offload`. +For an additional description please refer to DPDK :doc:`/prog_guide/ethdev/flow_offload`. Supported flow actions ~~~~~~~~~~~~~~~~~~~~~~
@@ -576,7 +576,7 @@ MVPP2 PMD supports DPDK traffic metering and policing that allows the following: #. Gather statistics. -For an additional description please refer to DPDK :doc:`../prog_guide/ethdev/traffic_metering_and_policing`. +For an additional description please refer to DPDK :doc:`/prog_guide/ethdev/traffic_metering_and_policing`. The policer objects defined by this feature can work with the default policer defined via config file as described in :ref:`QoS Support <extconf>`.
@@ -655,7 +655,7 @@ of configured tx queues. After hierarchy is complete it can be committed. -For an additional description please refer to DPDK :doc:`../prog_guide/ethdev/traffic_management`. +For an additional description please refer to DPDK :doc:`/prog_guide/ethdev/traffic_management`. Limitations ~~~~~~~~~~~
doc/guides/nics/octeon_ep.rst +1 -1
@@ -40,4 +40,4 @@ must be installed separately: allocates resources such as number of VFs, input/output queues for itself and the number of i/o queues each VF can use. -See :doc:`../platform/cnxk` for SDP interface information which provides PCIe endpoint support for a remote host. +See :doc:`/platform/cnxk` for SDP interface information which provides PCIe endpoint support for a remote host.
doc/guides/nics/octeontx.rst +1 -1
@@ -47,7 +47,7 @@ The features supported by the device and not yet supported by this PMD include: Prerequisites ------------- -See :doc:`../platform/octeontx` for setup information. +See :doc:`/platform/octeontx` for setup information. Configuration -------------
doc/guides/platform/bluefield.rst +4 -4
@@ -33,12 +33,12 @@ Common Offload HW Drivers #. **NIC Driver** - See :doc:`../nics/mlx5` for NVIDIA mlx5 NIC driver information. + See :doc:`/nics/mlx5` for NVIDIA mlx5 NIC driver information. #. **Cryptodev Driver** This is based on the crypto extension support of armv8. See - :doc:`../cryptodevs/armv8` for armv8 crypto driver information. + :doc:`/cryptodevs/armv8` for armv8 crypto driver information. .. note::
@@ -71,7 +71,7 @@ an x86 based platform. Native Compilation ~~~~~~~~~~~~~~~~~~ -Refer to :doc:`../nics/mlx5` for prerequisites. Either NVIDIA MLNX_OFED/EN or +Refer to :doc:`/nics/mlx5` for prerequisites. Either NVIDIA MLNX_OFED/EN or rdma-core library with corresponding kernel drivers is required. .. code-block:: console
@@ -82,7 +82,7 @@ rdma-core library with corresponding kernel drivers is required. Cross Compilation ~~~~~~~~~~~~~~~~~ -Refer to :doc:`../linux_gsg/cross_build_dpdk_for_arm64` to install the cross +Refer to :doc:`/linux_gsg/cross_build_dpdk_for_arm64` to install the cross toolchain for ARM64. Base on that, additional header files and libraries are required:
doc/guides/platform/cnxk.rst +10 -10
@@ -160,25 +160,25 @@ HW Offload Drivers This section lists dataplane H/W block(s) available in cnxk SoC. #. **Ethdev Driver** - See :doc:`../nics/cnxk` for NIX Ethdev driver information. + See :doc:`/nics/cnxk` for NIX Ethdev driver information. #. **Mempool Driver** - See :doc:`../mempool/cnxk` for NPA mempool driver information. + See :doc:`/mempool/cnxk` for NPA mempool driver information. #. **Baseband PHY Driver** - See :doc:`../rawdevs/cnxk_bphy` for Baseband PHY driver information. + See :doc:`/rawdevs/cnxk_bphy` for Baseband PHY driver information. #. **Dmadev Driver** - See :doc:`../dmadevs/cnxk` for DPI Dmadev driver information. + See :doc:`/dmadevs/cnxk` for DPI Dmadev driver information. #. **Regex Device Driver** - See :doc:`../regexdevs/cn9k` for REE Regex device driver information. + See :doc:`/regexdevs/cn9k` for REE Regex device driver information. #. **ML Device Driver** - See :doc:`../mldevs/cnxk` for Machine Learning device driver information. + See :doc:`/mldevs/cnxk` for Machine Learning device driver information. #. **RVU LF Driver** - See :doc:`../rawdevs/cnxk_rvu_lf` for RVU LF driver information. + See :doc:`/rawdevs/cnxk_rvu_lf` for RVU LF driver information. Procedure to Setup Platform ---------------------------
@@ -242,7 +242,7 @@ compatible board: Alternatively, the Marvell SDK provides the buildroot based root filesystem. The SDK includes all the above prerequisites necessary to bring up the cnxk board. -- Follow the DPDK :doc:`../linux_gsg/index` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Debugging Options
@@ -597,7 +597,7 @@ Disabling the iova field in the mbuf frees it up to be used as a dynamic field. Native Compilation ~~~~~~~~~~~~~~~~~~ -Refer to :doc:`../linux_gsg/build_dpdk` for generic native builds. +Refer to :doc:`/linux_gsg/build_dpdk` for generic native builds. CN9K:
@@ -616,7 +616,7 @@ CN10K: Cross Compilation ~~~~~~~~~~~~~~~~~ -Refer to :doc:`../linux_gsg/cross_build_dpdk_for_arm64` for generic arm64 details. +Refer to :doc:`/linux_gsg/cross_build_dpdk_for_arm64` for generic arm64 details. CN9K:
doc/guides/platform/dpaa.rst +3 -3
@@ -24,15 +24,15 @@ Common Offload HW Block Drivers #. **Nics Driver** - See :doc:`../nics/dpaa` for NXP dpaa nic driver information. + See :doc:`/nics/dpaa` for NXP dpaa nic driver information. #. **Cryptodev Driver** - See :doc:`../cryptodevs/dpaa_sec` for NXP dpaa cryptodev driver information. + See :doc:`/cryptodevs/dpaa_sec` for NXP dpaa cryptodev driver information. #. **Eventdev Driver** - See :doc:`../eventdevs/dpaa` for NXP dpaa eventdev driver information. + See :doc:`/eventdevs/dpaa` for NXP dpaa eventdev driver information. Steps To Setup Platform
doc/guides/platform/dpaa2.rst +5 -5
@@ -26,23 +26,23 @@ Common Offload HW Block Drivers #. **Nics Driver** - See :doc:`../nics/dpaa2` for NXP dpaa2 nic driver information. + See :doc:`/nics/dpaa2` for NXP dpaa2 nic driver information. #. **Cryptodev Driver** - See :doc:`../cryptodevs/dpaa2_sec` for NXP dpaa2 cryptodev driver information. + See :doc:`/cryptodevs/dpaa2_sec` for NXP dpaa2 cryptodev driver information. #. **Eventdev Driver** - See :doc:`../eventdevs/dpaa2` for NXP dpaa2 eventdev driver information. + See :doc:`/eventdevs/dpaa2` for NXP dpaa2 eventdev driver information. #. **Rawdev AIOP CMDIF Driver** - See :doc:`../rawdevs/dpaa2_cmdif` for NXP dpaa2 AIOP command interface driver information. + See :doc:`/rawdevs/dpaa2_cmdif` for NXP dpaa2 AIOP command interface driver information. #. **DMA Driver** - See :doc:`../dmadevs/dpaa2` for NXP dpaa2 QDMA driver information. + See :doc:`/dmadevs/dpaa2` for NXP dpaa2 QDMA driver information. Steps To Setup Platform
doc/guides/platform/mlx5.rst +6 -6
@@ -64,11 +64,11 @@ For example: ``class=crypto:regex`` will probe both Crypto and RegEx PMDs. Supported Classes ~~~~~~~~~~~~~~~~~ -- ``class=compress`` for :doc:`../../compressdevs/mlx5`. -- ``class=crypto`` for :doc:`../../cryptodevs/mlx5`. -- ``class=eth`` for :doc:`../../nics/mlx5`. -- ``class=regex`` for :doc:`../../regexdevs/mlx5`. -- ``class=vdpa`` for :doc:`../../vdpadevs/mlx5`. +- ``class=compress`` for :doc:`/compressdevs/mlx5`. +- ``class=crypto`` for :doc:`/cryptodevs/mlx5`. +- ``class=eth`` for :doc:`/nics/mlx5`. +- ``class=regex`` for :doc:`/regexdevs/mlx5`. +- ``class=vdpa`` for :doc:`/vdpadevs/mlx5`. By default, the mlx5 device will be probed by the ``eth`` PMD.
@@ -207,7 +207,7 @@ to match the kernel modules and libraries they come with. Several versions of NVIDIA MLNX_OFED/EN are available. Installing the version this DPDK release was developed and tested against is strongly recommended. - Please check the "Tested Platforms" section in the :doc:`../../rel_notes/index`. + Please check the "Tested Platforms" section in the :doc:`/rel_notes/index`. .. _mlx5_windows_prerequisites:
doc/guides/platform/octeontx.rst +5 -5
@@ -16,15 +16,15 @@ Common Offload HW Block Drivers ------------------------------- #. **Crypto Driver** - See :doc:`../cryptodevs/octeontx` for octeontx crypto driver + See :doc:`/cryptodevs/octeontx` for octeontx crypto driver information. #. **Eventdev Driver** - See :doc:`../eventdevs/octeontx` for octeontx ssovf eventdev driver + See :doc:`/eventdevs/octeontx` for octeontx ssovf eventdev driver information. #. **Mempool Driver** - See :doc:`../mempool/octeontx` for octeontx fpavf mempool driver + See :doc:`/mempool/octeontx` for octeontx fpavf mempool driver information. Steps To Setup Platform
@@ -60,7 +60,7 @@ OCTEON TX compatible board: as part of SDK from Cavium. The SDK includes all the above prerequisites necessary to bring up a OCTEON TX board. Please refer :ref:`setup_platform_using_OCTEON_TX_SDK`. -#. Follow the DPDK :doc:`../linux_gsg/index` to setup the basic DPDK environment. +#. Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. .. _setup_platform_using_OCTEON_TX_SDK:
@@ -111,7 +111,7 @@ The DPDK applications can be cross-compiled on any x86 based platform. The OCTEON TX SDK need to be installed on the build system. The SDK package will provide the required toolchain etc. -Refer to :doc:`../linux_gsg/cross_build_dpdk_for_arm64` for generic arm64 details. +Refer to :doc:`/linux_gsg/cross_build_dpdk_for_arm64` for generic arm64 details. The following steps can be used to perform cross-compilation with OCTEON TX SDK 6.2.0 patch 3:
doc/guides/prog_guide/build-sdk-meson.rst +3 -3
@@ -48,9 +48,9 @@ https://ninja-build.org/ It is best advised to go over the following links for the complete dependencies: -* :doc:`Linux <../linux_gsg/sys_reqs>` -* :doc:`FreeBSD <../freebsd_gsg/build_dpdk>` -* :doc:`Windows <../windows_gsg/build_dpdk>` +* :doc:`Linux </linux_gsg/sys_reqs>` +* :doc:`FreeBSD </freebsd_gsg/build_dpdk>` +* :doc:`Windows </windows_gsg/build_dpdk>` Configuring the Build
doc/guides/prog_guide/build_app.rst +1 -1
@@ -21,7 +21,7 @@ The binary is generated in the build directory by default: ~/DPDK/examples/helloworld$ ls build/app helloworld helloworld.map -Please refer to :doc:`../linux_gsg/build_dpdk` for details on compiling with meson. +Please refer to :doc:`/linux_gsg/build_dpdk` for details on compiling with meson. Build Your Own Application Outside the Development Kit ------------------------------------------------------
doc/guides/prog_guide/cmdline.rst +1 -1
@@ -208,7 +208,7 @@ Those two commands will be: .. note:: For further examples of use of the command-line, see - :doc:`cmdline example application <../sample_app_ug/cmd_line>` + :doc:`cmdline example application </sample_app_ug/cmd_line>` Defining Command Result Structure ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/prog_guide/cryptodev_lib.rst +2 -2
@@ -10,7 +10,7 @@ APIs which support a number of different Crypto operations. The framework currently only supports cipher, authentication, chained cipher/authentication and AEAD symmetric and asymmetric Crypto operations. -The usages in security protocols are discussed in the :doc:`../howto/security` guide. +The usages in security protocols are discussed in the :doc:`/howto/security` guide. Design Principles -----------------
@@ -1127,4 +1127,4 @@ are shown below. capabilities>], "crypto_caps_n": <number of capabilities>}} For more information on how to use the Telemetry interface, see -the :doc:`../howto/telemetry`. +the :doc:`/howto/telemetry`.
doc/guides/prog_guide/devargs.rst +1 -1
@@ -183,7 +183,7 @@ Devargs can be specified on the command line when starting a DPDK application: ./myapp --vdev net_ring0 --vdev 'net_pcap0,rx_pcap=input.pcap' -See :doc:`../linux_gsg/linux_eal_parameters` for complete EAL parameter documentation. +See :doc:`/linux_gsg/linux_eal_parameters` for complete EAL parameter documentation. At Runtime (Hotplug)
doc/guides/prog_guide/dmadev.rst +1 -1
@@ -171,7 +171,7 @@ are shown below. {"/dmadev/stats": {"submitted": 0, "completed": 0, "errors": 0}} For more information on how to use the Telemetry interface, see -the :doc:`../howto/telemetry`. +the :doc:`/howto/telemetry`. Inter-domain DMA Transfers
doc/guides/prog_guide/power_man.rst +1 -1
@@ -179,7 +179,7 @@ The "monitor" mode is only supported in the following configurations and scenari * Not all Ethernet drivers support monitoring, even if the underlying platform may support the necessary CPU instructions. Please refer to - :doc:`../nics/overview` for more information. + :doc:`/nics/overview` for more information. API Overview for Ethernet PMD Power Management
doc/guides/prog_guide/profile_app.rst +1 -1
@@ -129,7 +129,7 @@ an ARMv8 machine. make sudo insmod pmu_el0_cycle_counter.ko -Please refer to :doc:`../linux_gsg/build_dpdk` for generic details on compiling DPDK with meson. +Please refer to :doc:`/linux_gsg/build_dpdk` for generic details on compiling DPDK with meson. In order to enable ``PMU`` based ``rte_rdtsc()``, user needs to configure the build with ``-Dc_args='-DRTE_ARM_EAL_RDTSC_USE_PMU'``.
doc/guides/prog_guide/rte_security.rst +2 -2
@@ -10,7 +10,7 @@ library defines generic APIs to create and free security sessions which can support full protocol offload as well as inline crypto operation with NIC or crypto devices. -The security protocols are discussed in the :doc:`../howto/security` guide. +The security protocols are discussed in the :doc:`/howto/security` guide. Design Principles -----------------
@@ -884,4 +884,4 @@ are shown below. capabilities>], "crypto_caps_n": <number of capabilities>}} For more information on how to use the Telemetry interface, see -the :doc:`../howto/telemetry`. +the :doc:`/howto/telemetry`.
doc/guides/prog_guide/source_org.rst +1 -1
@@ -40,4 +40,4 @@ They are located in the ``dpdk/app`` and ``dpdk/examples`` directories. The app directory contains sample applications that are used to test DPDK (such as autotests) or the Poll Mode Drivers (test-pmd). -The examples directory contains :doc:`Sample applications<../sample_app_ug/index>` that show how libraries can be used. +The examples directory contains :doc:`Sample applications </sample_app_ug/index>` that show how libraries can be used.
doc/guides/prog_guide/telemetry_lib.rst +1 -1
@@ -168,4 +168,4 @@ Using Commands To use commands, with a DPDK app running (e.g. testpmd), use the ``dpdk-telemetry.py`` script. -For details on its use, see the :doc:`../howto/telemetry`. +For details on its use, see the :doc:`/howto/telemetry`.
doc/guides/prog_guide/trace_lib.rst +1 -1
@@ -164,7 +164,7 @@ the trace buffers to the filesystem. By default, the trace files are stored in It can be overridden by the ``--trace-dir=<directory path>`` EAL command line option. -For more information, refer to :doc:`../linux_gsg/linux_eal_parameters` for +For more information, refer to :doc:`/linux_gsg/linux_eal_parameters` for trace EAL command line options. View and analyze the recorded events
doc/guides/rawdevs/dpaa2_cmdif.rst +1 -1
@@ -29,7 +29,7 @@ Supported DPAA2 SoCs Prerequisites ------------- -See :doc:`../platform/dpaa2` for setup information +See :doc:`/platform/dpaa2` for setup information - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
doc/guides/regexdevs/cn9k.rst +1 -1
@@ -22,7 +22,7 @@ Features of the CN9K REE PMD are: Prerequisites and Compilation procedure --------------------------------------- - See :doc:`../platform/cnxk` for setup information. + See :doc:`/platform/cnxk` for setup information. Device Setup ------------
doc/guides/regexdevs/mlx5.rst +1 -1
@@ -16,7 +16,7 @@ This PMD is configuring the RegEx HW engine. For the PMD to work, the application must supply a precompiled rule file in rof2 format. -See :doc:`../../platform/mlx5` guide for more design details. +See :doc:`/platform/mlx5` guide for more design details. Features --------
doc/guides/rel_notes/deprecation.rst +2 -2
@@ -4,8 +4,8 @@ ABI and API Deprecation ======================= -See the guidelines document for details of the :doc:`ABI policy -<../contributing/abi_policy>`. +See the guidelines document for details +of the :doc:`ABI policy </contributing/abi_policy>`. With DPDK 23.11, there will be a new major ABI version: 24. This means that during the development of 23.11,
doc/guides/rel_notes/release_17_02.rst +2 -2
@@ -43,7 +43,7 @@ New Features higher-level than the legacy filtering framework, which it encompasses and supersedes (including all functions and filter types) . - See the :doc:`../prog_guide/ethdev/flow_offload` documentation for more information. + See the :doc:`/prog_guide/ethdev/flow_offload` documentation for more information. * **Added firmware version get API.**
@@ -215,7 +215,7 @@ New Features therefore, it can better fit in CPU cache and scale to millions of flow keys. - See the :doc:`../prog_guide/efd_lib` documentation in + See the :doc:`/prog_guide/efd_lib` documentation in the Programmers Guide document, for more information.
doc/guides/rel_notes/release_17_11.rst +8 -8
@@ -22,7 +22,7 @@ New Features * **Added a new driver for Marvell Armada 7k/8k devices.** Added the new ``mrvl`` net driver for Marvell Armada 7k/8k devices. See the - :doc:`../nics/mvpp2` NIC guide for more details on this new driver. + :doc:`/nics/mvpp2` NIC guide for more details on this new driver. * **Updated mlx4 driver.**
@@ -77,7 +77,7 @@ New Features * DPAA Mempool driver for supporting offloaded packet memory pool * DPAA PMD for DPAA devices - See the :doc:`../nics/dpaa` document for more details of this new driver. + See the :doc:`/nics/dpaa` document for more details of this new driver. * **Updated support for Cavium OCTEONTX Device.**
@@ -87,7 +87,7 @@ New Features * OCTEONTX Ethdev PMD * OCTEONTX Eventdev-Ethdev Rx adapter - See the :doc:`../nics/octeontx` document for more details of this new driver. + See the :doc:`/nics/octeontx` document for more details of this new driver. * **Added PF support to the Netronome NFP PMD.**
@@ -132,7 +132,7 @@ New Features * The DES DOCSIS BPI algorithm. This change requires version 0.47 of the IPsec Multi-buffer library. For - more details see the :doc:`../cryptodevs/aesni_mb` documentation. + more details see the :doc:`/cryptodevs/aesni_mb` documentation. * **Updated the OpenSSL PMD.**
@@ -144,13 +144,13 @@ New Features * **Added NXP DPAA SEC crypto PMD.** A new ``dpaa_sec`` hardware based crypto PMD for NXP DPAA devices has been - added. See the :doc:`../cryptodevs/dpaa_sec` document for more details. + added. See the :doc:`/cryptodevs/dpaa_sec` document for more details. * **Added MRVL crypto PMD.** A new crypto PMD has been added, which provides several ciphering and hashing algorithms. All cryptography operations use the MUSDK library crypto API. - See the :doc:`../cryptodevs/mvsam` document for more details. + See the :doc:`/cryptodevs/mvsam` document for more details. * **Add new benchmarking mode to dpdk-test-crypto-perf application.**
@@ -164,7 +164,7 @@ New Features for protocols like IPsec using inline ipsec offload to ethernet devices or full protocol offload with lookaside crypto devices. - See the :doc:`../prog_guide/rte_security` section of the DPDK Programmers + See the :doc:`/prog_guide/rte_security` section of the DPDK Programmers Guide document for more information. * **Updated the DPAA2_SEC crypto driver to support rte_security.**
@@ -227,7 +227,7 @@ New Features return not only whether the element has been inserted in one of the sets but also which set it belongs to. - See the :doc:`../prog_guide/member_lib` documentation in the Programmers + See the :doc:`/prog_guide/member_lib` documentation in the Programmers Guide, for more information. * **Added the Generic Segmentation Offload Library.**
doc/guides/rel_notes/release_18_02.rst +2 -2
@@ -132,7 +132,7 @@ New Features The current release only supports 3GPP CRC, Turbo Coding and Rate Matching operations, as specified in 3GPP TS 36.212. - See the :doc:`../prog_guide/bbdev` programmer's guide for more details. + See the :doc:`/prog_guide/bbdev` programmer's guide for more details. * **Added New eventdev Ordered Packet Distribution Library (OPDL) PMD.**
@@ -175,7 +175,7 @@ New Features structures/buffers. Also, southbound APIs provide a means of integrating devices either as part of a physical bus (PCI, FSLMC etc) or through ``vdev``. - See the :doc:`../prog_guide/rawdev` programmer's guide for more details. + See the :doc:`/prog_guide/rawdev` programmer's guide for more details. * **Added new multi-process communication channel.**
doc/guides/rel_notes/release_18_05.rst +7 -7
@@ -124,7 +124,7 @@ New Features * **Added Ethernet poll mode driver for AMD XGBE devices.** Added the new ``axgbe`` ethernet poll mode driver for AMD XGBE devices. - See the :doc:`../nics/axgbe` nic driver guide for more details on this + See the :doc:`/nics/axgbe` nic driver guide for more details on this new driver. * **Updated szedata2 PMD.**
@@ -186,13 +186,13 @@ New Features Added a new Poll Mode Driver for virtio crypto devices, which provides AES-CBC ciphering and AES-CBC with HMAC-SHA1 algorithm-chaining. See the - :doc:`../cryptodevs/virtio` crypto driver guide for more details on + :doc:`/cryptodevs/virtio` crypto driver guide for more details on this new driver. * **Added AMD CCP Crypto PMD.** Added the new ``ccp`` crypto driver for AMD CCP devices. See the - :doc:`../cryptodevs/ccp` crypto driver guide for more details on + :doc:`/cryptodevs/ccp` crypto driver guide for more details on this new driver. * **Updated AESNI MB PMD.**
@@ -209,7 +209,7 @@ New Features * **Added a new compression poll mode driver using Intels ISA-L.** Added the new ``ISA-L`` compression driver, for compression and decompression - operations in software. See the :doc:`../compressdevs/isal` compression driver + operations in software. See the :doc:`/compressdevs/isal` compression driver guide for details on this new driver. * **Added the Event Timer Adapter Library.**
@@ -224,7 +224,7 @@ New Features The OcteonTx Timer block enables software to schedule events for a future time, it is exposed to an application via the Event timer adapter library. - See the :doc:`../eventdevs/octeontx` guide for more details + See the :doc:`/eventdevs/octeontx` guide for more details * **Added Event Crypto Adapter Library.**
@@ -245,7 +245,7 @@ New Features with OPAE (Open Programmable Acceleration Engine) shared code to provide common FPGA management ops for FPGA operation. - See the :doc:`../rawdevs/ifpga` programmer's guide for more details. + See the :doc:`/rawdevs/ifpga` programmer's guide for more details. * **Added DPAA2 QDMA Driver (in rawdev).**
@@ -264,7 +264,7 @@ New Features between GPP and AIOP is achieved via using DPCI devices exposed by MC for GPP <--> AIOP interaction. - See the :doc:`../rawdevs/dpaa2_cmdif` guide for more details. + See the :doc:`/rawdevs/dpaa2_cmdif` guide for more details. * **Added device event monitor framework.**
doc/guides/rel_notes/release_18_08.rst +2 -2
@@ -10,7 +10,7 @@ New Features * **Added support for Hyper-V netvsc PMD.** The new ``netvsc`` poll mode driver provides native support for - networking on Hyper-V. See the :doc:`../nics/netvsc` NIC driver guide + networking on Hyper-V. See the :doc:`/nics/netvsc` NIC driver guide for more details on this new driver. * **Added Flow API support for CXGBE PMD.**
@@ -73,7 +73,7 @@ New Features * **Added a new compression PMD using Intel's QuickAssist (QAT) device family.** Added the new ``QAT`` compression driver, for compression and decompression - operations in software. See the :doc:`../compressdevs/qat_comp` compression + operations in software. See the :doc:`/compressdevs/qat_comp` compression driver guide for details on this new driver. * **Updated the ISA-L PMD.**
doc/guides/rel_notes/release_18_11.rst +5 -5
@@ -86,17 +86,17 @@ New Features * **Added a new net driver for Marvell Armada 3k device.** Added the new ``mvneta`` net driver for Marvell Armada 3k device. See the - :doc:`../nics/mvneta` NIC guide for more details on this new driver. + :doc:`/nics/mvneta` NIC guide for more details on this new driver. * **Added NXP ENETC PMD.** Added the new enetc driver for the NXP enetc platform. See the - :doc:`../nics/enetc` NIC driver guide for more details on this new driver. + :doc:`/nics/enetc` NIC driver guide for more details on this new driver. * **Added Ethernet poll mode driver for Aquantia aQtion family of 10G devices.** Added the new ``atlantic`` ethernet poll mode driver for Aquantia XGBE devices. - See the :doc:`../nics/atlantic` NIC driver guide for more details on this + See the :doc:`/nics/atlantic` NIC driver guide for more details on this driver. * **Updated mlx5 driver.**
@@ -185,7 +185,7 @@ New Features * **Added NXP CAAM JR PMD.** Added the new caam job ring driver for NXP platforms. See the - :doc:`../cryptodevs/caam_jr` guide for more details on this new driver. + :doc:`/cryptodevs/caam_jr` guide for more details on this new driver. * **Added support for GEN3 devices to Intel QAT driver.**
@@ -239,7 +239,7 @@ New Features executed per core and uses the number of empty polls as a hint for system power management. - See the :doc:`../prog_guide/power_man` section of the DPDK Programmers + See the :doc:`/prog_guide/power_man` section of the DPDK Programmers Guide document for more information. * **Added JSON power policy interface for containers.**
doc/guides/rel_notes/release_19_02.rst +3 -3
@@ -82,7 +82,7 @@ New Features * **Added ICE net PMD.** Added the new ``ice`` net driver for Intel(R) Ethernet Network Adapters E810. - See the :doc:`../nics/ice` NIC guide for more details on this new driver. + See the :doc:`/nics/ice` NIC guide for more details on this new driver. * **Added support for SW-assisted VDPA live migration.**
@@ -112,7 +112,7 @@ New Features algorithm-chaining, and AES-GCM and NULL algorithms only at present. It is planned to add more algorithms in future releases. - See :doc:`../prog_guide/ipsec_lib` for more information. + See :doc:`/prog_guide/ipsec_lib` for more information. * **Updated the ipsec-secgw sample application.**
@@ -126,7 +126,7 @@ New Features ipsec-secgw application. It is planned to add the outstanding functionality in future releases. - See :doc:`../sample_app_ug/ipsec_secgw` for more information. + See :doc:`/sample_app_ug/ipsec_secgw` for more information. * **Enabled checksum support in the ISA-L compressdev driver.**
doc/guides/rel_notes/release_19_05.rst +2 -2
@@ -60,12 +60,12 @@ New Features * **Added a net PMD NFB.** Added the new ``nfb`` net driver for Netcope NFB cards. See - the :doc:`../nics/nfb` NIC guide for more details on this new driver. + the :doc:`/nics/nfb` NIC guide for more details on this new driver. * **Added IPN3KE net PMD.** Added the new ``ipn3ke`` net driver for the Intel® FPGA PAC (Programmable - Acceleration Card) N3000. See the :doc:`../nics/ipn3ke` NIC guide for more + Acceleration Card) N3000. See the :doc:`/nics/ipn3ke` NIC guide for more details on this new driver. In addition ``ifpga_rawdev`` was also updated to support Intel® FPGA PAC
doc/guides/rel_notes/release_19_08.rst +3 -3
@@ -54,7 +54,7 @@ New Features Added the new ``hinic`` net driver for Huawei Intelligent PCIE Network Adapters based on the Huawei Ethernet Controller Hi1822. - See the :doc:`../nics/hinic` guide for more details on this new driver. + See the :doc:`/nics/hinic` guide for more details on this new driver. * **Updated the Intel ice driver.**
@@ -93,7 +93,7 @@ New Features * **Added memif PMD.** Added a new Shared Memory Packet Interface (``memif``) PMD. - See the :doc:`../nics/memif` guide for more details on this new driver. + See the :doc:`/nics/memif` guide for more details on this new driver. * **Updated the AF_XDP PMD.**
@@ -122,7 +122,7 @@ New Features Added a new ``fpga_lte_fec`` bbdev driver for the Intel\ |reg| FPGA PAC (Programmable Acceleration Card) N3000. See the - :doc:`../bbdevs/fpga_lte_fec` BBDEV guide for more details on this new driver. + :doc:`/bbdevs/fpga_lte_fec` BBDEV guide for more details on this new driver. * **Updated the TURBO_SW bbdev PMD.**
doc/guides/rel_notes/release_19_11.rst +7 -7
@@ -81,12 +81,12 @@ New Features Added the new ``hns3`` net driver for the inbuilt Hisilicon Network Subsystem 3 (HNS3) network engine found in the Hisilicon Kunpeng 920 SoC. - See the :doc:`../nics/hns3` guide for more details on this new driver. + See the :doc:`/nics/hns3` guide for more details on this new driver. * **Added NXP PFE PMD.** Added the new PFE driver for the NXP LS1012A platform. See the - :doc:`../nics/pfe` NIC driver guide for more details on this new driver. + :doc:`/nics/pfe` NIC driver guide for more details on this new driver. * **Updated Broadcom bnxt driver.**
@@ -180,7 +180,7 @@ New Features * **Added Marvell NITROX symmetric crypto PMD.** Added a symmetric crypto PMD for Marvell NITROX V security processor. - See the :doc:`../cryptodevs/nitrox` guide for more details on this new PMD. + See the :doc:`/cryptodevs/nitrox` guide for more details on this new PMD. * **Added asymmetric support to Marvell OCTEON TX crypto PMD.**
@@ -281,7 +281,7 @@ New Features compilers store their internal representation of the source code that the linker uses at the final stage of the compilation process. - See :doc:`../prog_guide/lto` for more information: + See :doc:`/prog_guide/lto` for more information: * **Added IOVA as VA support for KNI.**
@@ -301,8 +301,8 @@ Removed Items * Removed library-level ABI versions. These have been replaced with a single project-level ABI version for non-experimental libraries and an ABI version of - ``0`` for experimental libraries. Review the :doc:`../contributing/abi_policy` - and :doc:`../contributing/abi_versioning` guides for more information. + ``0`` for experimental libraries. Review the :doc:`/contributing/abi_policy` + and :doc:`/contributing/abi_versioning` guides for more information. * Removed duplicated set of commands for Rx offload configuration from testpmd::
@@ -418,7 +418,7 @@ API Changes ABI Changes ----------- -* policy: Please note the revisions to the :doc:`../contributing/abi_policy` +* policy: Please note the revisions to the :doc:`/contributing/abi_policy` introducing major ABI versions, with DPDK 19.11 becoming the first major version ``v20``. ABI changes to add new features continue to be permitted in subsequent releases, with the condition that ABI compatibility with the major
doc/guides/rel_notes/release_20_02.rst +2 -2
@@ -34,7 +34,7 @@ New Features * **Added IONIC net PMD.** Added the new ``ionic`` net driver for Pensando Ethernet Network Adapters. - See the :doc:`../nics/ionic` NIC guide for more details on this new driver. + See the :doc:`/nics/ionic` NIC guide for more details on this new driver. * **Updated Broadcom bnxt driver.**
@@ -104,7 +104,7 @@ New Features * **Add new vDPA PMD based on Mellanox devices.** Added a new Mellanox vDPA (``mlx5_vdpa``) PMD. - See the :doc:`../vdpadevs/mlx5` guide for more details on this driver. + See the :doc:`/vdpadevs/mlx5` guide for more details on this driver. * **Added support for virtio-PMD notification data.**
doc/guides/rel_notes/release_20_05.rst +2 -2
@@ -91,7 +91,7 @@ New Features * **Added a new driver for Intel Foxville I225 devices.** Added the new ``igc`` net driver for Intel Foxville I225 devices. See the - :doc:`../nics/igc` NIC guide for more details on this new driver. + :doc:`/nics/igc` NIC guide for more details on this new driver. * **Updated Intel i40e driver.**
@@ -211,7 +211,7 @@ New Features Added a new ``fpga_5gnr_fec`` bbdev driver for the Intel\ |reg| FPGA PAC (Programmable Acceleration Card) N3000. See the - :doc:`../bbdevs/fpga_5gnr_fec` BBDEV guide for more details on this new driver. + :doc:`/bbdevs/fpga_5gnr_fec` BBDEV guide for more details on this new driver. * **Updated the DSW event device.**
doc/guides/rel_notes/release_20_08.rst +2 -2
@@ -216,14 +216,14 @@ New Features Added new command line option ``--portmap="(port, port)[,(port, port)]"`` to pass forwarding port details. - See the :doc:`../sample_app_ug/l2_forward_real_virtual` for more + See the :doc:`/sample_app_ug/l2_forward_real_virtual` for more details of this parameter usage. * **Updated ipsec-secgw sample application.** Added ``rte_flow`` based rules, which allows hardware parsing and steering of ingress packets to specific NIC queues. - See the :doc:`../sample_app_ug/ipsec_secgw` for more details. + See the :doc:`/sample_app_ug/ipsec_secgw` for more details. Removed Items
doc/guides/rel_notes/release_20_11.rst +5 -5
@@ -194,7 +194,7 @@ New Features Added a new PMD for Wangxun 10 Gigabit Ethernet NICs. - See the :doc:`../nics/txgbe` for more details. + See the :doc:`/nics/txgbe` for more details. * **Updated Virtio driver.**
@@ -252,7 +252,7 @@ New Features * **Added Broadcom BCMFS symmetric crypto PMD.** Added a symmetric crypto PMD for Broadcom FlexSparc crypto units. - See :doc:`../cryptodevs/bcmfs` guide for more details on this new PMD. + See :doc:`/cryptodevs/bcmfs` guide for more details on this new PMD. * **Updated NXP DPAA2_SEC crypto PMD.**
@@ -279,7 +279,7 @@ New Features Added a new ``acc100`` bbdev driver for the Intel\ |reg| ACC100 accelerator also known as Mount Bryce. See the - :doc:`../bbdevs/acc100` BBDEV guide for more details on this new driver. + :doc:`/bbdevs/acc100` BBDEV guide for more details on this new driver. * **Updated rte_security library to support SDAP.**
@@ -304,7 +304,7 @@ New Features * **Added a new driver for the Intel Dynamic Load Balancer v2.0 device.** Added the new ``dlb2`` eventdev driver for the Intel DLB V2.0 device. See the - :doc:`../eventdevs/dlb2` eventdev guide for more details on this new driver. + :doc:`/eventdevs/dlb2` eventdev guide for more details on this new driver. * **Added Ice Lake (Gen4) support for Intel NTB.**
@@ -380,7 +380,7 @@ New Features Added vhost asynchronous APIs support, which demonstrates how the application can leverage IOAT DMA channels with vhost asynchronous APIs. - See the :doc:`../sample_app_ug/vhost` for more details. + See the :doc:`/sample_app_ug/vhost` for more details. Removed Items
doc/guides/rel_notes/release_21_02.rst +2 -2
@@ -137,13 +137,13 @@ New Features Added a new compress PMD for BlueField-2 adapters. - See the :doc:`../compressdevs/mlx5` for more details. + See the :doc:`/compressdevs/mlx5` for more details. * **Added python script to run crypto perf tests and graph the results.** A new Python script has been added to automate running crypto performance tests and output graphed results to PDF files. - See the :doc:`../tools/cryptoperf` guide for more details. + See the :doc:`/tools/cryptoperf` guide for more details. * **Added Windows support to pmdinfogen.**
doc/guides/rel_notes/release_21_08.rst +2 -2
@@ -68,7 +68,7 @@ New Features * **Added Wangxun ngbe PMD.** Added a new PMD for Wangxun 1Gb Ethernet NICs. - See the :doc:`../nics/ngbe` for more details. + See the :doc:`/nics/ngbe` for more details. * **Added inflight packets clear API in vhost library.**
@@ -107,7 +107,7 @@ New Features Added Baseband PHY PMD which allows configuration of the BPHY hardware block comprising accelerators and DSPs specifically tailored for 5G/LTE inline use cases. Configuration happens via standard rawdev enq/deq operations. See - the :doc:`../rawdevs/cnxk_bphy` rawdev guide for more details on this driver. + the :doc:`/rawdevs/cnxk_bphy` rawdev guide for more details on this driver. * **Added support for Marvell CN10K, CN9K, event Rx/Tx adapter.**
doc/guides/rel_notes/release_21_11.rst +3 -3
@@ -199,7 +199,7 @@ New Features * **Added NXP ENETFEC PMD [EXPERIMENTAL].** Added the new ENETFEC driver for the NXP IMX8MMEVK platform. See the - :doc:`../nics/enetfec` NIC driver guide for more details on this new driver. + :doc:`/nics/enetfec` NIC driver guide for more details on this new driver. * **Updated Solarflare network PMD.**
@@ -240,7 +240,7 @@ New Features * **Added new vDPA PMD based on Xilinx devices.** Added a new Xilinx vDPA (``sfc_vdpa``) PMD. - See the :doc:`../vdpadevs/sfc` guide for more details on this driver. + See the :doc:`/vdpadevs/sfc` guide for more details on this driver. * **Added telemetry callbacks to the cryptodev library.**
@@ -322,7 +322,7 @@ New Features * **Added NXP LA12xx baseband PMD.** * Added a new baseband PMD for NXP LA12xx Software defined radio. - * See the :doc:`../bbdevs/la12xx` for more details. + * See the :doc:`/bbdevs/la12xx` for more details. * **Updated Mellanox compress driver.**
doc/guides/rel_notes/release_22_03.rst +1 -1
@@ -177,7 +177,7 @@ New Features for applications that as well as providing standard dataplane functionality also want to have fast and low latency access to GPIO pin state. - See the :doc:`../rawdevs/cnxk_gpio` rawdev guide for more details on this + See the :doc:`/rawdevs/cnxk_gpio` rawdev guide for more details on this driver. * **Updated testpmd to support software UDP/TCP checksum over multiple segments.**
doc/guides/rel_notes/release_22_07.rst +1 -1
@@ -118,7 +118,7 @@ New Features * **Updated Intel igc driver.** Added Intel Foxville I226 devices in ``igc`` driver. - See the :doc:`../nics/igc` NIC guide for more details. + See the :doc:`/nics/igc` NIC guide for more details. * **Updated Mellanox mlx5 driver.**
doc/guides/rel_notes/release_22_11.rst +6 -6
@@ -109,7 +109,7 @@ New Features * **Added GVE net PMD.** * Added the new ``gve`` net driver for Google Virtual Ethernet devices. - * See the :doc:`../nics/gve` NIC guide for more details on this new driver. + * See the :doc:`/nics/gve` NIC guide for more details on this new driver. * **Updated Intel iavf driver.**
@@ -123,7 +123,7 @@ New Features Added the new ``idpf`` net driver for Intel\ |reg| Infrastructure Processing Unit (Intel\ |reg| IPU) E2100. - See the :doc:`../nics/idpf` NIC guide for more details on this new driver. + See the :doc:`/nics/idpf` NIC guide for more details on this new driver. * **Updated Marvell cnxk driver.**
@@ -209,7 +209,7 @@ New Features * **Added UADK crypto driver.** Added a new crypto driver for the UADK library. See the - :doc:`../cryptodevs/uadk` guide for more details on this new driver. + :doc:`/cryptodevs/uadk` guide for more details on this new driver. * **Added bbdev operation for FFT processing.**
@@ -263,17 +263,17 @@ New Features Added new application to test ``rte_security`` session create/destroy performance. - See the :doc:`../tools/securityperf` for more details. + See the :doc:`/tools/securityperf` for more details. * **Updated IPsec sample application.** Added support for lookaside sessions in event mode. - See the :doc:`../sample_app_ug/ipsec_secgw` for more details. + See the :doc:`/sample_app_ug/ipsec_secgw` for more details. * **Updated FIPS validation sample application.** Added support for asymmetric crypto algorithms. - See the :doc:`../sample_app_ug/fips_validation` for more details. + See the :doc:`/sample_app_ug/fips_validation` for more details. * **Rewrote pmdinfo script.**
doc/guides/rel_notes/release_23_03.rst +1 -1
@@ -112,7 +112,7 @@ New Features Added the new cpfl net driver for Intel\ |reg| Infrastructure Processing Unit (Intel\ |reg| IPU) E2100. - See the :doc:`../nics/cpfl` NIC guide for more details on this new driver. + See the :doc:`/nics/cpfl` NIC guide for more details on this new driver. * **Updated Intel igc driver.**
doc/guides/rel_notes/release_23_07.rst +2 -2
@@ -185,7 +185,7 @@ New Features PDCP features such as IV generation, sequence number handling, etc are supported. It is planned to add more features such as packet caching in future releases. - See :doc:`../prog_guide/pdcp_lib` for more information. + See :doc:`/prog_guide/pdcp_lib` for more information. * **Added TCP/IPv6 support in GRO library.**
@@ -203,7 +203,7 @@ New Features Added an application to test the performance of DMA device and CPU. - See the :doc:`../tools/dmaperf` for more details. + See the :doc:`/tools/dmaperf` for more details. Removed Items
doc/guides/rel_notes/release_23_11.rst +1 -1
@@ -118,7 +118,7 @@ New Features * **Added a new vDPA PMD for Corigine NFP devices.** Added a new Corigine NFP vDPA (``nfp_vdpa``) PMD. - See the :doc:`../vdpadevs/nfp` guide for more details on this driver. + See the :doc:`/vdpadevs/nfp` guide for more details on this driver. * **Updated Corigine/Netronome nfp driver.**
doc/guides/rel_notes/release_24_07.rst +1 -1
@@ -115,7 +115,7 @@ New Features * **Added UADK compress driver.** Added a new compress driver for the UADK library. See the - :doc:`../compressdevs/uadk` guide for more details on this new driver. + :doc:`/compressdevs/uadk` guide for more details on this new driver. * **Updated Marvell CNXK DMA driver.**
doc/guides/rel_notes/release_25_03.rst +1 -1
@@ -125,7 +125,7 @@ New Features Added a compress driver for ZSDA devices to support the deflate compression and decompression algorithm. - See the :doc:`../compressdevs/zsda` guide for more details on the new driver. + See the :doc:`/compressdevs/zsda` guide for more details on the new driver. * **Added atomic tests to the eventdev test application.**
doc/guides/rel_notes/release_25_07.rst +5 -5
@@ -19,7 +19,7 @@ New Features Now, it is possible to use the shortened ``-l`` form to map lcore IDs to threads running on specific CPUs. - See the :doc:`../linux_gsg/eal_args.include` guide for examples. + See the :doc:`/linux_gsg/eal_args.include` guide for examples. * **Added PMU library.**
@@ -38,7 +38,7 @@ New Features * **Added Mucse rnp net driver.** Added a new network PMD which supports Mucse 10 Gigabit Ethernet NICs. - See the :doc:`../nics/rnp` for more details. + See the :doc:`/nics/rnp` for more details. * **Added RSS type for RoCE v2.**
@@ -75,7 +75,7 @@ New Features Added a crypto driver for ZSDA devices to support some encrypt, decrypt and hash algorithms. - See the :doc:`../cryptodevs/zsda` guide for more details on the new driver. + See the :doc:`/cryptodevs/zsda` guide for more details on the new driver. * **Updated Marvell cnxk crypto driver.**
@@ -96,7 +96,7 @@ New Features Added vector adapter producer mode in eventdev test to measure performance. - See the :doc:`../prog_guide/eventdev/event_vector_adapter` guide + See the :doc:`/prog_guide/eventdev/event_vector_adapter` guide for more details on the new library. * **Added event vector adapter support in CN20K event device driver.**
@@ -111,7 +111,7 @@ New Features to manage multiple network protocols/features with runtime configurability, in-built node-reusability and optimized control/data plane synchronization. - See section ``Graph feature arc`` in :doc:`../prog_guide/graph_lib` for more details. + See section ``Graph feature arc`` in :doc:`/prog_guide/graph_lib` for more details. Added ``ip4 output`` feature arc processing in ``ip4_rewrite`` node.
doc/guides/sample_app_ug/dma.rst +2 -2
@@ -38,7 +38,7 @@ Running the Application In order to run the hardware copy application, the copying device needs to be bound to user-space IO driver. -Refer to the :doc:`../prog_guide/dmadev` for information on using the library. +Refer to the :doc:`/prog_guide/dmadev` for information on using the library. The application requires a number of command line options:
@@ -320,4 +320,4 @@ The metadata in this example is copied from ``rx_descriptor_fields1`` marker of ``rte_mbuf`` struct up to ``buf_len`` member. In order to understand why software packet copying is done as shown -above, please refer to the :doc:`../prog_guide/mbuf_lib`. +above, please refer to the :doc:`/prog_guide/mbuf_lib`.
doc/guides/sample_app_ug/intro.rst +2 -2
@@ -15,8 +15,8 @@ Running Sample Applications Some sample applications may have their own command-line parameters described in their respective guides. However, they all also share the same EAL parameters. -Please refer to :doc:`EAL parameters (Linux) <../linux_gsg/linux_eal_parameters>` -or :doc:`EAL parameters (FreeBSD) <../freebsd_gsg/freebsd_eal_parameters>` for +Please refer to :doc:`EAL parameters (Linux) </linux_gsg/linux_eal_parameters>` +or :doc:`EAL parameters (FreeBSD) </freebsd_gsg/freebsd_eal_parameters>` for a list of available EAL command-line options.
doc/guides/sample_app_ug/ip_reassembly.rst +1 -1
@@ -124,7 +124,7 @@ The following sections describe aspects that are specific to the IP reassemble s IPv4 Fragment Table Initialization ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -This application uses the :doc:`../prog_guide/ip_fragment_reassembly_lib` library. +This application uses the :doc:`/prog_guide/ip_fragment_reassembly_lib` library. The fragment table maintains information about already received fragments of the packet. Each IP packet is uniquely identified by triple <Source IP address>, <Destination IP address>, <ID>. To avoid lock contention, each Rx queue has its own fragment table.
doc/guides/sample_app_ug/l3_forward_power_man.rst +1 -1
@@ -304,7 +304,7 @@ and has three available power management schemes: The reaction time of the scale mode is longer than the pause and monitor mode. -See :doc:`Power Management<../prog_guide/power_man>` chapter +See :doc:`Power Management </prog_guide/power_man>` chapter in the DPDK Programmer's Guide for more details on PMD power management. .. code-block:: console
doc/guides/testpmd_app_ug/run_app.rst +2 -2
@@ -7,8 +7,8 @@ Running the Application EAL Command-line Options ------------------------ -Please refer to :doc:`EAL parameters (Linux) <../linux_gsg/linux_eal_parameters>` -or :doc:`EAL parameters (FreeBSD) <../freebsd_gsg/freebsd_eal_parameters>` for +Please refer to :doc:`EAL parameters (Linux) </linux_gsg/linux_eal_parameters>` +or :doc:`EAL parameters (FreeBSD) </freebsd_gsg/freebsd_eal_parameters>` for a list of available EAL command-line options.
doc/guides/testpmd_app_ug/testpmd_funcs.rst +1 -1
@@ -2437,7 +2437,7 @@ Link Bonding Functions The Link Bonding functions make it possible to dynamically create and manage link bonding devices from within testpmd interactive prompt. -See :doc:`../prog_guide/link_bonding_poll_mode_drv_lib` for more information. +See :doc:`/prog_guide/link_bonding_poll_mode_drv_lib` for more information. .. _testpmd_traffic_metering_and_policing:
doc/guides/tools/dts.rst +1 -1
@@ -566,7 +566,7 @@ Building DTS API docs --------------------- The documentation is built using the standard DPDK build system. -See :doc:`../linux_gsg/build_dpdk` for more details on compiling DPDK with meson. +See :doc:`/linux_gsg/build_dpdk` for more details on compiling DPDK with meson. After executing the meson command, build the documentation with:
doc/guides/tools/flow-perf.rst +2 -2
@@ -44,8 +44,8 @@ Running the Application EAL Command-line Options ~~~~~~~~~~~~~~~~~~~~~~~~ -Please refer to :doc:`EAL parameters (Linux) <../linux_gsg/linux_eal_parameters>` -or :doc:`EAL parameters (FreeBSD) <../freebsd_gsg/freebsd_eal_parameters>` for +Please refer to :doc:`EAL parameters (Linux) </linux_gsg/linux_eal_parameters>` +or :doc:`EAL parameters (FreeBSD) </freebsd_gsg/freebsd_eal_parameters>` for a list of available EAL command-line options.
doc/guides/tools/securityperf.rst +2 -2
@@ -19,8 +19,8 @@ Running the Application EAL Command-line Options ~~~~~~~~~~~~~~~~~~~~~~~~ -Please refer to :doc:`EAL parameters (Linux) <../linux_gsg/linux_eal_parameters>` -or :doc:`EAL parameters (FreeBSD) <../freebsd_gsg/freebsd_eal_parameters>` +Please refer to :doc:`EAL parameters (Linux) </linux_gsg/linux_eal_parameters>` +or :doc:`EAL parameters (FreeBSD) </freebsd_gsg/freebsd_eal_parameters>` for a list of available EAL command-line options. Security Performance Options
doc/guides/tools/testbbdev.rst +1 -1
@@ -41,7 +41,7 @@ The following are the command-line options: ``-e EAL_PARAMS, --eal_params EAL_PARAMS`` Specifies EAL arguments which are passed to the test app. For more details, - refer to DPDK documentation at :doc:`../linux_gsg/linux_eal_parameters`. + refer to DPDK documentation at :doc:`/linux_gsg/linux_eal_parameters`. ``-t TIMEOUT, --timeout TIMEOUT`` Specifies timeout in seconds. If not specified timeout is set to 300 seconds.
doc/guides/vdpadevs/mlx5.rst +1 -1
@@ -9,7 +9,7 @@ NVIDIA MLX5 vDPA Driver The mlx5 vDPA (vhost data path acceleration) driver (``librte_vdpa_mlx5``) provides support for NVIDIA NIC and DPU device families. -See :doc:`../../platform/mlx5` guide for design details, +See :doc:`/platform/mlx5` guide for design details, and which PMDs can be combined with vDPA PMD.
doc/guides/windows_gsg/intro.rst +1 -1
@@ -19,6 +19,6 @@ compile. Support is being added in pieces so as to limit the overall scope of any individual patch series. The goal is to be able to run any DPDK application natively on Windows. -The :doc:`../contributing/abi_policy` does not apply to the Windows build, +The :doc:`/contributing/abi_policy` does not apply to the Windows build, as function versioning is not supported on Windows, therefore minor ABI versions may be incompatible.
Signature · 1 line
2.54.0
PATCH v3 5/8 doc: link whole-guide references to pages
In reply to Thomas MonjalonSome references point to labels placed at the beginning of a file only to link to the page as a whole.
Use :doc: links instead.
--- doc/guides/bbdevs/acc100.rst | 2 +- doc/guides/bbdevs/fpga_lte_fec.rst | 2 +- doc/guides/bbdevs/la12xx.rst | 4 ++-- doc/guides/bbdevs/vrb1.rst | 2 +- doc/guides/bbdevs/vrb2.rst | 2 +- doc/guides/contributing/abi_policy.rst | 10 +++++----- doc/guides/contributing/abi_versioning.rst | 2 -- doc/guides/contributing/coding_style.rst | 2 -- doc/guides/contributing/documentation.rst | 4 +--- doc/guides/contributing/patches.rst | 6 +++--- doc/guides/contributing/stable.rst | 2 -- doc/guides/cryptodevs/caam_jr.rst | 2 +- doc/guides/cryptodevs/dpaa2_sec.rst | 2 +- doc/guides/cryptodevs/dpaa_sec.rst | 2 +- doc/guides/dmadevs/dpaa.rst | 2 +- doc/guides/dmadevs/dpaa2.rst | 2 +- doc/guides/eventdevs/dlb2.rst | 3 +-- doc/guides/eventdevs/dpaa.rst | 2 +- doc/guides/eventdevs/dpaa2.rst | 2 +- doc/guides/freebsd_gsg/build_dpdk.rst | 2 -- doc/guides/freebsd_gsg/build_sample_apps.rst | 2 -- doc/guides/freebsd_gsg/index.rst | 2 -- doc/guides/freebsd_gsg/install_from_ports.rst | 6 ++---- doc/guides/freebsd_gsg/intro.rst | 2 +- doc/guides/howto/virtio_user_as_exception_path.rst | 2 +- doc/guides/linux_gsg/build_dpdk.rst | 2 -- doc/guides/linux_gsg/build_sample_apps.rst | 2 +- doc/guides/linux_gsg/enable_func.rst | 2 -- doc/guides/linux_gsg/index.rst | 2 -- doc/guides/linux_gsg/linux_drivers.rst | 2 -- doc/guides/linux_gsg/nic_perf_intel_platform.rst | 2 +- doc/guides/linux_gsg/sys_reqs.rst | 3 +-- doc/guides/nics/ark.rst | 6 ++---- doc/guides/nics/axgbe.rst | 6 ++---- doc/guides/nics/bnx2x.rst | 7 ++----- doc/guides/nics/build_and_test.rst | 9 +++------ doc/guides/nics/cnxk.rst | 7 ++----- doc/guides/nics/cxgbe.rst | 6 +++--- doc/guides/nics/dpaa.rst | 9 +++------ doc/guides/nics/dpaa2.rst | 9 +++------ doc/guides/nics/ena.rst | 7 +++---- doc/guides/nics/enetc.rst | 4 +--- doc/guides/nics/enetc4.rst | 4 +--- doc/guides/nics/enic.rst | 3 +-- doc/guides/nics/fail_safe.rst | 3 +-- doc/guides/nics/hinic.rst | 5 ++--- doc/guides/nics/hinic3.rst | 6 ++---- doc/guides/nics/hns3.rst | 6 ++---- doc/guides/nics/i40e.rst | 9 +++------ doc/guides/nics/ice.rst | 5 ++--- doc/guides/nics/igc.rst | 3 +-- doc/guides/nics/ipn3ke.rst | 5 ++--- doc/guides/nics/mana.rst | 3 +-- doc/guides/nics/mvneta.rst | 3 +-- doc/guides/nics/mvpp2.rst | 3 +-- doc/guides/nics/nbl.rst | 3 +-- doc/guides/nics/nfp.rst | 3 +-- doc/guides/nics/ngbe.rst | 5 ++--- doc/guides/nics/octeontx.rst | 7 ++----- doc/guides/nics/pfe.rst | 4 +--- doc/guides/nics/qede.rst | 7 ++----- doc/guides/nics/thunderx.rst | 9 +++------ doc/guides/nics/txgbe.rst | 5 ++--- doc/guides/nics/xsc.rst | 3 +-- doc/guides/nics/zxdh.rst | 3 +-- doc/guides/platform/dpaa.rst | 3 +-- doc/guides/platform/dpaa2.rst | 3 +-- doc/guides/prog_guide/asan.rst | 2 +- doc/guides/rawdevs/dpaa2_cmdif.rst | 2 +- doc/guides/sample_app_ug/compiling.rst | 4 ++-- doc/guides/sample_app_ug/server_node_efd.rst | 4 ++-- doc/guides/testpmd_app_ug/index.rst | 2 -- doc/guides/testpmd_app_ug/run_app.rst | 2 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 -- doc/guides/tools/testbbdev.rst | 2 -- 75 files changed, 99 insertions(+), 190 deletions(-)
doc/guides/bbdevs/acc100.rst +1 -1
@@ -126,7 +126,7 @@ BBDEV provides a test application, ``test-bbdev.py`` and range of test data for the functionality of the device, depending on the device's capabilities. For more details on how to use the test application, -see :ref:`test_bbdev_application`. +see :doc:`/tools/testbbdev`. Test Vectors
doc/guides/bbdevs/fpga_lte_fec.rst +1 -1
@@ -166,7 +166,7 @@ BBDEV provides a test application, ``test-bbdev.py`` and range of test data for the functionality of the device, depending on the device's capabilities. For more details on how to use the test application, -see :ref:`test_bbdev_application`. +see :doc:`/tools/testbbdev`. Test Vectors ~~~~~~~~~~~~
doc/guides/bbdevs/la12xx.rst +2 -2
@@ -56,7 +56,7 @@ Currently supported by DPDK: - NXP LA1224 BSP **1.0+**. - NXP LA1224 PCIe Modem card connected to ARM host. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. * Use dev arg option ``modem=0`` to identify the modem instance for a given device. This is required only if more than 1 modem cards are attached to host.
@@ -86,7 +86,7 @@ BBDEV provides a test application, ``test-bbdev.py`` and range of test data for the functionality of the device, depending on the device's capabilities. For more details on how to use the test application, -see :ref:`test_bbdev_application`. +see :doc:`/tools/testbbdev`. Test Vectors
doc/guides/bbdevs/vrb1.rst +1 -1
@@ -134,7 +134,7 @@ BBDEV provides a test application, ``test-bbdev.py`` and range of test data for the functionality of the device, depending on the device's capabilities. For more details on how to use the test application, -see :ref:`test_bbdev_application`. +see :doc:`/tools/testbbdev`. Test Vectors
doc/guides/bbdevs/vrb2.rst +1 -1
@@ -148,7 +148,7 @@ BBDEV provides a test application, ``test-bbdev.py`` and range of test data for the functionality of the device, depending on the device's capabilities. For more details on how to use the test application, -see :ref:`test_bbdev_application`. +see :doc:`/tools/testbbdev`. Test Vectors
doc/guides/contributing/abi_policy.rst +5 -5
@@ -17,13 +17,13 @@ General Guidelines with the major ABI version is mandatory in subsequent releases until a :ref:`new major ABI version <new_abi_version>` is declared. #. Major ABI versions are usually but not always declared aligned with a - :ref:`LTS release <stable_lts_releases>`. + :doc:`LTS release <stable>`. #. The ABI version is managed at a project level in DPDK, and is reflected in all non-experimental :ref:`library's soname <what_is_soname>`. #. The ABI should be preserved and not changed lightly. ABI changes must follow the outlined :ref:`deprecation process <abi_changes>`. -#. The addition of symbols is generally not problematic. The modification of - symbols is managed with :ref:`ABI Versioning <abi_versioning>`. +#. The addition of symbols is generally not problematic. + The modification of symbols is managed with :doc:`abi_versioning`. #. The removal of symbols is considered an :ref:`ABI breakage <abi_breakages>`, once approved these will form part of the next ABI version. #. Libraries or APIs marked as :ref:`experimental <experimental_apis>`
@@ -143,7 +143,7 @@ The requirements for changing the ABI are: CPU vendors, end-users, etc. #. Backward compatibility with the major ABI version must be maintained through - :ref:`abi_versioning`, with :ref:`forward-only <forward-only>` compatibility + :doc:`abi_versioning`, with :ref:`forward-only <forward-only>` compatibility offered for any ABI changes that are indicated to be part of the next ABI version.
@@ -225,7 +225,7 @@ declarations of major ABI versions. * DPDK 21.02 release defines a new function ``rte_foo(uint8_t bar)``. This is not a problem as long as the symbol ``rte_foo@DPDK_21`` is - preserved through :ref:`abi_versioning`. + preserved through :doc:`abi_versioning`. - The new function may be marked with the ``__rte_experimental`` tag for a number of releases, as described in the section :ref:`experimental_apis`.
doc/guides/contributing/abi_versioning.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright 2018 The DPDK contributors -.. _abi_versioning: - ABI Versioning ==============
doc/guides/contributing/coding_style.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright 2018 The DPDK contributors -.. _coding_style: - DPDK Coding Style =================
doc/guides/contributing/documentation.rst +1 -3
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright 2018 The DPDK contributors -.. _doc_guidelines: - DPDK Documentation Guidelines =============================
@@ -685,7 +683,7 @@ The following are some guidelines for use of Doxygen in the DPDK API documentati } Note: postfix comments should be aligned with spaces not tabs in accordance - with the :ref:`coding_style`. + with the :doc:`coding_style`. * If a single comment type can't be used, due to line length limitations then prefix comments should be preferred.
doc/guides/contributing/patches.rst +3 -3
@@ -140,7 +140,7 @@ Make your Changes Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines and requirements: -* Follow the :ref:`coding_style` guidelines. +* Follow the :doc:`coding_style` guidelines. * If you are a new contributor, or if your mail address changed, you may update the ``.mailmap`` file.
@@ -161,7 +161,7 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines * For other PMDs and more info, refer to the ``MAINTAINERS`` file. * New external functions should be exported. - See the :doc:`ABI policy <abi_policy>` and :ref:`ABI versioning <abi_versioning>` + See the :doc:`ABI policy <abi_policy>` and :doc:`abi_versioning` guides. * Any new API function should be used in ``/app`` test directory.
@@ -179,7 +179,7 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines * Add tests to the ``app/test`` unit test framework where possible. * Add documentation, if relevant, in the form of Doxygen comments or a User Guide in RST format. - See the :ref:`Documentation Guidelines <doc_guidelines>`. + See the :doc:`documentation`. * Code and related documentation must be updated atomically in the same patch.
doc/guides/contributing/stable.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright 2018 The DPDK contributors -.. _stable_lts_releases: - DPDK Stable Releases and Long Term Support ==========================================
doc/guides/cryptodevs/caam_jr.rst +1 -1
@@ -107,7 +107,7 @@ Currently supported by DPDK: * NXP SDK **18.09+**. * Supported architectures: **arm64 LE**. -* Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +* Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Enabling logs
doc/guides/cryptodevs/dpaa2_sec.rst +1 -1
@@ -163,7 +163,7 @@ The following dependencies are not part of DPDK and must be installed separately See :doc:`/platform/dpaa2` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Enabling logs
doc/guides/cryptodevs/dpaa_sec.rst +1 -1
@@ -109,7 +109,7 @@ DPAA_SEC driver has similar pre-requisites as described in :ref:`dpaa_overview`. See :doc:`/platform/dpaa` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Enabling logs
doc/guides/dmadevs/dpaa.rst +1 -1
@@ -29,7 +29,7 @@ Prerequisites See :doc:`/platform/dpaa` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. .. note::
doc/guides/dmadevs/dpaa2.rst +1 -1
@@ -36,7 +36,7 @@ Prerequisites See :doc:`/platform/dpaa2` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. .. note::
doc/guides/eventdevs/dlb2.rst +1 -2
@@ -16,8 +16,7 @@ Please follow the links below to download the Programmer Guides. Prerequisites ------------- -Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup -the basic DPDK environment. +Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Configuration -------------
doc/guides/eventdevs/dpaa.rst +1 -1
@@ -38,7 +38,7 @@ Currently supported by DPDK: - NXP SDK **2.0+** or LSDK **18.09+** - Supported architectures: **arm64 LE**. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Initialization
doc/guides/eventdevs/dpaa2.rst +1 -1
@@ -36,7 +36,7 @@ Prerequisites See :doc:`/platform/dpaa2` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. .. note::
doc/guides/freebsd_gsg/build_dpdk.rst +0 -2
@@ -3,8 +3,6 @@ .. include:: <isonum.txt> -.. _building_from_source: - Compiling the DPDK Target from Source =====================================
doc/guides/freebsd_gsg/build_sample_apps.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _compiling_sample_apps: - Compiling and Running Sample Applications =========================================
doc/guides/freebsd_gsg/index.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _freebsd_gsg: - Getting Started Guide for FreeBSD =================================
doc/guides/freebsd_gsg/install_from_ports.rst +2 -4
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _install_from_ports: - Installing DPDK from the Ports Collection =========================================
@@ -61,7 +59,7 @@ Compiling and Running the Example Applications When the DPDK has been installed from the ports collection it installs its example applications in ``/usr/local/share/dpdk/examples``. -These examples can be compiled and run as described in :ref:`compiling_sample_apps`. +These examples can be compiled and run as described in :doc:`build_sample_apps`. .. note::
@@ -73,7 +71,7 @@ These examples can be compiled and run as described in :ref:`compiling_sample_ap To install a copy of the DPDK compiled using gcc, please download the official DPDK package from https://core.dpdk.org/download/ and install manually using - the instructions given in the next chapter, :ref:`building_from_source` + the instructions given in the next chapter, :doc:`build_dpdk` An example application can therefore be copied to a user's home directory and compiled and run as below, where we have 2 memory blocks of size 1G reserved
doc/guides/freebsd_gsg/intro.rst +1 -1
@@ -18,7 +18,7 @@ handbook is available from the FreeBSD Documentation Project: DPDK is now available as part of the FreeBSD ports collection and as a pre-built package. Installing via the ports collection or FreeBSD `pkg` infrastructure is now the recommended - way to install DPDK on FreeBSD, and is documented in the next chapter, :ref:`install_from_ports`. + way to install DPDK on FreeBSD, and is documented in the next chapter, :doc:`install_from_ports`. Documentation Roadmap ---------------------
doc/guides/howto/virtio_user_as_exception_path.rst +1 -1
@@ -59,7 +59,7 @@ Example Usage With Testpmd To run a simple test of virtio-user as exception path using testpmd: -#. Compile DPDK and bind a NIC to vfio-pci as documented in :ref:`linux_gsg_linux_drivers`. +#. Compile DPDK and bind a NIC to vfio-pci as documented in :doc:`/linux_gsg/linux_drivers`. This physical NIC is for communicating with the outside world, and serves as a packet source in this example.
doc/guides/linux_gsg/build_dpdk.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2015 Intel Corporation. -.. _linux_gsg_compiling_dpdk: - Compiling the DPDK Target from Source =====================================
doc/guides/linux_gsg/build_sample_apps.rst +1 -1
@@ -24,7 +24,7 @@ Running a Sample Application - In case needed, ports being used by the application should be bound to the corresponding kernel driver. - Refer to :ref:`linux_gsg_linux_drivers` for more details. + Refer to :doc:`linux_drivers` for more details. The application is linked with the DPDK target environment's Environmental Abstraction Layer (EAL) library, which provides some options that are generic to every DPDK application.
doc/guides/linux_gsg/enable_func.rst +0 -2
@@ -3,8 +3,6 @@ .. include:: <isonum.txt> -.. _Enabling_Additional_Functionality: - Enabling Additional Functionality =================================
doc/guides/linux_gsg/index.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2015 Intel Corporation. -.. _linux_gsg: - Getting Started Guide for Linux ===============================
doc/guides/linux_gsg/linux_drivers.rst +0 -2
@@ -5,8 +5,6 @@ .. include:: <isonum.txt> -.. _linux_gsg_linux_drivers: - Linux Drivers =============
doc/guides/linux_gsg/nic_perf_intel_platform.rst +1 -1
@@ -182,4 +182,4 @@ Configurations before running DPDK In the example above ``85:00.0`` is on socket 1 and should be used by cores on socket 1 for the best performance. #. Check which kernel drivers need to be loaded and whether there is a need to unbind the network ports from their kernel drivers. - More details about DPDK setup and Linux kernel requirements see :ref:`linux_gsg_compiling_dpdk` and :ref:`linux_gsg_linux_drivers`. + More details about DPDK setup and Linux kernel requirements see :doc:`build_dpdk` and :doc:`linux_drivers`.
doc/guides/linux_gsg/sys_reqs.rst +1 -2
@@ -14,8 +14,7 @@ BIOS Setting Prerequisite on x86 For the majority of platforms, no special BIOS settings are needed to use basic DPDK functionality. However, for additional HPET timer and power management functionality, and high performance of small packets, BIOS setting changes may be needed. -Consult the section on :ref:`Enabling Additional Functionality <Enabling_Additional_Functionality>` -for more information on the required changes. +Consult the section on :doc:`enable_func` for more information on the required changes. Compilation of the DPDK -----------------------
doc/guides/nics/ark.rst +2 -4
@@ -276,8 +276,7 @@ See :doc:`/linux_gsg/build_dpdk` for instructions. By default the ARK PMD library will be built into the DPDK library. -For configuring and using UIO and VFIO frameworks, please also refer :ref:`the -documentation that comes with DPDK suite <linux_gsg>`. +For configuring and using UIO and VFIO frameworks, please also refer :doc:`the documentation that comes with DPDK suite </linux_gsg/index>`. To build with a non-zero minimum tx packet length, set the above macro in your CFLAGS environment prior to the meson build step. I.e.,
@@ -395,8 +394,7 @@ application runs to completion, the ARK PMD can be detached from igb_uio if nece Usage Example ------------- -Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` to launch +Follow instructions available in the document :doc:`build_and_test` to launch **testpmd** with Atomic Rules ARK devices managed by librte_net_ark. Example output:
doc/guides/nics/axgbe.rst +2 -4
@@ -34,8 +34,7 @@ See :doc:`/linux_gsg/build_dpdk` for instructions. By default the AXGBE PMD library will be built into the DPDK library. -For configuring and using UIO frameworks, please also refer :ref:`the -documentation that comes with DPDK suite <linux_gsg>`. +For configuring and using UIO frameworks, please also refer :doc:`the documentation that comes with DPDK suite </linux_gsg/index>`. Prerequisites and Pre-conditions
@@ -50,8 +49,7 @@ Now system is ready to run DPDK application. Usage Example ------------- -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Example output:
doc/guides/nics/bnx2x.rst +2 -5
@@ -102,8 +102,7 @@ enabling debugging options may affect system performance. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Jumbo: Limitation -----------------
@@ -195,9 +194,7 @@ This section provides instructions to configure SR-IOV with Linux OS. #. Running testpmd: (Supply ``--log-level="pmd.net.bnx2x.driver",7`` to view informational messages): - Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` - to run testpmd. + Follow instructions available in the document :doc:`build_and_test` to run testpmd. Example output:
doc/guides/nics/build_and_test.rst +3 -6
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2017 Cavium, Inc -.. _pmd_build_and_test: - Compiling and testing a PMD for a NIC =====================================
@@ -13,8 +11,8 @@ TestPMD is one of the reference applications distributed with the DPDK. Its main purpose is to forward packets between Ethernet ports on a network interface and as such is the best way to test a PMD. -Refer to the :ref:`testpmd application user guide <testpmd_ug>` for detailed -information on how to build and run testpmd. +Refer to the :doc:`/testpmd_app_ug/index` +for detailed information on how to build and run testpmd. Driver Compilation ------------------
@@ -143,8 +141,7 @@ This section demonstrates how to setup and run ``testpmd`` in Linux. testpmd> - Refer to the :ref:`testpmd runtime functions <testpmd_runtime>` for a list - of available commands. + Refer to the :doc:`/testpmd_app_ug/testpmd_funcs` for a list of available commands. .. note:: When ``testpmd`` is built with shared library, use option ``-d`` to load
doc/guides/nics/cnxk.rst +2 -5
@@ -52,14 +52,11 @@ See :doc:`/platform/cnxk` for setup information. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. #. Running testpmd: - Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` - to run testpmd. + Follow instructions available in the document :doc:`build_and_test` to run testpmd. Example output:
doc/guides/nics/cxgbe.rst +3 -3
@@ -324,7 +324,7 @@ CXGBE PF Only Runtime Options Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` +Refer to the document :doc:`build_and_test` for details. Linux
@@ -434,7 +434,7 @@ devices managed by librte_net_cxgbe in Linux operating system. #. Running testpmd Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :doc:`build_and_test` to run testpmd. .. note::
@@ -547,7 +547,7 @@ virtual functions. #. Running testpmd Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` + :doc:`build_and_test` to bind virtual functions and run testpmd. Example output:
doc/guides/nics/dpaa.rst +3 -6
@@ -191,7 +191,7 @@ Prerequisites See :doc:`/platform/dpaa` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. - DPAA driver has dependency on kernel to perform various functionalities. So kernel and DPDK version should be compatible for proper working.
@@ -241,14 +241,11 @@ state during application initialization: Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. #. Running testpmd: - Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` - to run testpmd. + Follow instructions available in the document :doc:`build_and_test` to run testpmd. Example output:
doc/guides/nics/dpaa2.rst +3 -6
@@ -422,7 +422,7 @@ Prerequisites See :doc:`/platform/dpaa2` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. .. note::
@@ -433,14 +433,11 @@ See :doc:`/platform/dpaa2` for setup information Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. #. Running testpmd: - Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` - to run testpmd. + Follow instructions available in the document :doc:`build_and_test` to run testpmd. Example output:
doc/guides/nics/ena.rst +3 -4
@@ -179,8 +179,8 @@ See :doc:`/linux_gsg/build_dpdk` for instructions. By default the ENA PMD library will be built into the DPDK library. -For configuring and using UIO and VFIO frameworks, please also refer :ref:`the -documentation that comes with DPDK suite <linux_gsg>`. +For configuring and using UIO and VFIO frameworks, +please also refer the :doc:`/linux_gsg/index`. Supported Operating Systems ---------------------------
@@ -292,8 +292,7 @@ Note that ``uio_pci_generic`` lacks IOMMU support and cannot be used for metal i Usage example ------------- -Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` to launch +Follow instructions available in the document :doc:`build_and_test` to launch **testpmd** with Amazon ENA devices managed by librte_net_ena. Example output:
doc/guides/nics/enetc.rst +1 -3
@@ -107,6 +107,4 @@ separately: Driver compilation and testing ------------------------------ -Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -to launch **testpmd** +Follow instructions available in the document :doc:`build_and_test` to launch **testpmd**
doc/guides/nics/enetc4.rst +1 -3
@@ -87,9 +87,7 @@ The following dependencies are not part of DPDK and must be installed separately Driver compilation and testing ------------------------------ -Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -to launch **testpmd**. +Follow instructions available in the document :doc:`build_and_test` to launch **testpmd**. Driver Arguments (devargs)
doc/guides/nics/enic.rst +1 -2
@@ -518,8 +518,7 @@ How to build the suite The build instructions for the DPDK suite should be followed. By default the ENIC PMD library will be built into the DPDK library. -Refer to the document :ref:`compiling and testing a PMD for a NIC -<pmd_build_and_test>` for details. +Refer to the document :doc:`build_and_test` for details. For configuring and using UIO and VFIO frameworks, please refer to the documentation that comes with DPDK suite.
doc/guides/nics/fail_safe.rst +1 -2
@@ -108,8 +108,7 @@ Usage example This section shows some example of using **testpmd** with a fail-safe PMD. -#. To build a PMD and configure DPDK, refer to the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`. +#. To build a PMD and configure DPDK, refer to the document :doc:`build_and_test`. #. Start testpmd. The sub-device ``84:00.0`` should be blocked from normal EAL operations to avoid probing it twice, as the PCI bus is in blocklist mode.
doc/guides/nics/hinic.rst +2 -3
@@ -44,14 +44,13 @@ Prerequisites - Getting the latest product documents and software supports using `<https://support.huawei.com/enterprise/en/intelligent-accelerator-components/in500-solution-pid-23507369>`_. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Limitations or Known issues ---------------------------
doc/guides/nics/hinic3.rst +2 -4
@@ -39,15 +39,13 @@ Features Prerequisites ------------- -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` - to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Limitations or Known issues
doc/guides/nics/hns3.rst +2 -4
@@ -52,8 +52,7 @@ Prerequisites - Get the information about Kunpeng920 chip using `<https://www.hisilicon.com/en/products/Kunpeng>`_. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to - setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Link status event Pre-conditions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -206,8 +205,7 @@ Runtime Configuration Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Sample Application Notes ------------------------
doc/guides/nics/i40e.rst +3 -6
@@ -52,7 +52,7 @@ Linux Prerequisites - Identifying your adapter using `Intel Support <http://www.intel.com/support>`_ and get the latest NVM/FW images. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. - To get better performance on Intel platforms, please follow :doc:`/linux_gsg/nic_perf_intel_platform`.
@@ -221,8 +221,7 @@ can use this assumption to do a bit mask using ``ring_size - 1``. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. SR-IOV: Prerequisites and sample Application Notes
@@ -277,9 +276,7 @@ SR-IOV: Prerequisites and sample Application Notes #. Running testpmd: - Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` - to run testpmd. + Follow instructions available in the document :doc:`build_and_test` to run testpmd. Example output:
doc/guides/nics/ice.rst +2 -3
@@ -17,7 +17,7 @@ the following controllers, Linux Prerequisites ------------------- -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. - To get better performance on Intel platforms, please follow :doc:`/linux_gsg/nic_perf_intel_platform`.
@@ -365,8 +365,7 @@ Runtime Configuration Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Features --------
doc/guides/nics/igc.rst +1 -2
@@ -23,8 +23,7 @@ Supported Chipsets and NICs Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Sample Application Notes
doc/guides/nics/ipn3ke.rst +2 -3
@@ -22,7 +22,7 @@ Prerequisites - Identifying your adapter using `Intel Support <http://www.intel.com/support>`_ and get the latest NVM/FW images. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. - To get better performance on Intel platforms, please follow :doc:`/linux_gsg/nic_perf_intel_platform`.
@@ -61,8 +61,7 @@ Runtime Configuration Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Sample Application Notes ------------------------
doc/guides/nics/mana.rst +1 -2
@@ -54,8 +54,7 @@ and must be installed separately: Driver compilation and testing ------------------------------ -Refer to the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` for details. +Refer to the document :doc:`build_and_test` for details. Runtime Configuration ---------------------
doc/guides/nics/mvneta.rst +1 -2
@@ -72,8 +72,7 @@ Prerequisites - DPDK environment - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup - DPDK environment. + Follow the DPDK :doc:`/linux_gsg/index` to setup DPDK environment. Runtime Configuration
doc/guides/nics/mvpp2.rst +1 -2
@@ -102,8 +102,7 @@ Prerequisites - DPDK environment - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup - DPDK environment. + Follow the DPDK :doc:`/linux_gsg/index` to setup DPDK environment. Building MUSDK
doc/guides/nics/nbl.rst +1 -2
@@ -84,8 +84,7 @@ Only PF supports coexistence between DPDK and kernel driver; VF does not. Prerequisites ------------- -#. Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` - to setup the basic DPDK environment. +#. Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. #. NBL PMD requires the ``vfio-pci`` kernel driver. The ``igb_uio`` and ``uio_pci_generic`` drivers are not supported.
doc/guides/nics/nfp.rst +1 -2
@@ -57,8 +57,7 @@ the NFP PMD. Driver compilation and testing ------------------------------ -Refer to the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` for details. +Refer to the document :doc:`build_and_test` for details. Using the PF ------------
doc/guides/nics/ngbe.rst +2 -3
@@ -36,7 +36,7 @@ Prerequisites - Learning about Wangxun 1 Gigabit Ethernet NICs using `<https://www.net-swift.com/a/386.html>`_. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Configuration
@@ -74,8 +74,7 @@ NGBE PMD provides the following log types available for control: Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Limitations or Known issues
doc/guides/nics/octeontx.rst +2 -5
@@ -55,14 +55,11 @@ Configuration Driver compilation and testing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. #. Running testpmd: - Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` - to run testpmd. + Follow instructions available in the document :doc:`build_and_test` to run testpmd. Example output:
doc/guides/nics/pfe.rst +1 -3
@@ -156,9 +156,7 @@ separately: Driver compilation and testing ------------------------------ -Follow instructions available in the document -:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -to launch **testpmd** +Follow instructions available in the document :doc:`build_and_test` to launch **testpmd** Additionally, PFE driver needs `--vdev` as an input with value `net_pfe` to execute DPDK application. There is an optional parameter `intf` available
doc/guides/nics/qede.rst +2 -5
@@ -144,8 +144,7 @@ following error. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. RTE Flow Support ----------------
@@ -260,9 +259,7 @@ This section provides instructions to configure SR-IOV with Linux OS. #. Running testpmd (Supply ``--log-level="pmd.net.qede.driver:info`` to view informational messages): - Refer to the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` to run - ``testpmd`` application. + Refer to the document :doc:`build_and_test` to run ``testpmd`` application. Example output:
doc/guides/nics/thunderx.rst +3 -6
@@ -41,14 +41,13 @@ Features of the ThunderX PMD are: Prerequisites ------------- -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Use config/arm/arm64-thunderx-linux-gcc as a meson cross-file when cross-compiling.
@@ -149,9 +148,7 @@ This section provides instructions to configure SR-IOV with Linux OS. #. Running testpmd: - Follow instructions available in the document - :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` - to run testpmd. + Follow instructions available in the document :doc:`build_and_test` to run testpmd. Example output:
doc/guides/nics/txgbe.rst +2 -3
@@ -45,7 +45,7 @@ Prerequisites - Learning about Wangxun 25 Gigabit Ethernet NICs using `<https://www.net-swift.com/a/25GbE-tong-yong-lei-FF5025.html>`_. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. Configuration -------------
@@ -180,8 +180,7 @@ Please note that following ``devargs`` are only set for Amber-Lite NICs. Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Sample Application Notes ------------------------
doc/guides/nics/xsc.rst +1 -2
@@ -22,8 +22,7 @@ The following Yunsilicon device models are supported by the same xsc driver: Prerequisites ------------- -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` - to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. - Learn about `Yunsilicon metaScale Series NICs <https://www.yunsilicon.com/#/productInformation>`_.
doc/guides/nics/zxdh.rst +1 -2
@@ -55,8 +55,7 @@ Features of the ZXDH PMD are: Driver compilation and testing ------------------------------ -Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>` -for details. +Refer to the document :doc:`build_and_test` for details. Limitations or Known issues
doc/guides/platform/dpaa.rst +1 -2
@@ -110,5 +110,4 @@ Currently supported by DPDK: - NXP SDK **2.0+** (preferred: LSDK 18.09). - Supported architectures: **arm64 LE**. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` - to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment.
doc/guides/platform/dpaa2.rst +1 -2
@@ -107,5 +107,4 @@ Currently supported by DPDK: - MC Firmware version **10.37.0** and higher. - Supported architectures: **arm64 LE**. -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` - to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment.
doc/guides/prog_guide/asan.rst +1 -1
@@ -14,7 +14,7 @@ printing out detailed debug information whenever an error is detected. AddressSanitizer is a part of LLVM (3.1+) and GCC (4.8+). Enabling ASan is done by passing the -Db_sanitize=address option to the meson build system, -see :ref:`linux_gsg_compiling_dpdk` for details. +see :doc:`/linux_gsg/build_dpdk` for details. The way ASan is integrated with clang requires to allow undefined symbols when linking code. To do this, the -Db_lundef=false option must be added.
doc/guides/rawdevs/dpaa2_cmdif.rst +1 -1
@@ -31,7 +31,7 @@ Prerequisites See :doc:`/platform/dpaa2` for setup information -- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment. +- Follow the DPDK :doc:`/linux_gsg/index` to setup the basic DPDK environment. .. note::
doc/guides/sample_app_ug/compiling.rst +2 -2
@@ -28,8 +28,8 @@ Build: ninja For additional information on compiling see -:ref:`Compiling DPDK on Linux <linux_gsg_compiling_dpdk>` or -:ref:`Compiling DPDK on FreeBSD <building_from_source>`. +:doc:`Compiling DPDK on Linux </linux_gsg/build_dpdk>` or +:doc:`Compiling DPDK on FreeBSD </freebsd_gsg/build_dpdk>`. Applications are output to: ``dpdk/<build_dir>/examples``.
doc/guides/sample_app_ug/server_node_efd.rst +2 -2
@@ -122,8 +122,8 @@ generator side. For examples of application command lines and traffic generator flows, please refer to the DPDK Test Report. For more details on how to set up and run the sample applications provided with DPDK package, please refer to the -:ref:`DPDK Getting Started Guide for Linux <linux_gsg>` and -:ref:`DPDK Getting Started Guide for FreeBSD <freebsd_gsg>`. +:doc:`DPDK Getting Started Guide for Linux </linux_gsg/index>` and +:doc:`DPDK Getting Started Guide for FreeBSD </freebsd_gsg/index>`. Explanation
doc/guides/testpmd_app_ug/index.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2014 Intel Corporation. -.. _testpmd_ug: - Testpmd Application User Guide ==============================
doc/guides/testpmd_app_ug/run_app.rst +1 -1
@@ -29,7 +29,7 @@ The command line options are: Run testpmd in interactive mode. In this mode, the testpmd starts with a prompt that can be used to start and stop forwarding, configure the application and display stats on the current packet processing session. - See :ref:`testpmd_runtime` for more details. + See :doc:`testpmd_funcs` for more details. In non-interactive mode, the application starts with the configuration specified on the command-line and
doc/guides/testpmd_app_ug/testpmd_funcs.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2016 Intel Corporation. -.. _testpmd_runtime: - Testpmd Runtime Functions =========================
doc/guides/tools/testbbdev.rst +0 -2
@@ -1,8 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2017 Intel Corporation -.. _test_bbdev_application: - dpdk-test-bbdev Application ===========================
Signature · 1 line
2.54.0
PATCH v3 6/8 doc: remove redundant link captions
In reply to Thomas MonjalonSome explicit link captions duplicate the title
of the referenced section or document.
Let Sphinx use the referenced title directly
where the rendered text would stay the same.
--- doc/guides/contributing/abi_versioning.rst | 6 +++--- doc/guides/contributing/patches.rst | 3 +-- doc/guides/dmadevs/cnxk.rst | 2 +- doc/guides/dmadevs/idxd.rst | 2 +- doc/guides/dmadevs/ioat.rst | 2 +- doc/guides/dmadevs/odm.rst | 3 +-- doc/guides/howto/lm_bond_virtio_sriov.rst | 7 +++---- doc/guides/howto/lm_virtio_vhost_user.rst | 4 ++-- doc/guides/howto/packet_capture_framework.rst | 2 +- doc/guides/linux_gsg/enable_func.rst | 2 +- doc/guides/linux_gsg/sys_reqs.rst | 2 +- doc/guides/nics/dpaa2.rst | 2 +- doc/guides/nics/mvpp2.rst | 8 ++++---- doc/guides/prog_guide/eventdev/event_crypto_adapter.rst | 2 +- doc/guides/prog_guide/eventdev/event_dma_adapter.rst | 2 +- doc/guides/prog_guide/eventdev/event_timer_adapter.rst | 2 +- doc/guides/prog_guide/fib_lib.rst | 2 +- doc/guides/prog_guide/graph_lib.rst | 8 ++++---- doc/guides/regexdevs/mlx5.rst | 2 +- doc/guides/rel_notes/deprecation.rst | 3 +-- doc/guides/sample_app_ug/l3_forward_power_man.rst | 2 +- doc/guides/sample_app_ug/server_node_efd.rst | 3 +-- doc/guides/tools/dts.rst | 2 +- 23 files changed, 34 insertions(+), 39 deletions(-)
doc/guides/contributing/abi_versioning.rst +3 -3
@@ -226,8 +226,8 @@ but now points to the above newly named function ``rte_acl_create_v21``. We have now mapped the original rte_acl_create symbol to the original function (but with a new name). -Please see the section :ref:`Enabling versioning macros -<enabling_versioning_macros>` to enable this macro in the meson/ninja build. +Please see the section :ref:`enabling_versioning_macros` +to enable this macro in the Meson/Ninja build. Next, we need to create the new version of the symbol. We create a new function name and implement it appropriately, then wrap it in a call to ``RTE_DEFAULT_SYMBOL``.
@@ -256,7 +256,7 @@ used by newly built applications. .. note:: **Before you leave**, please take care reviewing the sections on - :ref:`enabling versioning macros <enabling_versioning_macros>`, + :ref:`enabling_versioning_macros`, and :ref:`ABI deprecation <abi_deprecation>`.
doc/guides/contributing/patches.rst +1 -2
@@ -161,8 +161,7 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines * For other PMDs and more info, refer to the ``MAINTAINERS`` file. * New external functions should be exported. - See the :doc:`ABI policy <abi_policy>` and :doc:`abi_versioning` - guides. + See the :doc:`abi_policy` and :doc:`abi_versioning` guides. * Any new API function should be used in ``/app`` test directory.
doc/guides/dmadevs/cnxk.rst +1 -1
@@ -53,7 +53,7 @@ by calling the ``rte_dma_start()`` API. Performing Data Copies ~~~~~~~~~~~~~~~~~~~~~~ -Refer to the :ref:`Enqueue / Dequeue APIs <dmadev_enqueue_dequeue>` section +Refer to the :ref:`dmadev_enqueue_dequeue` section of the dmadev library documentation for details on operation enqueue and submission API usage.
doc/guides/dmadevs/idxd.rst +1 -1
@@ -197,7 +197,7 @@ Once configured, the device can then be made ready for use by calling the Performing Data Copies ~~~~~~~~~~~~~~~~~~~~~~ -Refer to the :ref:`Enqueue / Dequeue APIs <dmadev_enqueue_dequeue>` section of the dmadev library +Refer to the :ref:`dmadev_enqueue_dequeue` section of the dmadev library documentation for details on operation enqueue, submission and completion API usage. It is expected that, for efficiency reasons, a burst of operations will be enqueued to the
doc/guides/dmadevs/ioat.rst +1 -1
@@ -89,7 +89,7 @@ Once configured, the device can then be made ready for use by calling the Performing Data Copies ~~~~~~~~~~~~~~~~~~~~~~ -Refer to the :ref:`Enqueue / Dequeue APIs <dmadev_enqueue_dequeue>` section of the dmadev library +Refer to the :ref:`dmadev_enqueue_dequeue` section of the dmadev library documentation for details on operation enqueue, submission and completion API usage. It is expected that, for efficiency reasons, a burst of operations will be enqueued to the
doc/guides/dmadevs/odm.rst +1 -2
@@ -48,8 +48,7 @@ by calling the ``rte_dma_start()`` API. Performing Data Copies ~~~~~~~~~~~~~~~~~~~~~~ -Refer to the :ref:`Enqueue / Dequeue API <dmadev_enqueue_dequeue>` -section of the dmadev library documentation +Refer to the :ref:`dmadev_enqueue_dequeue` section of the dmadev library documentation for details on operation enqueue and submission API usage. Performance Tuning Parameters
doc/guides/howto/lm_bond_virtio_sriov.rst +3 -4
@@ -31,8 +31,7 @@ The NIC's on both servers are connected to a switch which is also connected to the traffic generator. The switch is configured to broadcast traffic on all the NIC ports. -A :ref:`Sample switch configuration <lm_bond_virtio_sriov_switch_conf>` -can be found in this section. +A :ref:`lm_bond_virtio_sriov_switch_conf` can be found in this section. The host is running the Kernel PF driver (ixgbe or i40e).
@@ -46,8 +45,8 @@ Live Migration steps -------------------- The sample scripts mentioned in the steps below can be found in the -:ref:`Sample host scripts <lm_bond_virtio_sriov_host_scripts>` and -:ref:`Sample VM scripts <lm_bond_virtio_sriov_vm_scripts>` sections. +:ref:`lm_bond_virtio_sriov_host_scripts` and +:ref:`lm_bond_virtio_sriov_vm_scripts` sections. On host_server_1: Terminal 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/howto/lm_virtio_vhost_user.rst +2 -2
@@ -38,8 +38,8 @@ Live Migration steps -------------------- The sample scripts mentioned in the steps below can be found in the -:ref:`Sample host scripts <lm_virtio_vhost_user_host_scripts>` and -:ref:`Sample VM scripts <lm_virtio_vhost_user_vm_scripts>` sections. +:ref:`lm_virtio_vhost_user_host_scripts` and +:ref:`lm_virtio_vhost_user_vm_scripts` sections. On host_server_1: Terminal 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/howto/packet_capture_framework.rst +1 -1
@@ -28,7 +28,7 @@ and its usage is recommended for debugging purposes. The :doc:`librte_pcapng </prog_guide/pcapng_lib>` library provides the API to format packets and write them to a file in Pcapng format. -The :doc:`dpdk-dumpcap </tools/dumpcap>` is a tool that captures packets in +The :doc:`/tools/dumpcap` is a tool that captures packets in like Wireshark dumpcap does for Linux. It runs as a DPDK secondary process and captures packets from one or more interfaces and writes them to a file in Pcapng format.
doc/guides/linux_gsg/enable_func.rst +1 -1
@@ -83,7 +83,7 @@ need to be adjusted in order to ensure normal DPDK operation: The above limits can usually be adjusted by editing ``/etc/security/limits.conf`` file, and rebooting. -See :ref:`Hugepage Mapping <hugepage_mapping>` section to learn how these limits affect EAL. +See :ref:`hugepage_mapping` section to learn how these limits affect EAL. Device Control ~~~~~~~~~~~~~~
doc/guides/linux_gsg/sys_reqs.rst +1 -1
@@ -131,7 +131,7 @@ System Software * PROC_PAGE_MONITOR support * HPET and HPET_MMAP configuration options should also be enabled if HPET support is required. - See the section on :ref:`High Precision Event Timer (HPET) Functionality <High_Precision_Event_Timer>` for more details. + See the section on :ref:`High_Precision_Event_Timer` for more details. .. _linux_gsg_hugepages:
doc/guides/nics/dpaa2.rst +1 -1
@@ -407,7 +407,7 @@ Features of the DPAA2 PMD are: - Link flow control - Scattered and gather for TX and RX - Rx queue interrupts -- :ref:`Traffic Management API <dptmapi>` +- :ref:`dptmapi` Supported DPAA2 SoCs
doc/guides/nics/mvpp2.rst +4 -4
@@ -35,13 +35,13 @@ Features of the MVPP2 PMD are: - L4 checksum offload - Packet type parsing - Basic stats -- :ref:`Extended stats <extstats>` +- :ref:`extstats` - RX flow control - Scattered TX frames - :ref:`QoS <extconf>` -- :ref:`Flow API <flowapi>` -- :ref:`Traffic metering and policing <mtrapi>` -- :ref:`Traffic Management API <tmapi>` +- :ref:`flowapi` +- :ref:`mtrapi` +- :ref:`tmapi` Limitations -----------
doc/guides/prog_guide/eventdev/event_crypto_adapter.rst +1 -1
@@ -4,7 +4,7 @@ Event Crypto Adapter Library ============================ -The DPDK :doc:`Eventdev library <eventdev>` provides event driven +The DPDK :doc:`eventdev` provides event driven programming model with features to schedule events. The :doc:`../cryptodev_lib` provides an interface to the crypto poll mode drivers that support different crypto operations.
doc/guides/prog_guide/eventdev/event_dma_adapter.rst +1 -1
@@ -4,7 +4,7 @@ Event DMA Adapter Library ========================= -DPDK :doc:`eventdev library <eventdev>` provides event driven programming model +DPDK :doc:`eventdev` provides event driven programming model with features to schedule events. :doc:`../dmadev` provides an interface to DMA poll mode drivers that support DMA operations.
doc/guides/prog_guide/eventdev/event_timer_adapter.rst +1 -1
@@ -4,7 +4,7 @@ Event Timer Adapter Library =========================== -The DPDK :doc:`Event Device library <eventdev>` +The DPDK :doc:`eventdev` introduces an event driven programming model which presents applications with an alternative to the polling model traditionally used in DPDK applications. Event devices can be coupled with arbitrary components to provide
doc/guides/prog_guide/fib_lib.rst +1 -1
@@ -21,7 +21,7 @@ FIB API Overview The main configuration struct contains: -* Type of :ref:`dataplane algorithm <fib_dataplane_algorithms>`. +* Type of :ref:`fib_dataplane_algorithms`. * Default next hop ID.
doc/guides/prog_guide/graph_lib.rst +4 -4
@@ -537,8 +537,8 @@ Feature arc An ordered list of feature nodes in a given network layer is called as feature arc. It consists of three objects: -- :ref:`Start node <Start_Node>` -- :ref:`End feature node <End_Feature_Node>` +- :ref:`Start_Node` +- :ref:`End_Feature_Node` - :ref:`Zero or more feature nodes <Feature_Nodes>` In order to :ref:`create <Feature_Arc_Registration>` a feature arc object,
@@ -774,7 +774,7 @@ using ``rte_graph_feature_enable()`` and ``rte_graph_feature_disable()`` functio .. note:: RCU argument is optional argument to enable/disable API. - See :ref:`control/data plane synchronization <Control_Data_Plane_Synchronization>` + See :ref:`Control_Data_Plane_Synchronization` and :ref:`notifier_cb <Feature_Notifier_Cb>` for more details on when RCU is needed. Fast path traversal rules
@@ -845,7 +845,7 @@ whenever any feature is enabled at runtime. ***************** Following code-snippet explains fast path traversal rule for ``Feature-1`` -:ref:`feature node <Feature_Nodes>` shown in :ref:`figure <Figure_Arc_2>`. +:ref:`Feature_Nodes` shown in :ref:`figure <Figure_Arc_2>`. .. code-block:: c
doc/guides/regexdevs/mlx5.rst +1 -1
@@ -27,7 +27,7 @@ Configuration ------------- See :ref:`mlx5 common compilation <mlx5_common_compilation>`, -:ref:`mlx5 firmware configuration <mlx5_firmware_config>`, +:ref:`mlx5_firmware_config`, and :ref:`mlx5 common driver options <mlx5_common_driver_options>`.
doc/guides/rel_notes/deprecation.rst +1 -2
@@ -4,8 +4,7 @@ ABI and API Deprecation ======================= -See the guidelines document for details -of the :doc:`ABI policy </contributing/abi_policy>`. +See the guidelines document for details of the :doc:`/contributing/abi_policy`. With DPDK 23.11, there will be a new major ABI version: 24. This means that during the development of 23.11,
doc/guides/sample_app_ug/l3_forward_power_man.rst +1 -1
@@ -304,7 +304,7 @@ and has three available power management schemes: The reaction time of the scale mode is longer than the pause and monitor mode. -See :doc:`Power Management </prog_guide/power_man>` chapter +See :doc:`/prog_guide/power_man` chapter in the DPDK Programmer's Guide for more details on PMD power management. .. code-block:: console
doc/guides/sample_app_ug/server_node_efd.rst +1 -2
@@ -122,8 +122,7 @@ generator side. For examples of application command lines and traffic generator flows, please refer to the DPDK Test Report. For more details on how to set up and run the sample applications provided with DPDK package, please refer to the -:doc:`DPDK Getting Started Guide for Linux </linux_gsg/index>` and -:doc:`DPDK Getting Started Guide for FreeBSD </freebsd_gsg/index>`. +:doc:`/linux_gsg/index` and :doc:`/freebsd_gsg/index`. Explanation
doc/guides/tools/dts.rst +1 -1
@@ -385,7 +385,7 @@ Framework Coding Guidelines When contributing code to the DTS framework, follow existing conventions to ensure consistency. -The :ref:`DTS developer tools <dts_dev_tools>` will flag basic issues. +The :ref:`dts_dev_tools` will flag basic issues. Also, be sure to :ref:`build the API documentation <building_api_docs>` to catch any problems during the build.
Signature · 1 line
2.54.0
PATCH v3 7/8 doc: avoid numbered guide references
In reply to Thomas MonjalonChapter and section numbers may change as guides are reorganized. Replace visible numbers with links to named sections or pages.
--- doc/guides/bbdevs/acc100.rst | 4 +-- doc/guides/bbdevs/fpga_5gnr_fec.rst | 4 +-- doc/guides/bbdevs/fpga_lte_fec.rst | 4 +-- doc/guides/bbdevs/la12xx.rst | 4 +-- doc/guides/bbdevs/vrb1.rst | 4 +-- doc/guides/bbdevs/vrb2.rst | 4 +-- doc/guides/nics/mlx4.rst | 2 +- .../prog_guide/ethdev/qos_framework.rst | 25 +++++++++++-------- doc/guides/prog_guide/thread_safety.rst | 2 +- 9 files changed, 29 insertions(+), 24 deletions(-)
doc/guides/bbdevs/acc100.rst +2 -2
@@ -78,9 +78,9 @@ ACC100 5G/4G FEC PMDs support the following BBDEV capabilities: Installation ------------ -Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. +See :doc:`/linux_gsg/build_dpdk` for build instructions. -DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual. +DPDK requires hugepages to be configured as described in :ref:`linux_gsg_hugepages`. The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The hugepage configuration of a server may be examined using:
doc/guides/bbdevs/fpga_5gnr_fec.rst +2 -2
@@ -53,9 +53,9 @@ FPGA 5GNR FEC does not support the following: Installation ------------ -Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. +See :doc:`/linux_gsg/build_dpdk` for build instructions. -DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual. +DPDK requires hugepages to be configured as described in :ref:`linux_gsg_hugepages`. The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The hugepage configuration of a server may be examined using:
doc/guides/bbdevs/fpga_lte_fec.rst +2 -2
@@ -51,9 +51,9 @@ FPGA LTE FEC does not support the following: Installation ------------ -Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. +See :doc:`/linux_gsg/build_dpdk` for build instructions. -DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual. +DPDK requires hugepages to be configured as described in :ref:`linux_gsg_hugepages`. The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The hugepage configuration of a server may be examined using:
doc/guides/bbdevs/la12xx.rst +2 -2
@@ -23,9 +23,9 @@ LA12xx PMD supports the following features: Installation ------------ -Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. +See :doc:`/linux_gsg/build_dpdk` for build instructions. -DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual. +DPDK requires hugepages to be configured as described in :ref:`linux_gsg_hugepages`. Initialization --------------
doc/guides/bbdevs/vrb1.rst +2 -2
@@ -83,9 +83,9 @@ The Intel vRAN Boost v1.0 PMD supports the following bbdev capabilities: Installation ------------ -Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. +See :doc:`/linux_gsg/build_dpdk` for build instructions. -DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual. +DPDK requires hugepages to be configured as described in :ref:`linux_gsg_hugepages`. The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The hugepage configuration of a server may be examined using:
doc/guides/bbdevs/vrb2.rst +2 -2
@@ -100,9 +100,9 @@ The Intel vRAN Boost v2.0 PMD supports the following bbdev capabilities: Installation ------------ -Section 3 of the DPDK manual provides instructions on installing and compiling DPDK. +See :doc:`/linux_gsg/build_dpdk` for build instructions. -DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual. +DPDK requires hugepages to be configured as described in :ref:`linux_gsg_hugepages`. The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The hugepage configuration of a server may be examined using:
doc/guides/nics/mlx4.rst +1 -1
@@ -267,7 +267,7 @@ Installing NVIDIA MLNX_OFED connectx_port_config -#. Continue with :ref:`section 2 of the Quick Start Guide <mlx4_QSG_2>`. +#. Continue with the :ref:`Quick Start Guide <mlx4_QSG_2>`. Quick Start Guide
doc/guides/prog_guide/ethdev/qos_framework.rst +15 -10
@@ -456,6 +456,8 @@ Usually, once the occupancy of the NIC TX input queue drops below a predefined t the port scheduler is woken up (interrupt based or polling based, by continuously monitoring the queue occupancy) to push more packets into the queue. +.. _qos_internal_time_reference: + Internal Time Reference """""""""""""""""""""""
@@ -625,8 +627,8 @@ while the implementation of the token bucket operations is described in :numref: | | | | or CPU cycles for ease of credit consumption operation | | | | | (as the current time is also maintained in bytes). | | | | | | - | | | | See Section 26.2.4.5.1 "Internal Time Reference" for an | - | | | | explanation of why the time is maintained in byte units. | + | | | | See :ref:`qos_internal_time_reference` for an | + | | | | explanation of why time is maintained in byte units. | | | | | | +---+------------------------+-------+----------------------------------------------------------------------+ | 2 | tb_period | Bytes | Time period that should elapse since the last credit update in order |
@@ -1205,9 +1207,9 @@ The use cases supported by the dropper are: * * Mark empty (record the time at which a packet queue becomes empty) -The configuration use case is explained in :ref:`Section 2.23.3.1 <Configuration>`, -the enqueue operation is explained in :ref:`Section 2.23.3.2 <Enqueue_Operation>` -and the mark empty operation is explained in :ref:`Section 2.23.3.3 <Queue_Empty_Operation>`. +The configuration use case is explained in :ref:`Configuration`, +the enqueue operation is explained in :ref:`Enqueue_Operation` +and the mark empty operation is explained in :ref:`Queue_Empty_Operation`. .. _Configuration:
@@ -1321,8 +1323,8 @@ Where: .. note:: - The filter weight, wq = 1/2^n, where n is the filter weight parameter value passed to the dropper module - on configuration (see :ref:`Section2.23.3.1 <Configuration>` ). + The filter weight, wq = 1/2^n, where n is the filter weight parameter value + passed to the dropper module on configuration (see :ref:`Configuration`). Average Queue Size Calculation when the Queue is Empty ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1368,6 +1370,8 @@ Since the time reference is in bytes, the port speed is implied in the expressio The dropper does not have to be configured with the actual port speed. It adjusts automatically to low speed and high speed links. +.. _qos_dropper_implementation: + Implementation """"""""""""""
@@ -1406,7 +1410,8 @@ These approaches include: * Large look-up table (76 KB) -The method that was finally selected (described above in Section 26.3.2.2.1) outperforms all of these approaches +The method described in the :ref:`implementation section <qos_dropper_implementation>` +outperforms all of these approaches in terms of run-time performance and memory requirements and also achieves accuracy comparable to floating-point evaluation. :numref:`table_qos_17` lists the performance of each of these alternative approaches relative to the method that is used in the dropper.
@@ -1420,7 +1425,7 @@ As can be seen, the floating-point implementation achieved the worst performance | Method | Relative Performance | | | | +====================================================================================+======================+ - | Current dropper method (see :ref:`Section 23.3.2.1.3 <Droppers>`) | 100% | + | Current dropper method (see :ref:`Droppers`) | 100% | | | | +------------------------------------------------------------------------------------+----------------------+ | Fixed-point method with small (512B) look-up table | 148% |
@@ -1560,7 +1565,7 @@ Integration with the DPDK QoS Scheduler Sample Application The DPDK QoS Scheduler Application reads a configuration file on start-up. The configuration file includes a section containing RED parameters. -The format of these parameters is described in :ref:`Section2.23.3.1 <Configuration>`. +The format of these parameters is described in :ref:`Configuration`. A sample RED configuration is shown below. In this example, the queue size is 64 packets. .. note::
doc/guides/prog_guide/thread_safety.rst +1 -1
@@ -44,7 +44,7 @@ The mempool library is based on the DPDK lockless ring library and therefore is Performance Insensitive API --------------------------- -Outside of the performance sensitive areas described in Section 25.1, +Outside of the performance sensitive areas described above, the DPDK provides a thread-safe API for most other libraries. For example, malloc and memzone functions are safe for use in multi-threaded and multi-process environments.
Signature · 1 line
2.54.0