15c6a1
# -*- cfg-sha: ac783e64ca20c977a7c1c42e72e6dce151b31aa9aecfbfa121b45e49e938f418
15c6a1
# BSD LICENSE
15c6a1
# Copyright (C) IBM Corporation 2014.
15c6a1
# Redistribution and use in source and binary forms, with or without
15c6a1
# modification, are permitted provided that the following conditions
15c6a1
# are met:
15c6a1
# * Redistributions of source code must retain the above copyright
15c6a1
# notice, this list of conditions and the following disclaimer.
15c6a1
# * Redistributions in binary form must reproduce the above copyright
15c6a1
# notice, this list of conditions and the following disclaimer in
15c6a1
# the documentation and/or other materials provided with the
15c6a1
# distribution.
15c6a1
# * Neither the name of IBM Corporation nor the names of its
15c6a1
# contributors may be used to endorse or promote products derived
15c6a1
# from this software without specific prior written permission.
15c6a1
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
15c6a1
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
15c6a1
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
15c6a1
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
15c6a1
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
15c6a1
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
15c6a1
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
15c6a1
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
15c6a1
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
15c6a1
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
15c6a1
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15c6a1
# SPDX-License-Identifier: BSD-3-Clause
15c6a1
# Copyright(c) 2010-2016 Intel Corporation
15c6a1
# SPDX-License-Identifier: BSD-3-Clause
15c6a1
# Copyright(c) 2010-2017 Intel Corporation
15c6a1
# RTE_EXEC_ENV values are the directories in mk/exec-env/
15c6a1
CONFIG_RTE_EXEC_ENV="linuxapp"
15c6a1
# RTE_ARCH values are architecture we compile for. directories in mk/arch/
15c6a1
CONFIG_RTE_ARCH="ppc_64"
15c6a1
# machine can define specific variables or action for a specific board
15c6a1
# RTE_MACHINE values are architecture we compile for. directories in mk/machine/
15c6a1
CONFIG_RTE_MACHINE="power8"
15c6a1
# The compiler we use.
15c6a1
# RTE_TOOLCHAIN values are architecture we compile for. directories in mk/toolchain/
15c6a1
CONFIG_RTE_TOOLCHAIN="gcc"
15c6a1
# Use intrinsics or assembly code for key routines
15c6a1
CONFIG_RTE_FORCE_INTRINSICS=n
15c6a1
# Machine forces strict alignment constraints.
15c6a1
CONFIG_RTE_ARCH_STRICT_ALIGN=n
15c6a1
# Compile to share library
15c6a1
CONFIG_RTE_BUILD_SHARED_LIB=n
15c6a1
# Use newest code breaking previous ABI
15c6a1
CONFIG_RTE_NEXT_ABI=n
15c6a1
# Major ABI to overwrite library specific LIBABIVER
15c6a1
CONFIG_RTE_MAJOR_ABI=
15c6a1
# Machine's cache line size
15c6a1
CONFIG_RTE_CACHE_LINE_SIZE=128
15c6a1
# Memory model
15c6a1
CONFIG_RTE_USE_C11_MEM_MODEL=n
15c6a1
# Compile Environment Abstraction Layer
15c6a1
CONFIG_RTE_LIBRTE_EAL=y
15c6a1
CONFIG_RTE_MAX_LCORE=256
15c6a1
CONFIG_RTE_MAX_NUMA_NODES=32
15c6a1
CONFIG_RTE_MAX_HEAPS=32
15c6a1
CONFIG_RTE_MAX_MEMSEG_LISTS=64
15c6a1
# each memseg list will be limited to either RTE_MAX_MEMSEG_PER_LIST pages
15c6a1
# or RTE_MAX_MEM_MB_PER_LIST megabytes worth of memory, whichever is smaller
15c6a1
CONFIG_RTE_MAX_MEMSEG_PER_LIST=8192
15c6a1
CONFIG_RTE_MAX_MEM_MB_PER_LIST=32768
15c6a1
# a "type" is a combination of page size and NUMA node. total number of memseg
15c6a1
# lists per type will be limited to either RTE_MAX_MEMSEG_PER_TYPE pages (split
15c6a1
# over multiple lists of RTE_MAX_MEMSEG_PER_LIST pages), or
15c6a1
# RTE_MAX_MEM_MB_PER_TYPE megabytes of memory (split over multiple lists of
15c6a1
# RTE_MAX_MEM_MB_PER_LIST), whichever is smaller
15c6a1
CONFIG_RTE_MAX_MEMSEG_PER_TYPE=32768
15c6a1
CONFIG_RTE_MAX_MEM_MB_PER_TYPE=131072
15c6a1
# global maximum usable amount of VA, in megabytes
15c6a1
CONFIG_RTE_MAX_MEM_MB=524288
15c6a1
CONFIG_RTE_MAX_MEMZONE=2560
15c6a1
CONFIG_RTE_MAX_TAILQ=32
15c6a1
CONFIG_RTE_ENABLE_ASSERT=n
15c6a1
CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
15c6a1
CONFIG_RTE_LOG_HISTORY=256
15c6a1
CONFIG_RTE_BACKTRACE=y
15c6a1
CONFIG_RTE_LIBEAL_USE_HPET=n
15c6a1
CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
15c6a1
CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
15c6a1
CONFIG_RTE_EAL_IGB_UIO=n
15c6a1
CONFIG_RTE_EAL_VFIO=y
15c6a1
CONFIG_RTE_MAX_VFIO_GROUPS=64
15c6a1
CONFIG_RTE_MAX_VFIO_CONTAINERS=64
15c6a1
CONFIG_RTE_MALLOC_DEBUG=n
15c6a1
CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=y
15c6a1
CONFIG_RTE_USE_LIBBSD=n
15c6a1
# Recognize/ignore architecture we compile for. AVX/AVX512 CPU flags for performance/power testing.
15c6a1
# AVX512 is marked as experimental for now, will enable it after enough
15c6a1
# field test and possible optimization.
15c6a1
CONFIG_RTE_ENABLE_AVX=y
15c6a1
CONFIG_RTE_ENABLE_AVX512=n
15c6a1
# Default driver path (or "" to disable)
15c6a1
CONFIG_RTE_EAL_PMD_PATH=""
15c6a1
# Compile Environment Abstraction Layer to support Vmware TSC map
15c6a1
CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=n
15c6a1
# Compile architecture we compile for. PCI library
15c6a1
CONFIG_RTE_LIBRTE_PCI=y
15c6a1
# Compile architecture we compile for. argument parser library
15c6a1
CONFIG_RTE_LIBRTE_KVARGS=y
15c6a1
# Compile generic ethernet library
15c6a1
CONFIG_RTE_LIBRTE_ETHER=y
15c6a1
CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
15c6a1
CONFIG_RTE_MAX_ETHPORTS=32
15c6a1
CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
15c6a1
CONFIG_RTE_LIBRTE_IEEE1588=n
15c6a1
CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
15c6a1
CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
15c6a1
CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE=n
15c6a1
# Turn off Tx preparation stage
15c6a1
# Warning: rte_eth_tx_prepare() can be safely disabled only if using a
15c6a1
# driver which do not implement any Tx preparation.
15c6a1
CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
15c6a1
# Common libraries, before Bus/PMDs
15c6a1
CONFIG_RTE_LIBRTE_COMMON_DPAAX=n
15c6a1
# Compile architecture we compile for. Intel FPGA bus
15c6a1
CONFIG_RTE_LIBRTE_IFPGA_BUS=n
15c6a1
# Compile PCI bus driver
15c6a1
CONFIG_RTE_LIBRTE_PCI_BUS=y
15c6a1
# Compile architecture we compile for. vdev bus
15c6a1
CONFIG_RTE_LIBRTE_VDEV_BUS=y
15c6a1
# Compile ARK PMD
15c6a1
CONFIG_RTE_LIBRTE_ARK_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
15c6a1
CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
15c6a1
CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
15c6a1
# Compile Aquantia Atlantic PMD driver
15c6a1
CONFIG_RTE_LIBRTE_ATLANTIC_PMD=n
15c6a1
# Compile AMD PMD
15c6a1
CONFIG_RTE_LIBRTE_AXGBE_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG=n
15c6a1
# Compile burst-oriented Broadcom PMD driver
15c6a1
CONFIG_RTE_LIBRTE_BNX2X_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
15c6a1
CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
15c6a1
# Compile burst-oriented Broadcom BNXT PMD driver
15c6a1
CONFIG_RTE_LIBRTE_BNXT_PMD=n
15c6a1
# Compile burst-oriented Chelsio Terminator (CXGBE) PMD
15c6a1
CONFIG_RTE_LIBRTE_CXGBE_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
15c6a1
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
15c6a1
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
15c6a1
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_CXGBE_TPUT=y
15c6a1
# NXP DPAA Bus
15c6a1
CONFIG_RTE_LIBRTE_DPAA_BUS=n
15c6a1
CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
15c6a1
CONFIG_RTE_LIBRTE_DPAA_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
15c6a1
# Compile NXP DPAA2 FSL-MC Bus
15c6a1
CONFIG_RTE_LIBRTE_FSLMC_BUS=n
15c6a1
# Compile Support Libraries for NXP DPAA2
15c6a1
CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
15c6a1
CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
15c6a1
# Compile burst-oriented NXP DPAA2 PMD driver
15c6a1
CONFIG_RTE_LIBRTE_DPAA2_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
15c6a1
# Compile NXP ENETC PMD Driver
15c6a1
CONFIG_RTE_LIBRTE_ENETC_PMD=n
15c6a1
# Compile burst-oriented Amazon ENA PMD driver
15c6a1
CONFIG_RTE_LIBRTE_ENA_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
15c6a1
CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
15c6a1
# Compile burst-oriented Cisco ENIC PMD driver
15c6a1
CONFIG_RTE_LIBRTE_ENIC_PMD=n
15c6a1
# Compile burst-oriented IGB & EM PMD drivers
15c6a1
CONFIG_RTE_LIBRTE_EM_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_IGB_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
15c6a1
CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
15c6a1
# Compile burst-oriented IXGBE PMD driver
15c6a1
CONFIG_RTE_LIBRTE_IXGBE_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
15c6a1
CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
15c6a1
CONFIG_RTE_IXGBE_INC_VECTOR=y
15c6a1
CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
15c6a1
# Compile burst-oriented I40E PMD driver
15c6a1
CONFIG_RTE_LIBRTE_I40E_PMD=y
15c6a1
CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
15c6a1
CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
15c6a1
CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
15c6a1
CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
15c6a1
CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
15c6a1
CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
15c6a1
# Compile burst-oriented FM10K PMD
15c6a1
CONFIG_RTE_LIBRTE_FM10K_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
15c6a1
CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
15c6a1
CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
15c6a1
# Compile burst-oriented AVF PMD driver
15c6a1
CONFIG_RTE_LIBRTE_AVF_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_AVF_INC_VECTOR=y
15c6a1
CONFIG_RTE_LIBRTE_AVF_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_AVF_DEBUG_TX_FREE=n
15c6a1
CONFIG_RTE_LIBRTE_AVF_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
15c6a1
# Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
15c6a1
CONFIG_RTE_LIBRTE_MLX4_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
15c6a1
CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
15c6a1
# Compile burst-oriented Mellanox ConnectX-4, ConnectX-5 & Bluefield
15c6a1
# (MLX5) PMD
15c6a1
CONFIG_RTE_LIBRTE_MLX5_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
15c6a1
CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
15c6a1
# Compile burst-oriented Netronome NFP PMD driver
15c6a1
CONFIG_RTE_LIBRTE_NFP_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
15c6a1
# QLogic 10G/25G/40G/50G/100G PMD
15c6a1
CONFIG_RTE_LIBRTE_QEDE_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
15c6a1
#Provides abs path/name of architecture we compile for. firmware file.
15c6a1
#Empty string denotes driver will use default firmware
15c6a1
CONFIG_RTE_LIBRTE_QEDE_FW=""
15c6a1
# Compile burst-oriented Solarflare libefx-based PMD
15c6a1
CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
15c6a1
# Compile software PMD backed by SZEDATA2 device
15c6a1
CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
15c6a1
# Compile burst-oriented Cavium Thunderx NICVF PMD driver
15c6a1
CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
15c6a1
# Compile burst-oriented Cavium LiquidIO PMD driver
15c6a1
CONFIG_RTE_LIBRTE_LIO_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
15c6a1
CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
15c6a1
# Compile burst-oriented Cavium OCTEONTX network PMD driver
15c6a1
CONFIG_RTE_LIBRTE_OCTEONTX_PMD=n
15c6a1
# Compile WRS accelerated virtual port (AVP) guest PMD driver
15c6a1
CONFIG_RTE_LIBRTE_AVP_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
15c6a1
# Compile burst-oriented VIRTIO PMD driver
15c6a1
CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
15c6a1
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
15c6a1
# Compile virtio device emulation inside virtio PMD driver
15c6a1
CONFIG_RTE_VIRTIO_USER=n
15c6a1
# Compile burst-oriented VMXNET3 PMD driver
15c6a1
CONFIG_RTE_LIBRTE_VMXNET3_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
15c6a1
# Compile software PMD backed by AF_PACKET sockets (Linux only)
15c6a1
CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
15c6a1
# Compile link bonding PMD library
15c6a1
CONFIG_RTE_LIBRTE_PMD_BOND=n
15c6a1
CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
15c6a1
CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
15c6a1
# Compile fail-safe PMD
15c6a1
CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
15c6a1
# Compile Marvell PMD driver
15c6a1
CONFIG_RTE_LIBRTE_MVPP2_PMD=n
15c6a1
# Compile Marvell MVNETA PMD driver
15c6a1
CONFIG_RTE_LIBRTE_MVNETA_PMD=n
15c6a1
# Compile support for VMBus library
15c6a1
CONFIG_RTE_LIBRTE_VMBUS=n
15c6a1
# Compile native PMD for Hyper-V/Azure
15c6a1
CONFIG_RTE_LIBRTE_NETVSC_PMD=n
15c6a1
CONFIG_RTE_LIBRTE_NETVSC_DEBUG_RX=n
15c6a1
CONFIG_RTE_LIBRTE_NETVSC_DEBUG_TX=n
15c6a1
CONFIG_RTE_LIBRTE_NETVSC_DEBUG_DUMP=n
15c6a1
# Compile virtual device driver for NetVSC on Hyper-V/Azure
15c6a1
CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
15c6a1
# Compile null PMD
15c6a1
CONFIG_RTE_LIBRTE_PMD_NULL=n
15c6a1
# Compile software PMD backed by PCAP files
15c6a1
CONFIG_RTE_LIBRTE_PMD_PCAP=n
15c6a1
# Compile example software rings based PMD
15c6a1
CONFIG_RTE_LIBRTE_PMD_RING=y
15c6a1
CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
15c6a1
CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
15c6a1
# Compile SOFTNIC PMD
15c6a1
CONFIG_RTE_LIBRTE_PMD_SOFTNIC=n
15c6a1
# Compile architecture we compile for. TAP PMD
15c6a1
# It is enabled by default for Linux only.
15c6a1
CONFIG_RTE_LIBRTE_PMD_TAP=y
15c6a1
# Do prefetch of packet data within PMD driver receive function
15c6a1
CONFIG_RTE_PMD_PACKET_PREFETCH=y
15c6a1
# Compile generic wireless base band device library
15c6a1
# EXPERIMENTAL: API may change without prior notice
15c6a1
CONFIG_RTE_LIBRTE_BBDEV=n
15c6a1
CONFIG_RTE_BBDEV_MAX_DEVS=128
15c6a1
CONFIG_RTE_BBDEV_OFFLOAD_COST=n
15c6a1
# Compile PMD for NULL bbdev device
15c6a1
CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
15c6a1
# Compile PMD for turbo software bbdev device
15c6a1
CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
15c6a1
# Compile generic crypto device library
15c6a1
CONFIG_RTE_LIBRTE_CRYPTODEV=n
15c6a1
CONFIG_RTE_CRYPTO_MAX_DEVS=64
15c6a1
# Compile PMD for ARMv8 Crypto device
15c6a1
CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
15c6a1
CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
15c6a1
# Compile NXP CAAM JR crypto Driver
15c6a1
CONFIG_RTE_LIBRTE_PMD_CAAM_JR=n
15c6a1
CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE=n
15c6a1
# Compile NXP DPAA2 crypto sec driver for CAAM HW
15c6a1
CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
15c6a1
# NXP DPAA caam - crypto driver
15c6a1
CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
15c6a1
CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
15c6a1
# Compile PMD for Cavium OCTEON TX crypto device
15c6a1
CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO=y
15c6a1
# Compile PMD for QuickAssist based devices - see docs for details
15c6a1
CONFIG_RTE_LIBRTE_PMD_QAT=n
15c6a1
CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n
15c6a1
# Max. number of QuickAssist devices, which can be detected and attached
15c6a1
CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
15c6a1
CONFIG_RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS=16
15c6a1
CONFIG_RTE_PMD_QAT_COMP_IM_BUFFER_SIZE=65536
15c6a1
# Compile PMD for virtio crypto devices
15c6a1
CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=n
15c6a1
# Number of maximum virtio crypto devices
15c6a1
CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
15c6a1
# Compile PMD for AESNI backed device
15c6a1
CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
15c6a1
# Compile PMD for Software backed device
15c6a1
CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
15c6a1
# Compile PMD for AESNI GCM device
15c6a1
CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
15c6a1
# Compile PMD for SNOW 3G device
15c6a1
CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
15c6a1
CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
15c6a1
# Compile PMD for KASUMI device
15c6a1
CONFIG_RTE_LIBRTE_PMD_KASUMI=n
15c6a1
# Compile PMD for ZUC device
15c6a1
CONFIG_RTE_LIBRTE_PMD_ZUC=n
15c6a1
# Compile PMD for Crypto Scheduler device
15c6a1
CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=n
15c6a1
# Compile PMD for NULL Crypto device
15c6a1
CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=n
15c6a1
# Compile PMD for AMD CCP crypto device
15c6a1
CONFIG_RTE_LIBRTE_PMD_CCP=n
15c6a1
# Compile PMD for Marvell Crypto device
15c6a1
CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
15c6a1
# Compile generic security library
15c6a1
CONFIG_RTE_LIBRTE_SECURITY=n
15c6a1
# Compile generic compression device library
15c6a1
CONFIG_RTE_LIBRTE_COMPRESSDEV=n
15c6a1
CONFIG_RTE_COMPRESS_MAX_DEVS=64
15c6a1
# Compile compressdev unit test
15c6a1
CONFIG_RTE_COMPRESSDEV_TEST=n
15c6a1
# Compile PMD for Octeontx ZIPVF compression device
15c6a1
CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF=n
15c6a1
# Compile PMD for ISA-L compression device
15c6a1
CONFIG_RTE_LIBRTE_PMD_ISAL=n
15c6a1
# Compile PMD for ZLIB compression device
15c6a1
CONFIG_RTE_LIBRTE_PMD_ZLIB=n
15c6a1
# Compile generic event device library
15c6a1
CONFIG_RTE_LIBRTE_EVENTDEV=n
15c6a1
CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
15c6a1
CONFIG_RTE_EVENT_MAX_DEVS=16
15c6a1
CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
15c6a1
CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
15c6a1
CONFIG_RTE_EVENT_ETH_INTR_RING_SIZE=1024
15c6a1
CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
15c6a1
CONFIG_RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE=32
15c6a1
# Compile PMD for skeleton event device
15c6a1
CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=n
15c6a1
CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
15c6a1
# Compile PMD for software event device
15c6a1
CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=n
15c6a1
# Compile PMD for distributed software event device
15c6a1
CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV=n
15c6a1
# Compile PMD for octeontx sso event device
15c6a1
CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=n
15c6a1
# Compile PMD for OPDL event device
15c6a1
CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=n
15c6a1
# Compile PMD for NXP DPAA event device
15c6a1
CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
15c6a1
# Compile PMD for NXP DPAA2 event device
15c6a1
CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
15c6a1
# Compile raw device support
15c6a1
# EXPERIMENTAL: API may change without prior notice
15c6a1
CONFIG_RTE_LIBRTE_RAWDEV=n
15c6a1
CONFIG_RTE_RAWDEV_MAX_DEVS=10
15c6a1
CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=n
15c6a1
# Compile PMD for NXP DPAA2 CMDIF raw device
15c6a1
CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
15c6a1
# Compile PMD for NXP DPAA2 QDMA raw device
15c6a1
CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
15c6a1
# Compile PMD for Intel FPGA raw device
15c6a1
CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=n
15c6a1
# Compile librte_ring
15c6a1
CONFIG_RTE_LIBRTE_RING=y
15c6a1
# Compile librte_mempool
15c6a1
CONFIG_RTE_LIBRTE_MEMPOOL=y
15c6a1
CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
15c6a1
CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
15c6a1
# Compile Mempool drivers
15c6a1
CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
15c6a1
CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
15c6a1
CONFIG_RTE_DRIVER_MEMPOOL_RING=y
15c6a1
CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
15c6a1
# Compile PMD for octeontx fpa mempool device
15c6a1
CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=n
15c6a1
# Compile librte_mbuf
15c6a1
CONFIG_RTE_LIBRTE_MBUF=y
15c6a1
CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
15c6a1
CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
15c6a1
CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
15c6a1
CONFIG_RTE_PKTMBUF_HEADROOM=128
15c6a1
# Compile librte_timer
15c6a1
CONFIG_RTE_LIBRTE_TIMER=n
15c6a1
CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
15c6a1
# Compile librte_cfgfile
15c6a1
CONFIG_RTE_LIBRTE_CFGFILE=n
15c6a1
# Compile librte_cmdline
15c6a1
CONFIG_RTE_LIBRTE_CMDLINE=y
15c6a1
CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
15c6a1
# Compile librte_hash
15c6a1
CONFIG_RTE_LIBRTE_HASH=y
15c6a1
CONFIG_RTE_LIBRTE_HASH_DEBUG=n
15c6a1
# Compile librte_efd
15c6a1
CONFIG_RTE_LIBRTE_EFD=n
15c6a1
# Compile librte_member
15c6a1
CONFIG_RTE_LIBRTE_MEMBER=y
15c6a1
# Compile librte_jobstats
15c6a1
CONFIG_RTE_LIBRTE_JOBSTATS=n
15c6a1
# Compile architecture we compile for. device metrics library
15c6a1
CONFIG_RTE_LIBRTE_METRICS=y
15c6a1
# Compile architecture we compile for. bitrate statistics library
15c6a1
CONFIG_RTE_LIBRTE_BITRATE=y
15c6a1
# Compile architecture we compile for. latency statistics library
15c6a1
CONFIG_RTE_LIBRTE_LATENCY_STATS=y
15c6a1
# Compile librte_telemetry
15c6a1
CONFIG_RTE_LIBRTE_TELEMETRY=n
15c6a1
# Compile librte_lpm
15c6a1
CONFIG_RTE_LIBRTE_LPM=n
15c6a1
CONFIG_RTE_LIBRTE_LPM_DEBUG=n
15c6a1
# Compile librte_acl
15c6a1
CONFIG_RTE_LIBRTE_ACL=n
15c6a1
CONFIG_RTE_LIBRTE_ACL_DEBUG=n
15c6a1
# Compile librte_power
15c6a1
CONFIG_RTE_LIBRTE_POWER=n
15c6a1
CONFIG_RTE_LIBRTE_POWER_DEBUG=n
15c6a1
CONFIG_RTE_MAX_LCORE_FREQS=64
15c6a1
# Compile librte_net
15c6a1
CONFIG_RTE_LIBRTE_NET=y
15c6a1
# Compile librte_ip_frag
15c6a1
CONFIG_RTE_LIBRTE_IP_FRAG=y
15c6a1
CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
15c6a1
CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
15c6a1
CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
15c6a1
# Compile GRO library
15c6a1
CONFIG_RTE_LIBRTE_GRO=y
15c6a1
# Compile GSO library
15c6a1
CONFIG_RTE_LIBRTE_GSO=y
15c6a1
# Compile librte_meter
15c6a1
CONFIG_RTE_LIBRTE_METER=y
15c6a1
# Compile librte_classify
15c6a1
CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=n
15c6a1
# Compile librte_sched
15c6a1
CONFIG_RTE_LIBRTE_SCHED=n
15c6a1
CONFIG_RTE_SCHED_DEBUG=n
15c6a1
CONFIG_RTE_SCHED_RED=n
15c6a1
CONFIG_RTE_SCHED_COLLECT_STATS=n
15c6a1
CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
15c6a1
CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
15c6a1
CONFIG_RTE_SCHED_VECTOR=n
15c6a1
# Compile architecture we compile for. distributor library
15c6a1
CONFIG_RTE_LIBRTE_DISTRIBUTOR=n
15c6a1
# Compile architecture we compile for. reorder library
15c6a1
CONFIG_RTE_LIBRTE_REORDER=n
15c6a1
# Compile librte_port
15c6a1
CONFIG_RTE_LIBRTE_PORT=n
15c6a1
CONFIG_RTE_PORT_STATS_COLLECT=n
15c6a1
CONFIG_RTE_PORT_PCAP=n
15c6a1
# Compile librte_table
15c6a1
CONFIG_RTE_LIBRTE_TABLE=n
15c6a1
CONFIG_RTE_TABLE_STATS_COLLECT=n
15c6a1
# Compile librte_pipeline
15c6a1
CONFIG_RTE_LIBRTE_PIPELINE=n
15c6a1
CONFIG_RTE_PIPELINE_STATS_COLLECT=n
15c6a1
# Compile librte_kni
15c6a1
CONFIG_RTE_LIBRTE_KNI=n
15c6a1
CONFIG_RTE_LIBRTE_PMD_KNI=n
15c6a1
CONFIG_RTE_KNI_KMOD=n
15c6a1
CONFIG_RTE_KNI_KMOD_ETHTOOL=n
15c6a1
CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
15c6a1
# Compile architecture we compile for. pdump library
15c6a1
CONFIG_RTE_LIBRTE_PDUMP=y
15c6a1
# Compile vhost user library
15c6a1
CONFIG_RTE_LIBRTE_VHOST=y
15c6a1
CONFIG_RTE_LIBRTE_VHOST_NUMA=y
15c6a1
CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
15c6a1
# Compile vhost PMD
15c6a1
# To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
15c6a1
CONFIG_RTE_LIBRTE_PMD_VHOST=y
15c6a1
# Compile IFC driver
15c6a1
# To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
15c6a1
# should be enabled.
15c6a1
CONFIG_RTE_LIBRTE_IFC_PMD=n
15c6a1
# Compile librte_bpf
15c6a1
CONFIG_RTE_LIBRTE_BPF=n
15c6a1
# allow load BPF from ELF files (requires libelf)
15c6a1
CONFIG_RTE_LIBRTE_BPF_ELF=n
15c6a1
# Compile architecture we compile for. test application
15c6a1
CONFIG_RTE_APP_TEST=y
15c6a1
CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
15c6a1
# Compile architecture we compile for. procinfo application
15c6a1
CONFIG_RTE_PROC_INFO=y
15c6a1
# Compile architecture we compile for. PMD test application
15c6a1
CONFIG_RTE_TEST_PMD=n
15c6a1
CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
15c6a1
CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
15c6a1
# Compile architecture we compile for. bbdev test application
15c6a1
CONFIG_RTE_TEST_BBDEV=n
15c6a1
# Compile architecture we compile for. crypto performance application
15c6a1
CONFIG_RTE_APP_CRYPTO_PERF=n
15c6a1
# Compile architecture we compile for. eventdev application
15c6a1
CONFIG_RTE_APP_EVENTDEV=n
15c6a1
CONFIG_RTE_EXEC_ENV_LINUXAPP=y
15c6a1
CONFIG_RTE_LIBRTE_VHOST_POSTCOPY=n
15c6a1
# Common libraries, before Bus/PMDs
15c6a1
# NXP DPAA BUS and drivers
15c6a1
# NXP FSLMC BUS and DPAA2 drivers
15c6a1
# NXP ENETC PMD Driver
15c6a1
CONFIG_RTE_ARCH_PPC_64=y
15c6a1
CONFIG_RTE_ARCH_64=y
15c6a1
CONFIG_RTE_TOOLCHAIN_GCC=y
15c6a1
# Note: Power doesn't have this support
15c6a1
# Note: Initially, all of architecture we compile for. PMD drivers compilation are turned off on Power
15c6a1
# Will turn on them only after architecture we compile for. successful testing on Power
15c6a1
CONFIG_RTE_LIBRTE_PMD_XENVIRT=n