2014-05-14 14:58:07 +00:00
|
|
|
# BSD LICENSE
|
2014-06-03 23:42:50 +00:00
|
|
|
#
|
2014-05-14 14:58:07 +00:00
|
|
|
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
|
|
|
|
# All rights reserved.
|
2014-06-03 23:42:50 +00:00
|
|
|
#
|
2014-05-14 14:58:07 +00:00
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
# are met:
|
2014-06-03 23:42:50 +00:00
|
|
|
#
|
2014-05-14 14:58:07 +00:00
|
|
|
# * Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# * Redistributions in binary form must reproduce the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer in
|
|
|
|
# the documentation and/or other materials provided with the
|
|
|
|
# distribution.
|
|
|
|
# * Neither the name of Intel Corporation nor the names of its
|
|
|
|
# contributors may be used to endorse or promote products derived
|
|
|
|
# from this software without specific prior written permission.
|
2014-06-03 23:42:50 +00:00
|
|
|
#
|
2014-05-14 14:58:07 +00:00
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# define executive environment
|
|
|
|
#
|
2014-09-26 14:03:58 +00:00
|
|
|
# CONFIG_RTE_EXEC_ENV can be linuxapp, bsdapp
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
CONFIG_RTE_EXEC_ENV="bsdapp"
|
|
|
|
CONFIG_RTE_EXEC_ENV_BSDAPP=y
|
|
|
|
|
|
|
|
##
|
|
|
|
## machine can define specific variables or action for a specific board
|
|
|
|
## RTE_MACHINE can be:
|
|
|
|
## default nothing specific
|
|
|
|
## native current machine
|
|
|
|
## atm Intel® Atom™ microarchitecture
|
|
|
|
## nhm Intel® microarchitecture code name Nehalem
|
|
|
|
## wsm Intel® microarchitecture code name Westmere
|
|
|
|
## snb Intel® microarchitecture code name Sandy Bridge
|
|
|
|
## ivb Intel® microarchitecture code name Ivy Bridge
|
|
|
|
##
|
|
|
|
## Note: if your compiler does not support the relevant -march options,
|
|
|
|
## it will be compiled with whatever latest processor the compiler supports!
|
|
|
|
##
|
|
|
|
#CONFIG_RTE_MACHINE="native"
|
|
|
|
#
|
|
|
|
##
|
|
|
|
## define the architecture we compile for.
|
|
|
|
## CONFIG_RTE_ARCH can be i686, x86_64, x86_64_32
|
|
|
|
##
|
|
|
|
#CONFIG_RTE_ARCH="x86_64"
|
|
|
|
#CONFIG_RTE_ARCH_X86_64=y
|
|
|
|
#
|
|
|
|
##
|
|
|
|
## The compiler we use.
|
2014-07-07 23:36:58 +00:00
|
|
|
## Can be gcc, icc or clang.
|
2014-05-14 14:58:07 +00:00
|
|
|
##
|
|
|
|
#CONFIG_RTE_TOOLCHAIN="gcc"
|
|
|
|
#CONFIG_RTE_TOOLCHAIN_GCC=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Use intrinsics or assembly code for key routines
|
|
|
|
#
|
|
|
|
CONFIG_RTE_FORCE_INTRINSICS=n
|
|
|
|
|
2015-06-22 18:34:19 +00:00
|
|
|
#
|
|
|
|
# Machine forces strict alignment constraints.
|
|
|
|
#
|
|
|
|
CONFIG_RTE_ARCH_STRICT_ALIGN=n
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile to share library
|
|
|
|
#
|
|
|
|
CONFIG_RTE_BUILD_SHARED_LIB=n
|
|
|
|
|
|
|
|
#
|
|
|
|
# Combine to one single library
|
|
|
|
#
|
|
|
|
CONFIG_RTE_BUILD_COMBINE_LIBS=n
|
|
|
|
|
2015-07-02 21:03:40 +00:00
|
|
|
#
|
|
|
|
# Use newest code breaking previous ABI
|
|
|
|
#
|
|
|
|
CONFIG_RTE_NEXT_ABI=y
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile Environment Abstraction Layer
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_EAL=y
|
2014-04-22 10:20:25 +00:00
|
|
|
CONFIG_RTE_MAX_LCORE=128
|
2014-05-14 14:58:07 +00:00
|
|
|
CONFIG_RTE_MAX_NUMA_NODES=8
|
|
|
|
CONFIG_RTE_MAX_MEMSEG=256
|
|
|
|
CONFIG_RTE_MAX_MEMZONE=2560
|
|
|
|
CONFIG_RTE_MAX_TAILQ=32
|
|
|
|
CONFIG_RTE_LOG_LEVEL=8
|
|
|
|
CONFIG_RTE_LOG_HISTORY=256
|
|
|
|
CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
|
|
|
|
CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
|
2015-07-15 16:32:20 +00:00
|
|
|
CONFIG_RTE_MALLOC_DEBUG=n
|
2014-05-14 14:58:07 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# FreeBSD contiguous memory driver settings
|
|
|
|
#
|
|
|
|
CONFIG_RTE_CONTIGMEM_MAX_NUM_BUFS=64
|
|
|
|
CONFIG_RTE_CONTIGMEM_DEFAULT_NUM_BUFS=2
|
|
|
|
CONFIG_RTE_CONTIGMEM_DEFAULT_BUF_SIZE=1024*1024*1024
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile Environment Abstraction Layer for BSD
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_EAL_BSDAPP=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile Environment Abstraction Layer for linux
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_EAL_LINUXAPP=n
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile Environment Abstraction Layer to support Vmware TSC map
|
2014-06-03 23:42:50 +00:00
|
|
|
#
|
2014-05-14 14:58:07 +00:00
|
|
|
CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile the argument parser library
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_KVARGS=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile generic ethernet library
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_ETHER=y
|
|
|
|
CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
|
|
|
|
CONFIG_RTE_MAX_ETHPORTS=32
|
2015-11-03 15:40:28 +00:00
|
|
|
CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
|
2014-05-14 14:58:07 +00:00
|
|
|
CONFIG_RTE_LIBRTE_IEEE1588=n
|
|
|
|
CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
|
2015-02-23 18:30:09 +00:00
|
|
|
CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
|
2014-05-14 14:58:07 +00:00
|
|
|
|
2014-07-02 20:53:44 +00:00
|
|
|
#
|
|
|
|
# Support NIC bypass logic
|
|
|
|
#
|
|
|
|
CONFIG_RTE_NIC_BYPASS=n
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented IGB & EM PMD drivers
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_EM_PMD=y
|
|
|
|
CONFIG_RTE_LIBRTE_IGB_PMD=y
|
|
|
|
CONFIG_RTE_LIBRTE_E1000_DEBUG_INIT=n
|
|
|
|
CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
|
|
|
|
CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
|
|
|
|
CONFIG_RTE_LIBRTE_E1000_DEBUG_DRIVER=n
|
|
|
|
CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile burst-oriented IXGBE PMD driver
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_IXGBE_PMD=y
|
|
|
|
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_INIT=n
|
|
|
|
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
|
|
|
|
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
|
|
|
|
CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER=n
|
|
|
|
CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
|
2015-07-31 20:25:08 +00:00
|
|
|
CONFIG_RTE_IXGBE_INC_VECTOR=y
|
2015-07-31 15:57:24 +00:00
|
|
|
CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=y
|
2014-05-14 14:58:07 +00:00
|
|
|
|
2014-06-05 05:08:46 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented I40E PMD driver
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_I40E_PMD=y
|
2014-07-02 20:53:44 +00:00
|
|
|
CONFIG_RTE_LIBRTE_I40E_DEBUG_INIT=n
|
|
|
|
CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
|
|
|
|
CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
|
|
|
|
CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER=n
|
2015-07-31 20:25:08 +00:00
|
|
|
CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
|
2015-10-30 14:16:35 +00:00
|
|
|
CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
|
|
|
|
CONFIG_RTE_LIBRTE_I40E_RX_OLFLAGS_ENABLE=y
|
2014-06-05 05:08:46 +00:00
|
|
|
CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
|
2015-11-03 15:40:28 +00:00
|
|
|
CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
|
2014-06-05 05:08:46 +00:00
|
|
|
CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4
|
2014-11-04 10:01:27 +00:00
|
|
|
CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
|
2014-06-05 05:08:46 +00:00
|
|
|
# interval up to 8160 us, aligned to 2 (or default value)
|
|
|
|
CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
|
|
|
|
|
2015-02-04 10:48:49 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented FM10K PMD
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_FM10K_PMD=y
|
|
|
|
CONFIG_RTE_LIBRTE_FM10K_DEBUG_INIT=n
|
|
|
|
CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
|
|
|
|
CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
|
|
|
|
CONFIG_RTE_LIBRTE_FM10K_DEBUG_DRIVER=n
|
|
|
|
CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
|
|
|
|
|
2015-02-25 13:52:05 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_MLX4_PMD=n
|
|
|
|
CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
|
|
|
|
CONFIG_RTE_LIBRTE_MLX4_SGE_WR_N=4
|
|
|
|
CONFIG_RTE_LIBRTE_MLX4_MAX_INLINE=0
|
|
|
|
CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=8
|
|
|
|
CONFIG_RTE_LIBRTE_MLX4_SOFT_COUNTERS=1
|
|
|
|
|
2015-10-30 18:52:30 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented Mellanox ConnectX-4 (MLX5) PMD
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_MLX5_PMD=n
|
|
|
|
CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
|
2015-10-30 18:52:31 +00:00
|
|
|
CONFIG_RTE_LIBRTE_MLX5_SGE_WR_N=4
|
|
|
|
CONFIG_RTE_LIBRTE_MLX5_MAX_INLINE=0
|
|
|
|
CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=8
|
2015-10-30 18:52:30 +00:00
|
|
|
|
2015-07-20 16:33:20 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented Broadcom PMD driver
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_BNX2X_PMD=n
|
|
|
|
CONFIG_RTE_LIBRTE_BNX2X_DEBUG=n
|
|
|
|
CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=n
|
|
|
|
CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
|
|
|
|
CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
|
|
|
|
|
2015-06-29 23:28:35 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented Chelsio Terminator 10GbE/40GbE (CXGBE) PMD
|
|
|
|
#
|
2015-07-20 17:31:36 +00:00
|
|
|
CONFIG_RTE_LIBRTE_CXGBE_PMD=y
|
2015-06-29 23:28:35 +00:00
|
|
|
CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
|
|
|
|
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
|
|
|
|
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
|
|
|
|
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
|
|
|
|
|
2014-11-25 17:26:41 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented Cisco ENIC PMD driver
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_ENIC_PMD=y
|
2015-04-07 17:17:06 +00:00
|
|
|
CONFIG_RTE_LIBRTE_ENIC_DEBUG=n
|
2014-11-25 17:26:41 +00:00
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented VIRTIO PMD driver
|
|
|
|
#
|
2014-06-16 11:10:26 +00:00
|
|
|
CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
|
2014-05-14 14:58:07 +00:00
|
|
|
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=n
|
|
|
|
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
|
|
|
|
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=n
|
|
|
|
CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
|
|
|
|
|
2014-07-02 20:53:44 +00:00
|
|
|
#
|
|
|
|
# Compile burst-oriented VMXNET3 PMD driver
|
|
|
|
#
|
2014-07-03 09:32:30 +00:00
|
|
|
CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
|
2014-07-02 20:53:44 +00:00
|
|
|
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=n
|
|
|
|
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
|
|
|
|
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
|
|
|
|
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
|
|
|
|
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_DRIVER=n
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile example software rings based PMD
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_PMD_RING=y
|
|
|
|
CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
|
|
|
|
CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile software PMD backed by PCAP files
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_PMD_PCAP=y
|
|
|
|
|
2014-06-25 20:07:43 +00:00
|
|
|
#
|
|
|
|
# Compile link bonding PMD library
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_PMD_BOND=y
|
2015-02-20 16:09:20 +00:00
|
|
|
CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
|
|
|
|
CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
|
2014-06-25 20:07:43 +00:00
|
|
|
|
2015-02-23 05:12:34 +00:00
|
|
|
#
|
|
|
|
# Compile null PMD
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_PMD_NULL=y
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Do prefetch of packet data within PMD driver receive function
|
|
|
|
#
|
|
|
|
CONFIG_RTE_PMD_PACKET_PREFETCH=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile librte_ring
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_RING=y
|
|
|
|
CONFIG_RTE_LIBRTE_RING_DEBUG=n
|
|
|
|
CONFIG_RTE_RING_SPLIT_PROD_CONS=n
|
2015-02-17 02:08:15 +00:00
|
|
|
CONFIG_RTE_RING_PAUSE_REP_COUNT=0
|
2014-05-14 14:58:07 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Compile librte_mempool
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_MEMPOOL=y
|
|
|
|
CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
|
|
|
|
CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile librte_mbuf
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_MBUF=y
|
|
|
|
CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
|
|
|
|
CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
|
|
|
|
CONFIG_RTE_PKTMBUF_HEADROOM=128
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile librte_timer
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_TIMER=y
|
|
|
|
CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
|
|
|
|
|
2014-06-04 18:08:36 +00:00
|
|
|
#
|
|
|
|
# Compile librte_cfgfile
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_CFGFILE=y
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile librte_cmdline
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_CMDLINE=y
|
|
|
|
CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile librte_hash
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_HASH=y
|
|
|
|
CONFIG_RTE_LIBRTE_HASH_DEBUG=n
|
|
|
|
|
2015-02-24 16:33:23 +00:00
|
|
|
#
|
|
|
|
# Compile librte_jobstats
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_JOBSTATS=y
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile librte_lpm
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_LPM=y
|
|
|
|
CONFIG_RTE_LIBRTE_LPM_DEBUG=n
|
|
|
|
|
2014-06-13 11:26:50 +00:00
|
|
|
#
|
|
|
|
# Compile librte_acl
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_ACL=y
|
|
|
|
CONFIG_RTE_LIBRTE_ACL_DEBUG=n
|
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile librte_power
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_POWER=n
|
|
|
|
CONFIG_RTE_LIBRTE_POWER_DEBUG=n
|
|
|
|
CONFIG_RTE_MAX_LCORE_FREQS=64
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile librte_net
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_NET=y
|
|
|
|
|
2014-05-28 17:32:35 +00:00
|
|
|
#
|
|
|
|
# Compile librte_ip_frag
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_IP_FRAG=y
|
2014-05-28 17:32:41 +00:00
|
|
|
CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
|
|
|
|
CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
|
2014-06-18 14:50:31 +00:00
|
|
|
CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
|
2014-05-28 17:32:35 +00:00
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Compile librte_meter
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_METER=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile librte_sched
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_SCHED=y
|
|
|
|
CONFIG_RTE_SCHED_RED=n
|
|
|
|
CONFIG_RTE_SCHED_COLLECT_STATS=n
|
|
|
|
CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
|
|
|
|
CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
|
|
|
|
|
|
|
|
#
|
2014-05-29 10:12:14 +00:00
|
|
|
# Compile the distributor library
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
|
|
|
|
|
2015-02-18 14:58:13 +00:00
|
|
|
#
|
|
|
|
# Compile the reorder library
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_REORDER=y
|
|
|
|
|
2014-06-04 18:08:19 +00:00
|
|
|
#
|
|
|
|
# Compile librte_port
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_PORT=y
|
2015-06-19 09:41:13 +00:00
|
|
|
CONFIG_RTE_PORT_STATS_COLLECT=n
|
2014-06-04 18:08:19 +00:00
|
|
|
|
2014-06-04 18:08:27 +00:00
|
|
|
#
|
|
|
|
# Compile librte_table
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_TABLE=y
|
2015-06-19 10:28:34 +00:00
|
|
|
CONFIG_RTE_TABLE_STATS_COLLECT=n
|
2014-06-04 18:08:27 +00:00
|
|
|
|
2014-06-04 18:08:35 +00:00
|
|
|
#
|
|
|
|
# Compile librte_pipeline
|
|
|
|
#
|
|
|
|
CONFIG_RTE_LIBRTE_PIPELINE=y
|
2015-06-19 11:13:09 +00:00
|
|
|
CONFIG_RTE_PIPELINE_STATS_COLLECT=n
|
2014-06-04 18:08:35 +00:00
|
|
|
|
2014-05-14 14:58:07 +00:00
|
|
|
#
|
|
|
|
# Enable warning directives
|
|
|
|
#
|
|
|
|
CONFIG_RTE_INSECURE_FUNCTION_WARNING=n
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile the test application
|
|
|
|
#
|
|
|
|
CONFIG_RTE_APP_TEST=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compile the PMD test application
|
|
|
|
#
|
|
|
|
CONFIG_RTE_TEST_PMD=y
|
|
|
|
CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
|
|
|
|
CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
|