doc: fix anchors namespace in guides
Subsystems (2)
PATCH v3 8/8 doc: add prefixes to guide labels
In reply to Thomas MonjalonFrom: Nandini Persad <[email protected]>
Sphinx labels are global across the documentation.
Rename guide labels with document- or component-specific prefixes to avoid collisions and make their ownership clear.
--- doc/guides/compressdevs/qat_comp.rst | 2 +- doc/guides/contributing/abi_policy.rst | 38 ++++---- doc/guides/contributing/abi_versioning.rst | 26 ++--- doc/guides/contributing/coding_style.rst | 8 +- doc/guides/contributing/design.rst | 2 +- doc/guides/contributing/documentation.rst | 26 ++--- doc/guides/contributing/new_driver.rst | 6 +- doc/guides/contributing/patches.rst | 6 +- doc/guides/cryptodevs/qat.rst | 4 +- doc/guides/faq/faq.rst | 2 +- doc/guides/freebsd_gsg/build_dpdk.rst | 6 +- doc/guides/freebsd_gsg/build_sample_apps.rst | 6 +- doc/guides/freebsd_gsg/install_from_ports.rst | 8 +- doc/guides/howto/avx512.rst | 3 +- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/howto/packet_capture_framework.rst | 7 +- .../howto/virtio_user_as_exception_path.rst | 4 +- .../virtio_user_for_container_networking.rst | 8 +- doc/guides/linux_gsg/build_dpdk.rst | 2 +- doc/guides/linux_gsg/build_sample_apps.rst | 3 +- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 8 +- doc/guides/linux_gsg/enable_func.rst | 6 +- doc/guides/linux_gsg/linux_drivers.rst | 14 +-- doc/guides/linux_gsg/sys_reqs.rst | 2 +- doc/guides/nics/cxgbe.rst | 26 ++--- doc/guides/nics/dpaa2.rst | 4 +- doc/guides/nics/i40e.rst | 6 +- doc/guides/nics/intel_vf.rst | 18 ++-- doc/guides/nics/ixgbe.rst | 2 +- doc/guides/nics/mlx4.rst | 8 +- doc/guides/nics/mlx5.rst | 8 +- doc/guides/nics/mvpp2.rst | 23 ++--- doc/guides/nics/netvsc.rst | 4 +- doc/guides/platform/cnxk.rst | 14 +-- doc/guides/platform/dpaa.rst | 4 +- doc/guides/platform/mlx5.rst | 2 +- doc/guides/platform/octeontx.rst | 7 +- doc/guides/prog_guide/bbdev.rst | 8 +- doc/guides/prog_guide/efd_lib.rst | 52 +++++----- .../prog_guide/env_abstraction_layer.rst | 22 ++--- .../prog_guide/ethdev/qos_framework.rst | 94 +++++++++---------- .../ethdev/traffic_metering_and_policing.rst | 4 +- .../prog_guide/eventdev/dispatcher_lib.rst | 4 +- doc/guides/prog_guide/fib_lib.rst | 4 +- .../generic_receive_offload_lib.rst | 4 +- .../generic_segmentation_offload_lib.rst | 8 +- doc/guides/prog_guide/graph_lib.rst | 52 +++++----- doc/guides/prog_guide/mbuf_lib.rst | 6 +- doc/guides/prog_guide/mempool_lib.rst | 10 +- .../prog_guide/packet_classif_access_ctrl.rst | 2 +- doc/guides/prog_guide/packet_framework.rst | 80 +++++++++------- doc/guides/prog_guide/rcu_lib.rst | 4 +- doc/guides/prog_guide/rib_lib.rst | 12 +-- doc/guides/prog_guide/toeplitz_hash_lib.rst | 12 +-- doc/guides/sample_app_ug/compiling.rst | 2 +- doc/guides/sample_app_ug/dist_app.rst | 4 +- doc/guides/sample_app_ug/l2_forward_event.rst | 4 +- .../sample_app_ug/l2_forward_job_stats.rst | 10 +- .../sample_app_ug/l2_forward_real_virtual.rst | 14 +-- doc/guides/sample_app_ug/server_node_efd.rst | 4 +- doc/guides/sample_app_ug/test_pipeline.rst | 4 +- .../sample_app_ug/vm_power_management.rst | 32 ++++--- .../sample_app_ug/vmdq_dcb_forwarding.rst | 5 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 +- doc/guides/tools/dts.rst | 20 ++-- doc/guides/tools/graph.rst | 66 +++++++------ doc/guides/tools/testeventdev.rst | 16 ++-- 67 files changed, 459 insertions(+), 431 deletions(-)
doc/guides/compressdevs/qat_comp.rst +1 -1
@@ -55,4 +55,4 @@ Installation The QAT compression PMD is built by default with a standard DPDK build. -It depends on a QAT kernel driver, see :ref:`building_qat`. +It depends on a QAT kernel driver, see :ref:`qat_building`.
doc/guides/contributing/abi_policy.rst +19 -19
@@ -15,23 +15,23 @@ General Guidelines #. Major ABI versions are declared no more frequently than yearly. Compatibility with the major ABI version is mandatory in subsequent releases until a - :ref:`new major ABI version <new_abi_version>` is declared. + :ref:`new major ABI version <abi_new_version>` is declared. #. Major ABI versions are usually but not always declared aligned with a :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>`. + all non-experimental :ref:`library's soname <abi_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 :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>` +#. Libraries or APIs marked as :ref:`experimental <abi_experimental_apis>` may be changed or removed without prior notice, as they are not considered part of an ABI version. - The :ref:`experimental <experimental_apis>` status of an API + The :ref:`experimental <abi_experimental_apis>` status of an API is not an indefinite state. -#. Updates to the :ref:`minimum hardware requirements <hw_rqmts>`, which drop +#. Updates to the :ref:`minimum hardware requirements <abi_hw_requirements>`, which drop support for hardware which was previously supported, should be treated as an ABI change.
@@ -65,14 +65,14 @@ An ABI version is an instance of a library's ABI at a specific release. Certain releases are considered to be milestone releases, the yearly LTS release for example. The ABI of a milestone release may be declared as a 'major ABI version', where this ABI version is then supported for some number of subsequent -releases and is annotated in the library's :ref:`soname<what_is_soname>`. +releases and is annotated in the library's :ref:`soname <abi_what_is_soname>`. ABI version support in subsequent releases facilitates application upgrades, by enabling applications built against the milestone release to upgrade to subsequent releases of a library without a rebuild. More details on major ABI version can be found in the :ref:`ABI versioning -<major_abi_versions>` guide. +<abi_major_versions>` guide. The DPDK ABI policy -------------------
@@ -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 - :doc:`abi_versioning`, with :ref:`forward-only <forward-only>` compatibility + :doc:`abi_versioning`, with :ref:`forward-only <abi_forward_only>` compatibility offered for any ABI changes that are indicated to be part of the next ABI version.
@@ -152,7 +152,7 @@ The requirements for changing the ABI are: - No backward or forward compatibility is offered for API changes marked as ``experimental``, as described in the section on :ref:`Experimental APIs - and Libraries <experimental_apis>`. + and Libraries <abi_experimental_apis>`. - In situations in which an ``experimental`` symbol has been stable for some time. When promoting the symbol to become part of the next ABI version, the
@@ -164,7 +164,7 @@ The requirements for changing the ABI are: ``__rte_deprecated``. - The deprecated API should follow the notification process to be removed, - see :ref:`deprecation_notices`. + see :ref:`abi_deprecation_notices`. - At the declaration of the next major ABI version, those ABI changes then become a formal part of the new ABI and the requirement to preserve ABI
@@ -174,7 +174,7 @@ The requirements for changing the ABI are: with the original contributor of the ABI changes, failing that, then with the contributor's company and then finally with the maintainer. -.. _forward-only: +.. _abi_forward_only: .. Note::
@@ -186,7 +186,7 @@ The requirements for changing the ABI are: of these ABI changes can only ensure that its runtime dependencies are met through Operating System package versioning. -.. _hw_rqmts: +.. _abi_hw_requirements: .. Note::
@@ -228,14 +228,14 @@ declarations of major ABI versions. 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`. + number of releases, as described in the section :ref:`abi_experimental_apis`. - Once ``rte_foo(uint8_t bar)`` becomes non-experimental, ``rte_foo()`` is declared as ``__rte_deprecated`` and an deprecation notice is provided. * DPDK 20.11 is not re-released to include ``rte_foo(uint8_t bar)``, the new version of ``rte_foo`` only exists from DPDK 21.02 onwards as described in the - :ref:`note on forward-only compatibility<forward-only>`. + :ref:`note on forward-only compatibility <abi_forward_only>`. * DPDK 21.02 release defines the experimental function ``__rte_experimental rte_baz()``. This function may or may not exist in the DPDK 21.05 release.
@@ -250,7 +250,7 @@ declarations of major ABI versions. formally part of then new major ABI version DPDK ``22`` and ``rte_foo()`` may be removed. -.. _deprecation_notices: +.. _abi_deprecation_notices: Examples of Deprecation Notices ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -281,7 +281,7 @@ added to the Release Notes: require updating and recompilation. -.. _new_abi_version: +.. _abi_new_version: New ABI versions ----------------
@@ -299,9 +299,9 @@ and some amended rules apply during this cycle: as described in the section :ref:`abi_changes`. * Symbol versioning references to the old ABI version are updated to reference the new ABI version, - as described in the section :ref:`deprecating_entire_abi`. + as described in the section :ref:`abi_deprecating_entire_abi`. * Contributors of aliases to experimental in previous releases, - as described in section :ref:`aliasing_experimental_symbols`, + as described in section :ref:`abi_aliasing_experimental_symbols`, are now required to remove these aliases. * Finally, the *ABI breakage window* is *not* permission to circumvent the other aspects of the procedures to make ABI changes
@@ -309,7 +309,7 @@ and some amended rules apply during this cycle: to break the ABI and the observance of a deprecation notice are still considered mandatory. -.. _experimental_apis: +.. _abi_experimental_apis: Experimental ------------
doc/guides/contributing/abi_versioning.rst +13 -13
@@ -6,7 +6,7 @@ ABI Versioning This document details the mechanics of ABI version management in DPDK. -.. _what_is_soname: +.. _abi_what_is_soname: What is a library's soname? ---------------------------
@@ -29,7 +29,7 @@ ABI version. The library loaded at runtime therefore, may be a minor revision supporting the same major ABI version (e.g. ``librte_eal.21.2``), as the library used to link the application (e.g ``librte_eal.21.0``). -.. _major_abi_versions: +.. _abi_major_versions: Major ABI versions ------------------
@@ -68,7 +68,7 @@ persists over multiple releases. When an ABI change is made between major ABI versions to a given library, a new section is added to that library's version map describing the impending new ABI -version, as described in the section :ref:`example_abi_macro_usage`. The +version, as described in the section :ref:`abi_example_macro_usage`. The library's soname and filename however do not change, e.g. ``libacl.so.21``, as ABI compatibility with the last major ABI version continues to be preserved for that library.
@@ -93,7 +93,7 @@ that library. However when a new ABI version is declared, for example DPDK ``22``, old deprecated functions may be safely removed at this point and the entire old -major ABI version removed, see the section :ref:`deprecating_entire_abi` on +major ABI version removed, see the section :ref:`abi_deprecating_entire_abi` on how this may be done. .. code-block:: none
@@ -150,7 +150,7 @@ The macros are: to become part of the stable ABI, to provide an alias to experimental until the next major ABI version. -.. _example_abi_macro_usage: +.. _abi_example_macro_usage: Examples of ABI Macro use ~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -226,7 +226,7 @@ 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` +Please see the section :ref:`abi_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
@@ -256,11 +256,11 @@ used by newly built applications. .. note:: **Before you leave**, please take care reviewing the sections on - :ref:`enabling_versioning_macros`, + :ref:`abi_enabling_versioning_macros`, and :ref:`ABI deprecation <abi_deprecation>`. -.. _enabling_versioning_macros: +.. _abi_enabling_versioning_macros: Enabling versioning macros __________________________
@@ -279,7 +279,7 @@ at the start of the head of the file. This will indicate to the tool-chain to enable the function version macros when building. -.. _aliasing_experimental_symbols: +.. _abi_aliasing_experimental_symbols: Aliasing experimental symbols _____________________________
@@ -291,7 +291,7 @@ promoting the symbol, the maintainer may choose to provide an alias to the This alias is then dropped in the next major ABI version. The process to provide an alias to ``experimental`` is similar to that, of -:ref:`symbol versioning <example_abi_macro_usage>` described above. +:ref:`symbol versioning <abi_example_macro_usage>` described above. Assume we have an experimental function ``rte_acl_create`` as follows: .. code-block:: c
@@ -327,7 +327,7 @@ When we promote the symbol to the stable ABI, we simply strip the } Although there are strictly no guarantees or commitments associated with -:ref:`experimental symbols <experimental_apis>`, a maintainer may wish to offer +:ref:`experimental symbols <abi_experimental_apis>`, a maintainer may wish to offer an alias to experimental. The process to add an alias to experimental, is similar to the symbol versioning process. Assuming we have an experimental symbol as before, we now add the symbol to both the ``EXPERIMENTAL``
@@ -372,7 +372,7 @@ Note that the internal function definition must also be removed, but it is used in our example by the newer version ``v22``, so we leave it in place and declare it as static. This is a coding style choice. -.. _deprecating_entire_abi: +.. _abi_deprecating_entire_abi: Deprecating an entire ABI version _________________________________
@@ -413,4 +413,4 @@ and <newdir> specifies the DPDK build directory to check the ABI of. The ABI compatibility is automatically verified when using a build script from ``devtools``, if the variable ``DPDK_ABI_REF_VERSION`` is set with a tag, -as described in :ref:`ABI check recommendations<integrated_abi_check>`. +as described in :ref:`ABI check recommendations <contrib_integrated_abi_check>`.
doc/guides/contributing/coding_style.rst +5 -3
@@ -34,7 +34,7 @@ Usual Comments ~~~~~~~~~~~~~~ These comments should be used in normal cases. -To document a public API, a doxygen-like format must be used: refer to :ref:`doxygen_guidelines`. +To document a public API, a doxygen-like format must be used: refer to :ref:`style_doxygen_guidelines`. .. code-block:: c
@@ -588,7 +588,9 @@ Prototypes * Function prototypes should be listed in a logical order, preferably alphabetical unless there is a compelling reason to use a different ordering. * Functions that are used locally in more than one module go into a separate header file, for example, "extern.h". * Do not use the ``__P`` macro. -* Functions that are part of an external API should be documented using Doxygen-like comments above declarations. See :ref:`doxygen_guidelines` for details. +* Functions that are part of an external API + should be documented using Doxygen-like comments above declarations. + See :ref:`style_doxygen_guidelines` for details. * Functions that are part of the external API must have an ``rte_`` prefix on the function name. * Do not use uppercase letters - either in the form of ALL_UPPERCASE, or CamelCase - in function names. Lower-case letters and underscores only. * When prototyping functions, associate names with parameter types, for example:
@@ -825,7 +827,7 @@ Control Statements /* NOTREACHED */ } -.. _dynamic_logging: +.. _style_dynamic_logging: Dynamic Logging ---------------
doc/guides/contributing/design.rst +1 -1
@@ -76,7 +76,7 @@ It is often desirable to provide information to the end-user 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>` +* :ref:`Logging <style_dynamic_logging>` * :doc:`Tracing </prog_guide/trace_lib>` * :doc:`Telemetry </prog_guide/telemetry_lib>`
doc/guides/contributing/documentation.rst +14 -12
@@ -56,7 +56,7 @@ 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: +.. _style_release_notes_guidelines: * **Release Notes**
@@ -489,8 +489,10 @@ Images * Images in the documentation should be formatted as follows: - * The image should be preceded by a label in the format ``.. _figure_XXXX:`` with a leading underscore and - where ``XXXX`` is a unique descriptive name. + * The image should be preceded by a label + in the format ``.. _prefix_figure_name:`` with a leading underscore, + where ``prefix`` is the document or component name, + and ``name`` makes it unique and descriptive. * Images should be included using the ``.. figure::`` directive and the file type should be set to ``*`` (not ``.svg``). This allows the format of the image to be changed if required, without updating the documentation.
@@ -499,26 +501,26 @@ Images * Here is an example of the previous three guidelines:: - .. _figure_mempool: + .. _mempool_figure_cache: .. figure:: img/mempool.* A mempool in memory with its associated ring. -.. _mock_label: +.. _style_mock_label: * Images can then be linked to using the ``:numref:`` directive:: - The mempool layout is shown in :numref:`figure_mempool`. + The mempool layout is shown in :numref:`mempool_figure_cache`. - This would be rendered as: *The mempool layout is shown in* :ref:`Fig 6.3 <mock_label>`. + This would be rendered as: *The mempool layout is shown in* :ref:`Fig 6.3 <style_mock_label>`. **Note**: The ``:numref:`` directive requires Sphinx 1.3.1 or later. With earlier versions it will still be rendered as a link but won't have an automatically generated number. * The caption of the image can be generated, with a link, using the ``:ref:`` directive:: - :ref:`figure_mempool` + :ref:`mempool_figure_cache` This would be rendered as: *A mempool in memory with its associated ring.*
@@ -533,7 +535,7 @@ Tables * Tables should be included using the ``.. table::`` directive and must have a caption. -.. _links: +.. _style_links: Hyperlinks ~~~~~~~~~~
@@ -550,14 +552,14 @@ Hyperlinks * An internal link can be generated by placing labels in the document with the format ``.. _label_name``. -* The following links to the top of this section: :ref:`links`:: +* The following links to the top of this section: :ref:`style_links`:: .. _links: Hyperlinks ~~~~~~~~~~ - * The following links to the top of this section: :ref:`links`: + * The following links to the top of this section: :ref:`style_links`: .. Note::
@@ -567,7 +569,7 @@ Hyperlinks * The use of a label is preferred since it works across files and will still work if the header text changes. -.. _doxygen_guidelines: +.. _style_doxygen_guidelines: Doxygen Guidelines ------------------
doc/guides/contributing/new_driver.rst +3 -3
@@ -95,7 +95,7 @@ This approach ensures a clear and manageable development process. We suggest splitting patches following this approach: * Each patch should be organized logically as a new feature. -* Run test tools per patch (See :ref:`tool_list`). +* Run test tools per patch (See :ref:`contrib_tool_list`). * Update relevant documentation and `<driver>.ini` file with each patch. The following order in the patch series is as suggested below.
@@ -193,7 +193,7 @@ If the required dependency is not yet publicly available, then wait to submit the driver until the dependent library is available. -.. _tool_list: +.. _contrib_tool_list: Test Tools ----------
@@ -211,4 +211,4 @@ Be sure to run the following test tools per patch in a patch series: * `check-spdx-tag.sh` * Build documentation and validate how output looks * Optionally run ``review-patch.py`` for AI-assisted review - (see :ref:`ai_assisted_review` in the Contributing Guide) + (see :ref:`contrib_ai_assisted_review` in the Contributing Guide)
doc/guides/contributing/patches.rst +3 -3
@@ -168,7 +168,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 guidelines <contrib_doc_guidelines_release_notes>`. + See the :ref:`release notes guidelines <style_release_notes_guidelines>`. * Test the compilation works with different targets, compilers and options, see :ref:`contrib_check_compilation`.
@@ -501,7 +501,7 @@ the ``dts-check-format.sh`` script in the ``devtools`` directory of the DPDK rep To run the script, extra :ref:`Python dependencies <dts_deps>` are needed. -.. _ai_assisted_review: +.. _contrib_ai_assisted_review: AI-Assisted Patch Review ------------------------
@@ -575,7 +575,7 @@ in a single subfolder called "__builds" created in the current directory. Setting ``DPDK_BUILD_TEST_DIR`` to an absolute directory path e.g. ``/tmp`` is also supported. -.. _integrated_abi_check: +.. _contrib_integrated_abi_check: Checking ABI compatibility --------------------------
doc/guides/cryptodevs/qat.rst +2 -2
@@ -10,7 +10,7 @@ QAT documentation consists of three parts: * 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. + above services. See :ref:`qat_building` below. Symmetric Crypto Service on QAT
@@ -203,7 +203,7 @@ Limitations in different threads.) * RSA-2560, RSA-3584 are not supported -.. _building_qat: +.. _qat_building: Building PMDs on QAT --------------------
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:`Running_Without_Root_Privileges`. +For more information, please refer to :ref:`linux_gsg_running_without_root_privileges`. If I want to change the number of hugepages allocated, how do I remove the original pages allocated?
doc/guides/freebsd_gsg/build_dpdk.rst +3 -3
@@ -65,7 +65,7 @@ the next section. variable. -.. _loading_contigmem: +.. _freebsd_gsg_loading_contigmem: Loading the DPDK contigmem Module ---------------------------------
@@ -153,7 +153,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 -------------------------------
@@ -190,7 +190,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
@@ -42,7 +42,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 ----------------------------
@@ -50,14 +50,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 +4 -4
@@ -26,8 +26,8 @@ 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 -those below would be added to the file ``/boot/loader.conf``. +:ref:`freebsd_gsg_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
@@ -115,9 +115,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/howto/avx512.rst +2 -1
@@ -22,7 +22,8 @@ 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
@@ -44,7 +44,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/howto/packet_capture_framework.rst +3 -4
@@ -70,10 +70,9 @@ Test Environment ---------------- The overview of using the Packet Capture Framework and the ``dpdk-dumpcap`` utility -for packet capturing on the DPDK port in -:numref:`figure_packet_capture_framework`. +for packet capturing on the DPDK port in :numref:`packet_capture_framework_figure_overview`. -.. _figure_packet_capture_framework: +.. _packet_capture_framework_figure_overview: .. figure:: img/packet_capture_framework.*
@@ -84,7 +83,7 @@ Running the Application ----------------------- The following steps demonstrate how to run the ``dpdk-dumpcap`` tool to capture -Rx side packets on dpdk_port0 in :numref:`figure_packet_capture_framework` and +Rx side packets on dpdk_port0 in :numref:`packet_capture_framework_figure_overview` and inspect them using ``tcpdump``. #. Launch testpmd as the primary application::
doc/guides/howto/virtio_user_as_exception_path.rst +2 -2
@@ -39,9 +39,9 @@ This solution has a number of advantages over alternatives such as KNI: which minimises the impact on the polling DPDK threads. The overview of an application using virtio-user as exception path is shown -in :numref:`figure_virtio_user_as_exception_path`. +in :numref:`virtio_user_exception_path_figure_overview`. -.. _figure_virtio_user_as_exception_path: +.. _virtio_user_exception_path_figure_overview: .. figure:: img/virtio_user_as_exception_path.*
doc/guides/howto/virtio_user_for_container_networking.rst +4 -4
@@ -8,9 +8,9 @@ Container becomes more and more popular for strengths, like low overhead, fast boot-up time, and easy to deploy, etc. How to use DPDK to accelerate container networking becomes a common question for users. There are two use models of running DPDK inside containers, as shown in -:numref:`figure_use_models_for_running_dpdk_in_containers`. +:numref:`virtio_user_container_figure_use_models`. -.. _figure_use_models_for_running_dpdk_in_containers: +.. _virtio_user_container_figure_use_models: .. figure:: img/use_models_for_running_dpdk_in_containers.*
@@ -26,9 +26,9 @@ for high performance user space container networking or inter-process communication (IPC). The overview of accelerating container networking by virtio-user is shown -in :numref:`figure_virtio_user_for_container_networking`. +in :numref:`virtio_user_container_figure_networking`. -.. _figure_virtio_user_for_container_networking: +.. _virtio_user_container_figure_networking: .. figure:: img/virtio_user_for_container_networking.*
doc/guides/linux_gsg/build_dpdk.rst +1 -1
@@ -291,7 +291,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 +2 -1
@@ -10,7 +10,8 @@ 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 details on compiling sample apps. +Please refer to :ref:`linux_gsg_building_app_using_installed_dpdk` +for details 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 +3 -3
@@ -6,7 +6,7 @@ Enabling Additional Functionality ================================= -.. _Running_Without_Root_Privileges: +.. _linux_gsg_running_without_root_privileges: Running DPDK Applications Without Root Privileges -------------------------------------------------
@@ -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` section to learn how these limits affect EAL. +See :ref:`eal_hugepage_mapping` section to learn how these limits affect EAL. Device Control ~~~~~~~~~~~~~~
@@ -160,7 +160,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
@@ -21,14 +21,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.
@@ -130,10 +130,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 ~~~~~~~~~~~~~~~~~~
@@ -359,7 +359,7 @@ running on these systems. Consult your distribution's documentation to make sure that is the case. -.. _bifurcated_driver: +.. _linux_gsg_bifurcated_driver: Bifurcated Driver -----------------
@@ -384,7 +384,7 @@ More about the bifurcated driver can be found in NVIDIA `bifurcated PMD <https://www.dpdk.org/wp-content/uploads/sites/23/2016/10/Day02-Session04-RonyEfraim-Userspace2016.pdf>`_ presentation. -.. _uio: +.. _linux_gsg_uio: UIO ---
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` for more details. + See the section on :ref:`linux_gsg_high_precision_event_timer` for more details. .. _linux_gsg_hugepages:
doc/guides/nics/cxgbe.rst +13 -13
@@ -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: +.. _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: +.. _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:`cxgbe_t5_nics` and :ref:`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:`cxgbe_linux_installation` for Linux and section :ref:`cxgbe_freebsd_installation` for FreeBSD.
@@ -319,7 +319,7 @@ CXGBE PF Only Runtime Options dpdk-testpmd -a 02:00.4,filtermode=0x88,filtermask=0x80 -- -i -.. _driver-compilation: +.. _cxgbe_driver_compilation: Driver compilation and testing ------------------------------
@@ -330,7 +330,7 @@ for details. Linux ----- -.. _linux-installation: +.. _cxgbe_linux_installation: Linux Installation ~~~~~~~~~~~~~~~~~~
@@ -468,8 +468,8 @@ 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. + Flow control pause TX/RX is disabled by default and can be enabled via testpmd. + Refer section :ref:`cxgbe_flow_control` for more details. Configuring SR-IOV Virtual Functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -582,7 +582,7 @@ virtual functions. FreeBSD ------- -.. _freebsd-installation: +.. _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:`cxgbe_driver_compilation`: .. code-block:: console
@@ -778,13 +778,13 @@ 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. + Flow control pause TX/RX is disabled by default and can be enabled via testpmd. + Refer section :ref:`cxgbe_flow_control` for more details. Sample Application Notes ------------------------ -.. _flow-control: +.. _cxgbe_flow_control: Enable/Disable Flow Control ~~~~~~~~~~~~~~~~~~~~~~~~~~~
doc/guides/nics/dpaa2.rst +2 -2
@@ -407,7 +407,7 @@ Features of the DPAA2 PMD are: - Link flow control - Scattered and gather for TX and RX - Rx queue interrupts -- :ref:`dptmapi` +- :ref:`dpaa2_dptmapi` Supported DPAA2 SoCs
@@ -589,7 +589,7 @@ Other Limitations - RSS hash key cannot be modified. - RSS RETA cannot be configured. -.. _dptmapi: +.. _dpaa2_dptmapi: Traffic Management API ----------------------
doc/guides/nics/i40e.rst +3 -3
@@ -699,7 +699,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: +.. _i40e_testpmd_commands: Testpmd driver specific commands --------------------------------
@@ -924,9 +924,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:`i40e_figure_intel_perf_test_setup` for the performance test setup. -.. _figure_intel_perf_test_setup: +.. _i40e_figure_intel_perf_test_setup: .. figure:: img/intel_perf_test_setup.*
doc/guides/nics/intel_vf.rst +9 -9
@@ -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:`intel_vf_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:`intel_vf_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: +.. _intel_vf_figure_single_port_nic: .. figure:: img/single_port_nic.*
@@ -585,9 +585,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:`intel_vf_figure_perf_benchmark`) is equivalent to a Host OS with KVM installed as described in the instructions. -.. _figure_perf_benchmark: +.. _intel_vf_figure_perf_benchmark: .. figure:: img/perf_benchmark.*
@@ -607,10 +607,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:`intel_vf_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: +.. _intel_vf_figure_fast_pkt_proc: .. figure:: img/fast_pkt_proc.*
@@ -626,7 +626,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:`intel_vf_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.
@@ -637,7 +637,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: +.. _intel_vf_figure_inter_vm_comms: .. figure:: img/inter_vm_comms.*
doc/guides/nics/ixgbe.rst +1 -1
@@ -379,7 +379,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: +.. _ixgbe_testpmd_commands: Testpmd driver specific commands --------------------------------
doc/guides/nics/mlx4.rst +4 -4
@@ -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: +.. _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::
@@ -283,7 +283,7 @@ 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:`mlx4_ofed_as_a_fallback`: .. _mlx4_QSG_2:
doc/guides/nics/mlx5.rst +4 -4
@@ -893,7 +893,7 @@ Extended statistics can be queried using ``rte_eth_xstats_get()``. The extended statistics expose a wider set of counters counted by the device. The extended port statistics counts the number of packets received or sent successfully by the port. -As NVIDIA NICs are using a :ref:`bifurcated Linux driver <bifurcated_driver>`, +As NVIDIA NICs are using a :ref:`bifurcated Linux driver <linux_gsg_bifurcated_driver>`, those counters counts also packet received or sent by the Linux kernel. Finally per-flow statistics can by queried using ``rte_flow_query()``
@@ -1499,7 +1499,7 @@ Limitations Bifurcated Driver ~~~~~~~~~~~~~~~~~ -The same device is managed by both :ref:`kernel <bifurcated_driver>` and DPDK drivers. +The same device is managed by both :ref:`kernel <linux_gsg_bifurcated_driver>` and DPDK drivers. After enabling the :ref:`isolated mode <flow_isolated_mode>`, non-matched packets are routed directly from the hardware to the kernel.
@@ -4786,14 +4786,14 @@ Port Attach with Socket Path It is possible to allocate a port with ``libibverbs`` from external application. For importing the external port with extra device arguments, there is a specific testpmd command -similar to :ref:`port attach command <port_attach>`:: +similar to :ref:`port attach command <testpmd_port_attach>`:: testpmd> mlx5 port attach (identifier) socket=(path) where: * ``identifier``: device identifier with optional parameters - as same as :ref:`port attach command <port_attach>`. + as same as :ref:`port attach command <testpmd_port_attach>`. * ``path``: path to IPC server socket created by the external application. This command performs:
doc/guides/nics/mvpp2.rst +12 -11
@@ -35,13 +35,13 @@ Features of the MVPP2 PMD are: - L4 checksum offload - Packet type parsing - Basic stats -- :ref:`extstats` +- :ref:`mvpp2_extstats` - RX flow control - Scattered TX frames -- :ref:`QoS <extconf>` -- :ref:`flowapi` -- :ref:`mtrapi` -- :ref:`tmapi` +- :ref:`QoS <mvpp2_extconf>` +- :ref:`mvpp2_flowapi` +- :ref:`mvpp2_mtrapi` +- :ref:`mvpp2_tmapi` Limitations -----------
@@ -163,7 +163,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: +.. _mvpp2_extstats: Extended stats --------------
@@ -185,7 +185,7 @@ MVPP2 PMD supports the following extended statistics: - ``tx_errors``: number of TX MAC errors -.. _extconf: +.. _mvpp2_extconf: External Configuration ----------------------
@@ -390,7 +390,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: +.. _mvpp2_flowapi: Flow API --------
@@ -562,7 +562,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: +.. _mvpp2_mtrapi: Traffic metering and policing -----------------------------
@@ -577,7 +577,8 @@ 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 <mvpp2_extconf>`. Limitations ~~~~~~~~~~~
@@ -618,7 +619,7 @@ Usage example For a detailed usage description please refer to :ref:`testpmd_traffic_metering_and_policing`. -.. _tmapi: +.. _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/platform/cnxk.rst +7 -7
@@ -23,10 +23,10 @@ Supported OCTEON cnxk SoCs Resource Virtualization Unit architecture ----------------------------------------- -The :numref:`figure_cnxk_resource_virtualization` diagram depicts the +The :numref:`cnxk_figure_resource_virtualization` diagram depicts the RVU architecture and a resource provisioning example. -.. _figure_cnxk_resource_virtualization: +.. _cnxk_figure_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:`cnxk_table_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: +.. _cnxk_table_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:`cnxk_figure_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:`cnxk_figure_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: +.. _cnxk_figure_packet_flow_hw_accelerators: .. figure:: img/cnxk_packet_flow_hw_accelerators.*
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 <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: +.. _dpaa_extra_scripts: - **DPDK Extra Scripts**
doc/guides/platform/mlx5.rst +1 -1
@@ -433,7 +433,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.
doc/guides/platform/octeontx.rst +4 -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:`octeontx_setup_platform_using_octeon_tx_sdk`. #. **ARM64 Tool Chain**
@@ -58,11 +58,12 @@ 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:`octeontx_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: +.. _octeontx_setup_platform_using_octeon_tx_sdk: Setup Platform Using OCTEON TX SDK ----------------------------------
doc/guides/prog_guide/bbdev.rst +4 -4
@@ -641,7 +641,7 @@ is 1. Therefore, it requires to get processed in TB-mode. The figure below visualizes the encoding of CBs using BBDEV interface in TB-mode. CB-mode is a reduced version, where only one CB exists: -.. _figure_turbo_tb_encode: +.. _bbdev_figure_turbo_tb_encode: .. figure:: img/turbo_tb_encode.*
@@ -733,7 +733,7 @@ with enough room for the output data. The figure below visualizes the decoding of CBs using BBDEV interface in TB-mode. CB-mode is a reduced version, where only one CB exists: -.. _figure_turbo_tb_decode: +.. _bbdev_figure_turbo_tb_decode: .. figure:: img/turbo_tb_decode.*
@@ -878,7 +878,7 @@ calculated by BBDEV before signalling to the driver. The number of CBs in the group should not be confused with ``c``, the total number of CBs in the full TB (``C`` as per 3GPP TS 38.212 section 5.2.2) -Figure :numref:`figure_turbo_tb_encode` above +Figure :numref:`bbdev_figure_turbo_tb_encode` above showing the Turbo encoding of CBs using BBDEV interface in TB-mode is also valid for LDPC encode.
@@ -1112,7 +1112,7 @@ total number of CBs in the full TB (``C`` as per 3GPP TS 38.212 section 5.2.2) The ``length`` is total size of the CBs inclusive of any CRC24A and CRC24B in case they were appended by the application. -Figure :numref:`figure_turbo_tb_decode` above +Figure :numref:`bbdev_figure_turbo_tb_decode` above showing the Turbo decoding of CBs using BBDEV interface in TB-mode is also valid for LDPC decode.
doc/guides/prog_guide/efd_lib.rst +26 -26
191 lines not on this page · raw message
doc/guides/prog_guide/env_abstraction_layer.rst +11 -11
@@ -241,7 +241,7 @@ Multiple page sizes can be specified by repeating the option:: 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 ^^^^^^^^^^^^^^^^
@@ -277,7 +277,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
@@ -291,7 +291,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.
@@ -320,10 +320,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 ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -663,7 +663,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
@@ -782,7 +782,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 ~~~~~~~~~~~~~~~~~
@@ -819,7 +819,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 ~~~~~~~~~~~~
@@ -977,7 +977,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 ------
@@ -1061,7 +1061,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 """"""""""""""""""""""
@@ -1142,7 +1142,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/ethdev/qos_framework.rst +47 -47
290 lines not on this page · raw message
doc/guides/prog_guide/ethdev/traffic_metering_and_policing.rst +2 -2
@@ -72,7 +72,7 @@ The processing done for each input packet hitting an MTR object is: API walk-through ---------------- -.. _figure_rte_mtr_chaining: +.. _mtr_figure_chaining: .. figure:: ../img/rte_mtr_meter_chaining.*
@@ -107,7 +107,7 @@ traffic meter and policing library. * Adding one (or multiple) actions of the type ``RTE_FLOW_ACTION_TYPE_METER`` to the list of meter actions (``struct rte_mtr_meter_policy_params::actions``) - specified per color as shown in :numref:`figure_rte_mtr_chaining`. + specified per color as shown in :numref:`mtr_figure_chaining`. #. The ``rte_mtr_meter_profile_get()`` and ``rte_mtr_meter_policy_get()`` API functions are available for getting the object pointers directly.
doc/guides/prog_guide/eventdev/dispatcher_lib.rst +2 -2
@@ -200,7 +200,7 @@ further decouple sub-modules. However, the dispatcher may impose an upper limit of the number of handlers. In addition, installing a large number of handlers increase dispatcher overhead, although this does not necessarily translate to a system-level performance degradation. See -the section on :ref:`Event Clustering` for more information. +the section on :ref:`dispatcher_event_clustering` for more information. Handler registration and unregistration cannot safely be done while the dispatcher's service function is running on any lcore.
@@ -242,7 +242,7 @@ until the destination handler for both events have been determined. The events provided in a single process call always belong to the same event port dequeue burst. -.. _Event Clustering: +.. _dispatcher_event_clustering: Event Clustering ^^^^^^^^^^^^^^^^
doc/guides/prog_guide/fib_lib.rst +2 -2
@@ -99,9 +99,9 @@ The main elements of the dataplane struct for the DIR-24-8 algorithm are: * TBL8: An array of ``num_tbl8`` tbl8 groups. -The lookup algorithms logic can be seen in :numref:`figure_dir_24_8_alg`: +The lookup algorithms logic can be seen in :numref:`fib_figure_dir_24_8_alg`: -.. _figure_dir_24_8_alg: +.. _fib_figure_dir_24_8_alg: .. figure:: img/dir_24_8_alg.*
doc/guides/prog_guide/generic_receive_offload_lib.rst +2 -2
@@ -109,7 +109,7 @@ In DPDK GRO, we use a key-based algorithm to address the two challenges. Key-based Reassembly Algorithm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -:numref:`figure_gro-key-algorithm` illustrates the procedure of the +:numref:`gro_figure_key_algorithm` illustrates the procedure of the key-based algorithm. Packets are classified into "flows" by some header fields (we call them as "key"). To process an input packet, the algorithm searches for a matched "flow" (i.e., the same value of key) for the
@@ -131,7 +131,7 @@ The key-based algorithm has two characters: - storing out-of-order packets makes it possible to merge later (address challenge 2). -.. _figure_gro-key-algorithm: +.. _gro_figure_key_algorithm: .. figure:: img/gro-key-algorithm.* :align: center
doc/guides/prog_guide/generic_segmentation_offload_lib.rst +4 -4
@@ -91,9 +91,9 @@ original packet. The combination of the 'header' segment and the 'data' segment constitutes a single logical output GSO segment of the original packet. This is illustrated -in :numref:`figure_gso-output-segment-format`. +in :numref:`gso_figure_output_segment_format`. -.. _figure_gso-output-segment-format: +.. _gso_figure_output_segment_format: .. figure:: img/gso-output-segment-format.* :align: center
@@ -126,14 +126,14 @@ all of the data 'contained' in the output segment reaches ``segsz``. This ensures that the amount of data contained within each output segment is uniform, with the possible exception of the last segment, as previously described. -:numref:`figure_gso-three-seg-mbuf` illustrates an example of a three-part +:numref:`gso_figure_three_seg_mbuf` illustrates an example of a three-part output segment. In this example, the output segment needs to include data from the end of one input segment, and the beginning of another. To achieve this, an additional indirect mbuf is chained to the second part of the output segment, and is attached to the next input segment (i.e. it points to the data in the next input segment). -.. _figure_gso-three-seg-mbuf: +.. _gso_figure_three_seg_mbuf: .. figure:: img/gso-three-seg-mbuf.* :align: center
doc/guides/prog_guide/graph_lib.rst +26 -26
170 lines not on this page · raw message
doc/guides/prog_guide/mbuf_lib.rst +3 -3
@@ -42,16 +42,16 @@ Message buffers may be used to carry control information, packets, events, and so on between different entities in the system. Message buffers may also use their buffer pointers to point to other message buffer data sections or other structures. -:numref:`figure_mbuf1` and :numref:`figure_mbuf2` show some of these scenarios. +:numref:`mbuf_figure_1` and :numref:`mbuf_figure_2` show some of these scenarios. -.. _figure_mbuf1: +.. _mbuf_figure_1: .. figure:: img/mbuf1.* An mbuf with One Segment -.. _figure_mbuf2: +.. _mbuf_figure_2: .. figure:: img/mbuf2.*
doc/guides/prog_guide/mempool_lib.rst +5 -5
@@ -47,9 +47,9 @@ When running an application, the EAL command line options provide the ability to Examples of alignment for different DIMM architectures are shown in -:numref:`figure_memory-management` and :numref:`figure_memory-management2`. +:numref:`mempool_figure_memory_management` and :numref:`mempool_figure_memory_management2`. -.. _figure_memory-management: +.. _mempool_figure_memory_management: .. figure:: img/memory-management.*
@@ -61,7 +61,7 @@ In this case, the assumption is that a packet is 16 blocks of 64 bytes, which is The Intel® 5520 chipset has three channels, so in most cases, no padding is required between objects (except for objects whose size are n x 3 x 64 bytes blocks). -.. _figure_memory-management2: +.. _mempool_figure_memory_management2: .. figure:: img/memory-management2.*
@@ -98,9 +98,9 @@ This internal cache can be enabled or disabled at creation of the pool. The maximum size of the cache is static and is defined at compilation time (RTE_MEMPOOL_CACHE_MAX_SIZE). -:numref:`figure_mempool` shows a cache in operation. +:numref:`mempool_figure_cache` shows a cache in operation. -.. _figure_mempool: +.. _mempool_figure_cache: .. figure:: img/mempool.*
doc/guides/prog_guide/packet_classif_access_ctrl.rst +1 -1
@@ -410,7 +410,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/prog_guide/packet_framework.rst +45 -35
211 lines not on this page · raw message
doc/guides/prog_guide/rcu_lib.rst +2 -2
@@ -40,14 +40,14 @@ the application to determine its quiescent state. Let us consider the following diagram: -.. _figure_quiescent_state: +.. _rcu_figure_quiescent_state: .. figure:: img/rcu_general_info.* Phases in the Quiescent State model. -As shown in :numref:`figure_quiescent_state`, reader thread 1 accesses data +As shown in :numref:`rcu_figure_quiescent_state`, reader thread 1 accesses data structures D1 and D2. When it is accessing D1, if the writer has to remove an element from D1, the writer cannot free the memory associated with that element immediately. The writer can return the memory to the allocator only
doc/guides/prog_guide/rib_lib.rst +6 -6
@@ -27,9 +27,9 @@ Next hop IDs are represented by ``uint64_t`` values. Everything within this document except for the size of the prefixes is applicable to the ``rte_rib6`` API. -Internally RIB is represented as a binary tree as shown in :numref:`figure_rib_internals`: +Internally RIB is represented as a binary tree as shown in :numref:`rib_figure_internals`: -.. _figure_rib_internals: +.. _rib_figure_internals: .. figure:: img/rib_internals.*
@@ -66,7 +66,7 @@ The main methods within the ``rte_rib`` API are: * ``rte_rib_get_nxt()``: Traverse a subtree within the structure. -Given a RIB structure with the routes depicted in :numref:`figure_rib_internals`, +Given a RIB structure with the routes depicted in :numref:`rib_figure_internals`, here are several usage examples: * The best route for ``10.0.0.1`` can be found by calling:
@@ -92,7 +92,7 @@ This returns an ``rte_rib_node`` pointing to the ``10.0.0.128/25`` prefix. This returns ``NULL`` as no exact match can be found. * To retrieve a group of routes under the common prefix ``10.0.0.0/24`` - (yellow triangle in :numref:`figure_rib_internals`): + (yellow triangle in :numref:`rib_figure_internals`): .. code-block:: c
@@ -119,10 +119,10 @@ It is possible to implement a prefix independent convergence using the RIB exten If the routing daemon can provide a feasible next hop ID along with a best (active) next hop ID, it is possible to react to a neighbour failing relatively fast. Consider a RIB with a number of routes with different next hops (A and B) as -shown in :numref:`figure_rib_pic`. Every route can have a feasible next hop +shown in :numref:`rib_figure_pic`. Every route can have a feasible next hop provided by the routing daemon. -.. _figure_rib_pic: +.. _rib_figure_pic: .. figure:: img/rib_pic.*
doc/guides/prog_guide/toeplitz_hash_lib.rst +6 -6
@@ -9,7 +9,7 @@ to calculate the Toeplitz hash function and to use its properties. The Toeplitz hash function is commonly used in a wide range of NICs to calculate the RSS hash sum to spread the traffic among the queues. -.. _figure_rss_queue_assign: +.. _toeplitz_figure_rss_queue_assign: .. figure:: img/rss_queue_assign.*
@@ -72,7 +72,7 @@ Predictable RSS --------------- In some use cases it is useful to have a way to find partial collisions of the -Toeplitz hash function. In figure :numref:`figure_rss_queue_assign` only a few +Toeplitz hash function. In figure :numref:`toeplitz_figure_rss_queue_assign` only a few of the least significant bits (LSB) of the hash value are used to indicate an entry in the RSS Redirection Table (ReTa) and thus the index of the queue. So, in this case it would be useful to find another tuple whose hash has the same
@@ -216,9 +216,9 @@ tag allocation, etc. In the following we will consider a SNAT application. Packets of a single bidirectional flow belonging to different directions can end up being assigned to different queues and thus processed by different -lcores, as shown in :numref:`figure_predictable_snat_1`: +lcores, as shown in :numref:`toeplitz_figure_predictable_snat_1`: -.. _figure_predictable_snat_1: +.. _toeplitz_figure_predictable_snat_1: .. figure:: img/predictable_snat_1.*
@@ -241,9 +241,9 @@ penalties, for example: We can avoid all these penalties if it can be guaranteed that packets belonging to one bidirectional flow will be assigned to the same queue, as -shown in :numref:`figure_predictable_snat_2`: +shown in :numref:`toeplitz_figure_predictable_snat_2`: -.. _figure_predictable_snat_2: +.. _toeplitz_figure_predictable_snat_2: .. figure:: img/predictable_snat_2.*
doc/guides/sample_app_ug/compiling.rst +1 -1
@@ -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/sample_app_ug/dist_app.rst +2 -2
@@ -63,7 +63,7 @@ Explanation The distributor application consists of four types of threads: a receive thread (``lcore_rx()``), a distributor thread (``lcore_dist()``), a set of worker threads (``lcore_worker()``), and a transmit thread(``lcore_tx()``). -How these threads work together is shown in :numref:`figure_dist_app` below. +How these threads work together is shown in :numref:`dist_app_figure_overview` below. The ``main()`` function launches threads of these four types. Each thread has a while loop which will be doing processing and which is terminated only upon SIGINT or ctrl+C.
@@ -95,7 +95,7 @@ Users who wish to terminate the running of the application have to press ctrl+C in the application will terminate all running threads gracefully and print final statistics to the user. -.. _figure_dist_app: +.. _dist_app_figure_overview: .. figure:: img/dist_app.*
doc/guides/sample_app_ug/l2_forward_event.rst +2 -2
@@ -29,9 +29,9 @@ Application receives packets from Rx port using these methods: * Eventdev mode (default) This application can be used to benchmark performance using a traffic-generator, -as shown in the :numref:`figure_l2fwd_event_benchmark_setup`. +as shown in the :numref:`l2_fwd_event_figure_benchmark_setup`. -.. _figure_l2fwd_event_benchmark_setup: +.. _l2_fwd_event_figure_benchmark_setup: .. figure:: img/l2_fwd_benchmark_setup.*
doc/guides/sample_app_ug/l2_forward_job_stats.rst +6 -4
@@ -29,19 +29,21 @@ The MAC addresses are affected as follows: * The destination MAC address is replaced by ``02:00:00:00:00:TX_PORT_ID`` -This application can be used to benchmark performance using a traffic-generator, as shown in the :numref:`figure_l2_fwd_benchmark_setup_jobstats`. +This application can be used to benchmark performance using a traffic-generator, +as shown in the :numref:`l2_fwd_job_stats_figure_benchmark_setup`. -The application can also be used in a virtualized environment as shown in :numref:`figure_l2_fwd_virtenv_benchmark_setup_jobstats`. +The application can also be used in a virtualized environment +as shown in :numref:`l2_fwd_job_stats_figure_virtenv_benchmark_setup`. The L2 Forwarding application can also be used as a starting point for developing a new application based on the DPDK. -.. _figure_l2_fwd_benchmark_setup_jobstats: +.. _l2_fwd_job_stats_figure_benchmark_setup: .. figure:: img/l2_fwd_benchmark_setup.* Performance Benchmark Setup (Basic Environment) -.. _figure_l2_fwd_virtenv_benchmark_setup_jobstats: +.. _l2_fwd_job_stats_figure_virtenv_benchmark_setup: .. figure:: img/l2_fwd_virtenv_benchmark_setup.*
doc/guides/sample_app_ug/l2_forward_real_virtual.rst +8 -6
@@ -28,25 +28,27 @@ Also, if MAC address updating is enabled, the MAC addresses are affected as foll * The destination MAC address is replaced by 02:00:00:00:00:TX_PORT_ID -This application can be used to benchmark performance using a traffic-generator, as shown in the :numref:`figure_l2_fwd_benchmark_setup`, -or in a virtualized environment as shown in :numref:`figure_l2_fwd_virtenv_benchmark_setup`. +This application can be used to benchmark performance using a traffic-generator, +as shown in the :numref:`l2_fwd_figure_benchmark_setup`, +or in a virtualized environment as shown in :numref:`l2_fwd_figure_virtenv_benchmark_setup`. -.. _figure_l2_fwd_benchmark_setup: +.. _l2_fwd_figure_benchmark_setup: .. figure:: img/l2_fwd_benchmark_setup.* Performance Benchmark Setup (Basic Environment) -.. _figure_l2_fwd_virtenv_benchmark_setup: +.. _l2_fwd_figure_virtenv_benchmark_setup: .. figure:: img/l2_fwd_virtenv_benchmark_setup.* Performance Benchmark Setup (Virtualized Environment) -This application may be used for basic VM to VM communication as shown in :numref:`figure_l2_fwd_vm2vm`, +This application may be used for basic VM to VM communication +as shown in :numref:`l2_fwd_figure_vm2vm`, when MAC addresses updating is disabled. -.. _figure_l2_fwd_vm2vm: +.. _l2_fwd_figure_vm2vm: .. figure:: img/l2_fwd_vm2vm.*
doc/guides/sample_app_ug/server_node_efd.rst +2 -2
@@ -18,13 +18,13 @@ Overview The architecture of the EFD flow-based load balancer sample application is presented in the following figure. -.. _figure_efd_sample_app_overview: +.. _server_node_efd_figure_overview: .. figure:: img/server_node_efd.* Using EFD as a Flow-Level Load Balancer -As shown in :numref:`figure_efd_sample_app_overview`, +As shown in :numref:`server_node_efd_figure_overview`, the sample application consists of a front-end node (server) using the EFD library to create a load-balancing table for flows, for each flow a target backend worker node is specified. The EFD table does not
doc/guides/sample_app_ug/test_pipeline.rst +2 -2
@@ -53,7 +53,7 @@ The PORTMASK parameter must contain 2 or 4 ports. Table Types and Behavior ~~~~~~~~~~~~~~~~~~~~~~~~ -:numref:`table_test_pipeline_1` describes the table types used and how they are populated. +:numref:`test_pipeline_table_1` describes the table types used and how they are populated. The hash tables are pre-populated with 16 million keys. For hash tables, the following parameters can be selected:
@@ -68,7 +68,7 @@ For hash tables, the following parameters can be selected: * **Table type (e.g. hash-spec-16-ext or hash-spec-16-lru).** The available options are ext (extendable bucket) or lru (least recently used). -.. _table_test_pipeline_1: +.. _test_pipeline_table_1: .. table:: Table Types
doc/guides/sample_app_ug/vm_power_management.rst +17 -15
@@ -38,13 +38,14 @@ This application demonstrates the following features: policy independent of the VM application. For example, the policy can contain time-of-day information for busy/quiet periods, and the host application can scale up/down the relevant - cores when required. See :ref:`sending_policy` for information on - setting policy values. + cores when required. + See :ref:`vm_power_sending_policy` for information on setting policy values. - **Out-of-band monitoring of workloads using core hardware event counters.** The host application can manage power for an application by looking at the event counters of the cores and taking action based on the - branch miss/hit ratio. See :ref:`enabling_out_of_band`. + branch miss/hit ratio. + See :ref:`vm_power_enabling_out_of_band`. **Note**: This functionality also applies in non-virtualised environments.
@@ -116,8 +117,8 @@ management requests. Once the VM sends the policy to the host, the VM no longer needs to worry about power management, because the host now manages the power for the VM based on the policy. The policy can specify power behavior that is based on incoming traffic rates or time-of-day -power adjustment (busy/quiet hour power adjustment for example). See -:ref:`sending_policy` for more information. +power adjustment (busy/quiet hour power adjustment for example). +See :ref:`vm_power_sending_policy` for more information. One method of power management is to sense how busy a core is when processing packets and adjusting power accordingly. One technique for
@@ -127,13 +128,14 @@ on the premise that when a core is not processing packets, the ratio of branch misses to branch hits is very low, but when the core is processing packets, it is measurably higher. The implementation of this capability is as a policy of type ``BRANCH_RATIO``. -See :ref:`sending_policy` for more information on using the +See :ref:`vm_power_sending_policy` for more information on using the BRANCH_RATIO policy option. A JSON interface enables the specification of power management requests and policies in JSON format. The JSON interfaces provide a more convenient and more easily interpreted interface for the specification -of requests and policies. See :ref:`power_man_requests` for more information. +of requests and policies. +See :ref:`vm_power_requests` for more information. Performance Considerations ~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -393,7 +395,7 @@ Set the current frequency for the specified core by scaling up/down/min/max: set_cpu_freq {core_num} up|down|min|max -.. _enabling_out_of_band: +.. _vm_power_enabling_out_of_band: Command Line Options for Enabling Out-of-band Branch Ratio Monitoring ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -513,7 +515,7 @@ run on cores 0, 1, 2 and 3: ./<build_dir>/examples/dpdk-guest_vm_power_mgr -l 0-3 -.. _sending_policy: +.. _vm_power_sending_policy: Command Line Options Available When Sending a Policy to the Host ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -594,7 +596,7 @@ will send the policy to the host: Once the policy is sent to the host, the host application takes over the power monitoring of the specified cores in the policy. -.. _power_man_requests: +.. _vm_power_requests: JSON Interface for Power Management Requests and Policies ---------------------------------------------------------
@@ -633,11 +635,11 @@ pairs are different depending on which type is sent. The pairs are in the format of standard JSON name-value pairs. The value type varies between the different name-value pairs, and may be integers, -strings, arrays, and so on. See :ref:`json_interface_ex` -for examples of policies and instructions and -:ref:`json_name_value_pair` for the supported names and value types. +strings, arrays, and so on. +See :ref:`vm_power_json_interface_examples` for examples of policies and instructions +and :ref:`vm_power_json_name_value_pairs` for the supported names and value types. -.. _json_interface_ex: +.. _vm_power_json_interface_examples: JSON Interface Examples ~~~~~~~~~~~~~~~~~~~~~~~
@@ -708,7 +710,7 @@ will send the policy to the host: Once the policy is sent to the host, the host application takes over the power monitoring of the specified cores in the policy. -.. _json_name_value_pair: +.. _vm_power_json_name_value_pairs: JSON Name-value Pairs ~~~~~~~~~~~~~~~~~~~~~
doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst +3 -2
@@ -23,7 +23,8 @@ All traffic is read from a single incoming port (port 0) and output on port 1, w With Intel® 82599 NIC, for example, the traffic is split into 128 queues on input, where each thread of the application reads from multiple queues. When run with 8 threads, that is, with the -c FF option, each thread receives and forwards packets from 16 queues. -As supplied, the sample application configures the VMDQ feature to have 32 pools with 4 queues each as indicated in :numref:`figure_vmdq_dcb_example`. +As supplied, the sample application configures the VMDQ feature +to have 32 pools with 4 queues each as indicated in :numref:`vmdq_dcb_figure_example`. The Intel® 82599 10 Gigabit Ethernet Controller NIC also supports the splitting of traffic into 16 pools of 8 queues. While the Intel® X710 or XL710 Ethernet Controller NICs support many configurations of VMDQ pools of 4 or 8 queues each. For simplicity, only 16 or 32 pools is supported in this sample. And queues numbers for each VMDQ pool can be changed by setting RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM
@@ -36,7 +37,7 @@ The nb-pools, nb-tcs and enable-rss parameters can be passed on the command line where, NP can be 16 or 32, TC can be 4 or 8, rss is disabled by default. -.. _figure_vmdq_dcb_example: +.. _vmdq_dcb_figure_example: .. figure:: img/vmdq_dcb_example.*
doc/guides/testpmd_app_ug/testpmd_funcs.rst +3 -3
@@ -1951,7 +1951,7 @@ The following sections show functions for configuring ports. Port configuration changes only become active when forwarding is started/restarted. -.. _port_attach: +.. _testpmd_port_attach: port attach ~~~~~~~~~~~
@@ -5750,5 +5750,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 <i40e_testpmd_commands>` +- :ref:`net/ixgbe testpmd driver specific commands <ixgbe_testpmd_commands>`
doc/guides/tools/dts.rst +10 -10
@@ -138,7 +138,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.
@@ -264,7 +264,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
@@ -286,12 +286,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/configurations/test_run.example.yaml`` -:ref:`config file <test_run_configuration_example>`, +:ref:`config file <dts_test_run_configuration_example>`, and ``dts/configurations/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.
@@ -386,12 +386,12 @@ Framework Coding Guidelines When contributing code to the DTS framework, follow existing conventions to ensure consistency. The :ref:`dts_dev_tools` will flag basic issues. -Also, be sure to :ref:`build the API documentation <building_api_docs>` +Also, be sure to :ref:`build the API documentation <dts_building_api_docs>` to catch any problems during the build. The API documentation is a helpful reference during development. It can be viewed in the code directly -or generated using the :ref:`API docs build steps <building_api_docs>`. +or generated using the :ref:`API docs build steps <dts_building_api_docs>`. If you add new files or change the directory structure, update the corresponding sources in ``doc/api/dts``.
@@ -560,7 +560,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 ---------------------
@@ -595,7 +595,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/configurations/test_run.example.yaml`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -604,7 +604,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/configurations/nodes.example.yaml``
doc/guides/tools/graph.rst +35 -31
170 lines not on this page · raw message
doc/guides/tools/testeventdev.rst +8 -8
@@ -545,7 +545,7 @@ This is a performance test case that aims at testing the following: #. Measure the number of events can be processed in a second. #. Measure the latency to forward an event. -.. _table_eventdev_perf_queue_test: +.. _testeventdev_table_perf_queue_test: .. table:: Perf queue test eventdev configuration.
@@ -572,7 +572,7 @@ This is a performance test case that aims at testing the following: The perf queue test configures the eventdev with Q queues and P ports, where Q and P is a function of the number of workers, the number of producers and -number of stages as mentioned in :numref:`table_eventdev_perf_queue_test`. +number of stages as mentioned in :numref:`testeventdev_table_perf_queue_test`. The user can choose the number of workers, the number of producers and number of stages through the ``--wlcores``, ``--plcores`` and the ``--stlist`` application
@@ -681,7 +681,7 @@ This is a performance test case that aims at testing the following with #. Measure the number of events can be processed in a second. #. Measure the latency to forward an event. -.. _table_eventdev_perf_atq_test: +.. _testeventdev_table_perf_atq_test: .. table:: Perf all types queue test eventdev configuration.
@@ -709,7 +709,7 @@ This is a performance test case that aims at testing the following with The ``all types queues(atq)`` perf test configures the eventdev with Q queues and P ports, where Q and P is a function of the number of workers and number of -producers as mentioned in :numref:`table_eventdev_perf_atq_test`. +producers as mentioned in :numref:`testeventdev_table_perf_atq_test`. The atq queue test functions as same as ``perf_queue`` test. The difference
@@ -784,7 +784,7 @@ This is a pipeline test case that aims at testing the following: #. Measure the end-to-end performance of an event dev with a ethernet dev. #. Maintain packet ordering from Rx to Tx. -.. _table_eventdev_pipeline_queue_test: +.. _testeventdev_table_pipeline_queue_test: .. table:: Pipeline queue test eventdev configuration.
@@ -821,7 +821,7 @@ This is a pipeline test case that aims at testing the following: The pipeline queue test configures the eventdev with Q queues and P ports, where Q and P is a function of the number of workers, the number of producers -and number of stages as mentioned in :numref:`table_eventdev_pipeline_queue_test`. +and number of stages as mentioned in :numref:`testeventdev_table_pipeline_queue_test`. The user can choose the number of workers and number of stages through the ``--wlcores`` and the ``--stlist`` application command line arguments
@@ -906,7 +906,7 @@ This is a pipeline test case that aims at testing the following with #. Measure the end-to-end performance of an event dev with a ethernet dev. #. Maintain packet ordering from Rx to Tx. -.. _table_eventdev_pipeline_atq_test: +.. _testeventdev_table_pipeline_atq_test: .. table:: Pipeline atq test eventdev configuration.
@@ -946,7 +946,7 @@ This is a pipeline test case that aims at testing the following with The pipeline atq test configures the eventdev with Q queues and P ports, where Q and P is a function of the number of workers, the number of producers -and number of stages as mentioned in :numref:`table_eventdev_pipeline_atq_test`. +and number of stages as mentioned in :numref:`testeventdev_table_pipeline_atq_test`. The atq queue test functions as same as ``pipeline_queue`` test. The difference is, It uses, ``all type queue scheme`` instead of separate queues for each
Signature · 1 line
2.54.0
Re: [PATCH v3 0/8] doc: clean-up links in guides
In reply to Thomas MonjalonQuoted 294 lines · Thomas Monjalon
Links 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 guidesNandini Persad (1):
doc: add prefixes to guide labelsThomas 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 referencesdoc/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 +-
Quoted 8 lines
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(-)
For the series:
Signature · 1 line
David Marchand
Thomas Monjalon
AppliedRe: [PATCH v3 0/8] doc: clean-up links in guides
16/07/2026 17:29, David Marchand:
Quoted 7 lines · Thomas Monjalon
Quoted 3 lines
Links and references to other guide sections had multiple issues, all solved in this series.
For the series:
Acked-by David Marchand <[email protected]>
Applied
Re: [PATCH v3 0/8] doc: clean-up links in guides
In reply to Thomas MonjalonQuoted 21 lines · Thomas Monjalon
Links 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 guidesNandini Persad (1):
doc: add prefixes to guide labelsThomas 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