]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/doc/guides/mempool/octeontx.rst
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / doc / guides / mempool / octeontx.rst
CommitLineData
11fdf7f2
TL
1.. SPDX-License-Identifier: BSD-3-Clause
2 Copyright(c) 2017 Cavium, Inc
3
9f95a23c
TL
4OCTEON TX FPAVF Mempool Driver
5==============================
11fdf7f2 6
9f95a23c
TL
7The OCTEON TX FPAVF PMD (**librte_mempool_octeontx**) is a mempool
8driver for offload mempool device found in **Cavium OCTEON TX** SoC
11fdf7f2
TL
9family.
10
11More information can be found at `Cavium, Inc Official Website
12<http://www.cavium.com/OCTEON-TX_ARM_Processors.html>`_.
13
14Features
15--------
16
9f95a23c 17Features of the OCTEON TX FPAVF PMD are:
11fdf7f2
TL
18
19- 32 SR-IOV Virtual functions
20- 32 Pools
21- HW mempool manager
22
9f95a23c
TL
23Supported OCTEON TX SoCs
24------------------------
11fdf7f2
TL
25
26- CN83xx
27
28Prerequisites
29-------------
30
31See :doc: `../platform/octeontx.rst` for setup information.
32
33Pre-Installation Configuration
34------------------------------
35
36Config File Options
37~~~~~~~~~~~~~~~~~~~
38
39The following options can be modified in the ``config`` file.
40Please note that enabling debugging options may affect system performance.
41
42- ``CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS`` ( set to ``octeontx_fpavf``)
43
44 Set default mempool ops to octeontx_fpavf.
45
46- ``CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL`` (default ``y``)
47
48 Toggle compilation of the ``librte_mempool_octeontx`` driver.
49
50Driver Compilation
51~~~~~~~~~~~~~~~~~~
52
9f95a23c 53To compile the OCTEON TX FPAVF MEMPOOL PMD for Linux arm64 gcc target, run the
11fdf7f2
TL
54following ``make`` command:
55
56.. code-block:: console
57
58 cd <DPDK-source-directory>
9f95a23c 59 make config T=arm64-thunderx-linux-gcc
11fdf7f2
TL
60
61
62Initialization
63--------------
64
9f95a23c 65The OCTEON TX fpavf mempool initialization similar to other mempool
11fdf7f2
TL
66drivers like ring. However user need to pass --base-virtaddr as
67command line input to application example test_mempool.c application.
68
69Example:
70
71.. code-block:: console
72
73 ./build/app/test -c 0xf --base-virtaddr=0x100000000000 \
74 --mbuf-pool-ops-name="octeontx_fpavf"