1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2017 Intel Corporation
5 # define executive environment
6 # RTE_EXEC_ENV values are the directories in mk/exec-env/
11 # define the architecture we compile for.
12 # RTE_ARCH values are the directories in mk/arch/
17 # machine can define specific variables or action for a specific board
18 # RTE_MACHINE values are the directories in mk/machine/
23 # The compiler we use.
24 # RTE_TOOLCHAIN values are the directories in mk/toolchain/
29 # Use intrinsics or assembly code for key routines
31 CONFIG_RTE_FORCE_INTRINSICS=n
34 # Machine forces strict alignment constraints.
36 CONFIG_RTE_ARCH_STRICT_ALIGN=n
39 # Compile to share library
41 CONFIG_RTE_BUILD_SHARED_LIB=n
44 # Use newest code breaking previous ABI
49 # Major ABI to overwrite library specific LIBABIVER
54 # Machine's cache line size
56 CONFIG_RTE_CACHE_LINE_SIZE=64
59 # Compile Environment Abstraction Layer
61 CONFIG_RTE_LIBRTE_EAL=y
62 CONFIG_RTE_MAX_LCORE=128
63 CONFIG_RTE_MAX_NUMA_NODES=8
64 CONFIG_RTE_MAX_MEMSEG=256
65 CONFIG_RTE_MAX_MEMZONE=2560
66 CONFIG_RTE_MAX_TAILQ=32
67 CONFIG_RTE_ENABLE_ASSERT=n
68 CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
69 CONFIG_RTE_LOG_HISTORY=256
70 CONFIG_RTE_BACKTRACE=y
71 CONFIG_RTE_LIBEAL_USE_HPET=n
72 CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
73 CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
74 CONFIG_RTE_EAL_IGB_UIO=n
76 CONFIG_RTE_MAX_VFIO_GROUPS=64
77 CONFIG_RTE_MALLOC_DEBUG=n
78 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
81 # Recognize/ignore the AVX/AVX512 CPU flags for performance/power testing.
82 # AVX512 is marked as experimental for now, will enable it after enough
83 # field test and possible optimization.
85 CONFIG_RTE_ENABLE_AVX=y
86 CONFIG_RTE_ENABLE_AVX512=n
88 # Default driver path (or "" to disable)
89 CONFIG_RTE_EAL_PMD_PATH=""
92 # Compile Environment Abstraction Layer to support Vmware TSC map
94 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
97 # Compile the PCI library
99 CONFIG_RTE_LIBRTE_PCI=y
102 # Compile the argument parser library
104 CONFIG_RTE_LIBRTE_KVARGS=y
107 # Compile generic ethernet library
109 CONFIG_RTE_LIBRTE_ETHER=y
110 CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
111 CONFIG_RTE_MAX_ETHPORTS=32
112 CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
113 CONFIG_RTE_LIBRTE_IEEE1588=n
114 CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
115 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
116 CONFIG_RTE_ETHDEV_PROFILE_ITT_WASTED_RX_ITERATIONS=n
119 # Turn off Tx preparation stage
121 # Warning: rte_eth_tx_prepare() can be safely disabled only if using a
122 # driver which do not implement any Tx preparation.
124 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
127 # Compile PCI bus driver
129 CONFIG_RTE_LIBRTE_PCI_BUS=y
132 # Compile the vdev bus
134 CONFIG_RTE_LIBRTE_VDEV_BUS=y
139 CONFIG_RTE_LIBRTE_ARK_PMD=y
140 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
141 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
142 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
143 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
144 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
147 # Compile burst-oriented Broadcom PMD driver
149 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
150 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
151 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
152 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
153 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
156 # Compile burst-oriented Broadcom BNXT PMD driver
158 CONFIG_RTE_LIBRTE_BNXT_PMD=y
161 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
163 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
164 CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
165 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
166 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
167 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
168 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
169 CONFIG_RTE_LIBRTE_CXGBE_TPUT=y
172 CONFIG_RTE_LIBRTE_DPAA_BUS=n
173 CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
174 CONFIG_RTE_LIBRTE_DPAA_PMD=n
175 CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
178 # Compile NXP DPAA2 FSL-MC Bus
180 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
183 # Compile Support Libraries for NXP DPAA2
185 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
186 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
189 # Compile burst-oriented NXP DPAA2 PMD driver
191 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
192 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
195 # Compile burst-oriented Amazon ENA PMD driver
197 CONFIG_RTE_LIBRTE_ENA_PMD=y
198 CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
199 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
200 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
201 CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
204 # Compile burst-oriented Cisco ENIC PMD driver
206 CONFIG_RTE_LIBRTE_ENIC_PMD=y
209 # Compile burst-oriented IGB & EM PMD drivers
211 CONFIG_RTE_LIBRTE_EM_PMD=y
212 CONFIG_RTE_LIBRTE_IGB_PMD=y
213 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
214 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
215 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
216 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
219 # Compile burst-oriented IXGBE PMD driver
221 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
222 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
223 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
224 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
225 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
226 CONFIG_RTE_IXGBE_INC_VECTOR=y
227 CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
230 # Compile burst-oriented I40E PMD driver
232 CONFIG_RTE_LIBRTE_I40E_PMD=y
233 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
234 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
235 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
236 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
237 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
238 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
239 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
240 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
241 # interval up to 8160 us, aligned to 2 (or default value)
242 CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
245 # Compile burst-oriented FM10K PMD
247 CONFIG_RTE_LIBRTE_FM10K_PMD=y
248 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
249 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
250 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
251 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
252 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
255 # Compile burst-oriented AVF PMD driver
257 CONFIG_RTE_LIBRTE_AVF_PMD=y
258 CONFIG_RTE_LIBRTE_AVF_INC_VECTOR=y
259 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX=n
260 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX_FREE=n
261 CONFIG_RTE_LIBRTE_AVF_DEBUG_RX=n
262 CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
265 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
267 CONFIG_RTE_LIBRTE_MLX4_PMD=n
268 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
269 CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
270 CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=8
273 # Compile burst-oriented Mellanox ConnectX-4 & ConnectX-5 (MLX5) PMD
275 CONFIG_RTE_LIBRTE_MLX5_PMD=n
276 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
277 CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
278 CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=8
281 # Compile burst-oriented Netronome NFP PMD driver
283 CONFIG_RTE_LIBRTE_NFP_PMD=n
284 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
285 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
287 # QLogic 10G/25G/40G/50G/100G PMD
289 CONFIG_RTE_LIBRTE_QEDE_PMD=y
290 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
291 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
292 #Provides abs path/name of the firmware file.
293 #Empty string denotes driver will use default firmware
294 CONFIG_RTE_LIBRTE_QEDE_FW=""
297 # Compile burst-oriented Solarflare libefx-based PMD
299 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
300 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
303 # Compile software PMD backed by SZEDATA2 device
305 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
307 # Defines firmware type address space.
308 # See documentation for supported values.
309 # Other values raise compile time error.
310 CONFIG_RTE_LIBRTE_PMD_SZEDATA2_AS=0
313 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
315 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
316 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
317 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
320 # Compile burst-oriented Cavium LiquidIO PMD driver
322 CONFIG_RTE_LIBRTE_LIO_PMD=y
323 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
324 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
325 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
326 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
329 # Compile burst-oriented Cavium OCTEONTX network PMD driver
331 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
334 # Compile WRS accelerated virtual port (AVP) guest PMD driver
336 CONFIG_RTE_LIBRTE_AVP_PMD=n
337 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
338 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
339 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
342 # Compile burst-oriented VIRTIO PMD driver
344 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
345 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
346 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
347 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
350 # Compile virtio device emulation inside virtio PMD driver
352 CONFIG_RTE_VIRTIO_USER=n
355 # Compile burst-oriented VMXNET3 PMD driver
357 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
358 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
359 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
360 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
363 # Compile software PMD backed by AF_PACKET sockets (Linux only)
365 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
368 # Compile link bonding PMD library
370 CONFIG_RTE_LIBRTE_PMD_BOND=y
371 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
372 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
375 # Compile fail-safe PMD
377 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
380 # Compile Marvell PMD driver
382 CONFIG_RTE_LIBRTE_MVPP2_PMD=n
385 # Compile virtual device driver for NetVSC on Hyper-V/Azure
387 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
392 CONFIG_RTE_LIBRTE_PMD_NULL=y
395 # Compile software PMD backed by PCAP files
397 CONFIG_RTE_LIBRTE_PMD_PCAP=n
400 # Compile example software rings based PMD
402 CONFIG_RTE_LIBRTE_PMD_RING=y
403 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
404 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
407 # Compile SOFTNIC PMD
409 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y
412 # Compile the TAP PMD
413 # It is enabled by default for Linux only.
415 CONFIG_RTE_LIBRTE_PMD_TAP=n
418 # Do prefetch of packet data within PMD driver receive function
420 CONFIG_RTE_PMD_PACKET_PREFETCH=y
422 # Compile generic wireless base band device library
423 # EXPERIMENTAL: API may change without prior notice
425 CONFIG_RTE_LIBRTE_BBDEV=y
426 CONFIG_RTE_BBDEV_MAX_DEVS=128
429 # Compile PMD for NULL bbdev device
431 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
434 # Compile PMD for turbo software bbdev device
436 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
439 # Compile generic crypto device library
441 CONFIG_RTE_LIBRTE_CRYPTODEV=y
442 CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=n
443 CONFIG_RTE_CRYPTO_MAX_DEVS=64
446 # Compile PMD for ARMv8 Crypto device
448 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
449 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
452 # Compile NXP DPAA2 crypto sec driver for CAAM HW
454 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
455 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_INIT=n
456 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_DRIVER=n
457 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_RX=n
458 CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048
461 # NXP DPAA caam - crypto driver
463 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
464 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_INIT=n
465 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_DRIVER=n
466 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_RX=n
467 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
468 CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048
471 # Compile PMD for QuickAssist based devices
473 CONFIG_RTE_LIBRTE_PMD_QAT=n
474 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_INIT=n
475 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_TX=n
476 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_RX=n
477 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=n
479 # Number of sessions to create in the session memory pool
480 # on a single QuickAssist device.
482 CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=2048
485 # Compile PMD for AESNI backed device
487 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
488 CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=n
491 # Compile PMD for Software backed device
493 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
494 CONFIG_RTE_LIBRTE_PMD_OPENSSL_DEBUG=n
497 # Compile PMD for AESNI GCM device
499 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
500 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM_DEBUG=n
503 # Compile PMD for SNOW 3G device
505 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
506 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
509 # Compile PMD for KASUMI device
511 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
512 CONFIG_RTE_LIBRTE_PMD_KASUMI_DEBUG=n
515 # Compile PMD for ZUC device
517 CONFIG_RTE_LIBRTE_PMD_ZUC=n
518 CONFIG_RTE_LIBRTE_PMD_ZUC_DEBUG=n
521 # Compile PMD for Crypto Scheduler device
523 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
524 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n
527 # Compile PMD for NULL Crypto device
529 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
532 # Compile PMD for Marvell Crypto device
534 CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO=n
535 CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO_DEBUG=n
538 # Compile generic security library
540 CONFIG_RTE_LIBRTE_SECURITY=y
543 # Compile generic event device library
545 CONFIG_RTE_LIBRTE_EVENTDEV=y
546 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
547 CONFIG_RTE_EVENT_MAX_DEVS=16
548 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
551 # Compile PMD for skeleton event device
553 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
554 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
557 # Compile PMD for software event device
559 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
562 # Compile PMD for octeontx sso event device
564 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
567 # Compile PMD for OPDL event device
569 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
572 # Compile PMD for NXP DPAA event device
574 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
577 # Compile PMD for NXP DPAA2 event device
579 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
582 # Compile raw device support
583 # EXPERIMENTAL: API may change without prior notice
585 CONFIG_RTE_LIBRTE_RAWDEV=y
586 CONFIG_RTE_RAWDEV_MAX_DEVS=10
587 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
590 # Compile librte_ring
592 CONFIG_RTE_LIBRTE_RING=y
593 CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
596 # Compile librte_mempool
598 CONFIG_RTE_LIBRTE_MEMPOOL=y
599 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
600 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
603 # Compile Mempool drivers
605 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
606 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
609 # Compile PMD for octeontx fpa mempool device
611 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
614 # Compile librte_mbuf
616 CONFIG_RTE_LIBRTE_MBUF=y
617 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
618 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
619 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
620 CONFIG_RTE_PKTMBUF_HEADROOM=128
623 # Compile librte_timer
625 CONFIG_RTE_LIBRTE_TIMER=y
626 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
629 # Compile librte_cfgfile
631 CONFIG_RTE_LIBRTE_CFGFILE=y
634 # Compile librte_cmdline
636 CONFIG_RTE_LIBRTE_CMDLINE=y
637 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
640 # Compile librte_hash
642 CONFIG_RTE_LIBRTE_HASH=y
643 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
648 CONFIG_RTE_LIBRTE_EFD=y
651 # Compile librte_member
653 CONFIG_RTE_LIBRTE_MEMBER=y
656 # Compile librte_jobstats
658 CONFIG_RTE_LIBRTE_JOBSTATS=y
661 # Compile the device metrics library
663 CONFIG_RTE_LIBRTE_METRICS=y
666 # Compile the bitrate statistics library
668 CONFIG_RTE_LIBRTE_BITRATE=y
671 # Compile the latency statistics library
673 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
678 CONFIG_RTE_LIBRTE_LPM=y
679 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
684 CONFIG_RTE_LIBRTE_ACL=y
685 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
688 # Compile librte_power
690 CONFIG_RTE_LIBRTE_POWER=n
691 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
692 CONFIG_RTE_MAX_LCORE_FREQS=64
697 CONFIG_RTE_LIBRTE_NET=y
700 # Compile librte_ip_frag
702 CONFIG_RTE_LIBRTE_IP_FRAG=y
703 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
704 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
705 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
708 # Compile GRO library
710 CONFIG_RTE_LIBRTE_GRO=y
713 # Compile GSO library
715 CONFIG_RTE_LIBRTE_GSO=y
718 # Compile librte_meter
720 CONFIG_RTE_LIBRTE_METER=y
723 # Compile librte_classify
725 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
728 # Compile librte_sched
730 CONFIG_RTE_LIBRTE_SCHED=y
731 CONFIG_RTE_SCHED_DEBUG=n
732 CONFIG_RTE_SCHED_RED=n
733 CONFIG_RTE_SCHED_COLLECT_STATS=n
734 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
735 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
736 CONFIG_RTE_SCHED_VECTOR=n
739 # Compile the distributor library
741 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
744 # Compile the reorder library
746 CONFIG_RTE_LIBRTE_REORDER=y
749 # Compile librte_port
751 CONFIG_RTE_LIBRTE_PORT=y
752 CONFIG_RTE_PORT_STATS_COLLECT=n
753 CONFIG_RTE_PORT_PCAP=n
756 # Compile librte_table
758 CONFIG_RTE_LIBRTE_TABLE=y
759 CONFIG_RTE_TABLE_STATS_COLLECT=n
762 # Compile librte_pipeline
764 CONFIG_RTE_LIBRTE_PIPELINE=y
765 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
770 CONFIG_RTE_LIBRTE_KNI=n
771 CONFIG_RTE_LIBRTE_PMD_KNI=n
772 CONFIG_RTE_KNI_KMOD=n
773 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
774 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
777 # Compile the pdump library
779 CONFIG_RTE_LIBRTE_PDUMP=y
782 # Compile vhost user library
784 CONFIG_RTE_LIBRTE_VHOST=n
785 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
786 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
790 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
792 CONFIG_RTE_LIBRTE_PMD_VHOST=n
795 # Compile the test application
797 CONFIG_RTE_APP_TEST=y
798 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
801 # Compile the procinfo application
803 CONFIG_RTE_PROC_INFO=n
806 # Compile the PMD test application
808 CONFIG_RTE_TEST_PMD=y
809 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
810 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
813 # Compile the bbdev test application
815 CONFIG_RTE_TEST_BBDEV=y
818 # Compile the crypto performance application
820 CONFIG_RTE_APP_CRYPTO_PERF=y
823 # Compile the eventdev application
825 CONFIG_RTE_APP_EVENTDEV=y