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_LISTS=64
65 # each memseg list will be limited to either RTE_MAX_MEMSEG_PER_LIST pages
66 # or RTE_MAX_MEM_MB_PER_LIST megabytes worth of memory, whichever is smaller
67 CONFIG_RTE_MAX_MEMSEG_PER_LIST=8192
68 CONFIG_RTE_MAX_MEM_MB_PER_LIST=32768
69 # a "type" is a combination of page size and NUMA node. total number of memseg
70 # lists per type will be limited to either RTE_MAX_MEMSEG_PER_TYPE pages (split
71 # over multiple lists of RTE_MAX_MEMSEG_PER_LIST pages), or
72 # RTE_MAX_MEM_MB_PER_TYPE megabytes of memory (split over multiple lists of
73 # RTE_MAX_MEM_MB_PER_LIST), whichever is smaller
74 CONFIG_RTE_MAX_MEMSEG_PER_TYPE=32768
75 CONFIG_RTE_MAX_MEM_MB_PER_TYPE=131072
76 # global maximum usable amount of VA, in megabytes
77 CONFIG_RTE_MAX_MEM_MB=524288
78 CONFIG_RTE_MAX_MEMZONE=2560
79 CONFIG_RTE_MAX_TAILQ=32
80 CONFIG_RTE_ENABLE_ASSERT=n
81 CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
82 CONFIG_RTE_LOG_HISTORY=256
83 CONFIG_RTE_BACKTRACE=y
84 CONFIG_RTE_LIBEAL_USE_HPET=n
85 CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
86 CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
87 CONFIG_RTE_EAL_IGB_UIO=n
89 CONFIG_RTE_MAX_VFIO_GROUPS=64
90 CONFIG_RTE_MAX_VFIO_CONTAINERS=64
91 CONFIG_RTE_MALLOC_DEBUG=n
92 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
93 CONFIG_RTE_USE_LIBBSD=n
96 # Recognize/ignore the AVX/AVX512 CPU flags for performance/power testing.
97 # AVX512 is marked as experimental for now, will enable it after enough
98 # field test and possible optimization.
100 CONFIG_RTE_ENABLE_AVX=y
101 CONFIG_RTE_ENABLE_AVX512=n
103 # Default driver path (or "" to disable)
104 CONFIG_RTE_EAL_PMD_PATH=""
107 # Compile Environment Abstraction Layer to support Vmware TSC map
109 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
112 # Compile the PCI library
114 CONFIG_RTE_LIBRTE_PCI=y
117 # Compile the argument parser library
119 CONFIG_RTE_LIBRTE_KVARGS=y
122 # Compile generic ethernet library
124 CONFIG_RTE_LIBRTE_ETHER=y
125 CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
126 CONFIG_RTE_MAX_ETHPORTS=32
127 CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
128 CONFIG_RTE_LIBRTE_IEEE1588=n
129 CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
130 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
131 CONFIG_RTE_ETHDEV_PROFILE_ITT_WASTED_RX_ITERATIONS=n
134 # Turn off Tx preparation stage
136 # Warning: rte_eth_tx_prepare() can be safely disabled only if using a
137 # driver which do not implement any Tx preparation.
139 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
142 # Compile the Intel FPGA bus
144 CONFIG_RTE_LIBRTE_IFPGA_BUS=y
147 # Compile PCI bus driver
149 CONFIG_RTE_LIBRTE_PCI_BUS=y
152 # Compile the vdev bus
154 CONFIG_RTE_LIBRTE_VDEV_BUS=y
159 CONFIG_RTE_LIBRTE_ARK_PMD=y
160 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
161 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
162 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
163 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
164 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
169 CONFIG_RTE_LIBRTE_AXGBE_PMD=y
170 CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG=n
173 # Compile burst-oriented Broadcom PMD driver
175 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
176 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
177 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
178 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
179 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
182 # Compile burst-oriented Broadcom BNXT PMD driver
184 CONFIG_RTE_LIBRTE_BNXT_PMD=y
187 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
189 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
190 CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
191 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
192 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
193 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
194 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
195 CONFIG_RTE_LIBRTE_CXGBE_TPUT=y
198 CONFIG_RTE_LIBRTE_DPAA_BUS=n
199 CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
200 CONFIG_RTE_LIBRTE_DPAA_PMD=n
201 CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
204 # Compile NXP DPAA2 FSL-MC Bus
206 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
209 # Compile Support Libraries for NXP DPAA2
211 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
212 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
215 # Compile burst-oriented NXP DPAA2 PMD driver
217 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
218 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
221 # Compile burst-oriented Amazon ENA PMD driver
223 CONFIG_RTE_LIBRTE_ENA_PMD=y
224 CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
225 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
226 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
227 CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
230 # Compile burst-oriented Cisco ENIC PMD driver
232 CONFIG_RTE_LIBRTE_ENIC_PMD=y
235 # Compile burst-oriented IGB & EM PMD drivers
237 CONFIG_RTE_LIBRTE_EM_PMD=y
238 CONFIG_RTE_LIBRTE_IGB_PMD=y
239 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
240 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
241 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
242 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
245 # Compile burst-oriented IXGBE PMD driver
247 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
248 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
249 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
250 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
251 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
252 CONFIG_RTE_IXGBE_INC_VECTOR=y
253 CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
256 # Compile burst-oriented I40E PMD driver
258 CONFIG_RTE_LIBRTE_I40E_PMD=y
259 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
260 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
261 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
262 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
263 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
264 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
265 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
266 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
267 # interval up to 8160 us, aligned to 2 (or default value)
268 CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
271 # Compile burst-oriented FM10K PMD
273 CONFIG_RTE_LIBRTE_FM10K_PMD=y
274 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
275 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
276 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
277 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
278 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
281 # Compile burst-oriented AVF PMD driver
283 CONFIG_RTE_LIBRTE_AVF_PMD=y
284 CONFIG_RTE_LIBRTE_AVF_INC_VECTOR=y
285 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX=n
286 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX_FREE=n
287 CONFIG_RTE_LIBRTE_AVF_DEBUG_RX=n
288 CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
291 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
293 CONFIG_RTE_LIBRTE_MLX4_PMD=n
294 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
295 CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
298 # Compile burst-oriented Mellanox ConnectX-4, ConnectX-5 & Bluefield
301 CONFIG_RTE_LIBRTE_MLX5_PMD=n
302 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
303 CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
306 # Compile burst-oriented Netronome NFP PMD driver
308 CONFIG_RTE_LIBRTE_NFP_PMD=n
309 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
310 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
312 # QLogic 10G/25G/40G/50G/100G PMD
314 CONFIG_RTE_LIBRTE_QEDE_PMD=y
315 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
316 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
317 #Provides abs path/name of the firmware file.
318 #Empty string denotes driver will use default firmware
319 CONFIG_RTE_LIBRTE_QEDE_FW=""
322 # Compile burst-oriented Solarflare libefx-based PMD
324 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
325 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
328 # Compile software PMD backed by SZEDATA2 device
330 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
333 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
335 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
336 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
337 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
340 # Compile burst-oriented Cavium LiquidIO PMD driver
342 CONFIG_RTE_LIBRTE_LIO_PMD=y
343 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
344 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
345 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
346 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
349 # Compile burst-oriented Cavium OCTEONTX network PMD driver
351 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
354 # Compile WRS accelerated virtual port (AVP) guest PMD driver
356 CONFIG_RTE_LIBRTE_AVP_PMD=n
357 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
358 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
359 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
362 # Compile burst-oriented VIRTIO PMD driver
364 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
365 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
366 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
367 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
370 # Compile virtio device emulation inside virtio PMD driver
372 CONFIG_RTE_VIRTIO_USER=n
375 # Compile burst-oriented VMXNET3 PMD driver
377 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
378 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
379 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
380 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
383 # Compile software PMD backed by AF_PACKET sockets (Linux only)
385 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
388 # Compile link bonding PMD library
390 CONFIG_RTE_LIBRTE_PMD_BOND=y
391 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
392 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
395 # Compile fail-safe PMD
397 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
400 # Compile Marvell PMD driver
402 CONFIG_RTE_LIBRTE_MVPP2_PMD=n
405 # Compile virtual device driver for NetVSC on Hyper-V/Azure
407 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
412 CONFIG_RTE_LIBRTE_PMD_NULL=y
415 # Compile software PMD backed by PCAP files
417 CONFIG_RTE_LIBRTE_PMD_PCAP=n
420 # Compile example software rings based PMD
422 CONFIG_RTE_LIBRTE_PMD_RING=y
423 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
424 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
427 # Compile SOFTNIC PMD
429 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y
432 # Compile the TAP PMD
433 # It is enabled by default for Linux only.
435 CONFIG_RTE_LIBRTE_PMD_TAP=n
438 # Do prefetch of packet data within PMD driver receive function
440 CONFIG_RTE_PMD_PACKET_PREFETCH=y
442 # Compile generic wireless base band device library
443 # EXPERIMENTAL: API may change without prior notice
445 CONFIG_RTE_LIBRTE_BBDEV=y
446 CONFIG_RTE_BBDEV_MAX_DEVS=128
447 CONFIG_RTE_BBDEV_OFFLOAD_COST=n
450 # Compile PMD for NULL bbdev device
452 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
455 # Compile PMD for turbo software bbdev device
457 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
460 # Compile generic crypto device library
462 CONFIG_RTE_LIBRTE_CRYPTODEV=y
463 CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=n
464 CONFIG_RTE_CRYPTO_MAX_DEVS=64
467 # Compile PMD for ARMv8 Crypto device
469 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
470 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
473 # Compile NXP DPAA2 crypto sec driver for CAAM HW
475 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
476 CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048
479 # NXP DPAA caam - crypto driver
481 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
482 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
483 CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048
486 # Compile PMD for QuickAssist based devices
488 CONFIG_RTE_LIBRTE_PMD_QAT=n
490 # Max. number of QuickAssist devices, which can be detected and attached
492 CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
495 # Compile PMD for virtio crypto devices
497 CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
499 # Number of maximum virtio crypto devices
501 CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
503 # Number of sessions to create in the session memory pool
504 # on a single virtio crypto device.
506 CONFIG_RTE_VIRTIO_CRYPTO_PMD_MAX_NB_SESSIONS=1024
509 # Compile PMD for AESNI backed device
511 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
512 CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=n
515 # Compile PMD for Software backed device
517 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
518 CONFIG_RTE_LIBRTE_PMD_OPENSSL_DEBUG=n
521 # Compile PMD for AESNI GCM device
523 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
524 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM_DEBUG=n
527 # Compile PMD for SNOW 3G device
529 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
530 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
533 # Compile PMD for KASUMI device
535 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
536 CONFIG_RTE_LIBRTE_PMD_KASUMI_DEBUG=n
539 # Compile PMD for ZUC device
541 CONFIG_RTE_LIBRTE_PMD_ZUC=n
542 CONFIG_RTE_LIBRTE_PMD_ZUC_DEBUG=n
545 # Compile PMD for Crypto Scheduler device
547 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
548 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n
551 # Compile PMD for NULL Crypto device
553 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
556 # Compile PMD for AMD CCP crypto device
558 CONFIG_RTE_LIBRTE_PMD_CCP=n
561 # Compile PMD for Marvell Crypto device
563 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
564 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO_DEBUG=n
567 # Compile generic security library
569 CONFIG_RTE_LIBRTE_SECURITY=y
572 # Compile generic compression device library
574 CONFIG_RTE_LIBRTE_COMPRESSDEV=y
575 CONFIG_RTE_COMPRESS_MAX_DEVS=64
578 # Compile compressdev unit test
580 CONFIG_RTE_COMPRESSDEV_TEST=n
583 # Compile PMD for ISA-L compression device
585 CONFIG_RTE_LIBRTE_PMD_ISAL=n
588 # Compile generic event device library
590 CONFIG_RTE_LIBRTE_EVENTDEV=y
591 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
592 CONFIG_RTE_EVENT_MAX_DEVS=16
593 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
594 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
595 CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
598 # Compile PMD for skeleton event device
600 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
601 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
604 # Compile PMD for software event device
606 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
609 # Compile PMD for octeontx sso event device
611 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
614 # Compile PMD for OPDL event device
616 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
619 # Compile PMD for NXP DPAA event device
621 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
624 # Compile PMD for NXP DPAA2 event device
626 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
629 # Compile raw device support
630 # EXPERIMENTAL: API may change without prior notice
632 CONFIG_RTE_LIBRTE_RAWDEV=y
633 CONFIG_RTE_RAWDEV_MAX_DEVS=10
634 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
637 # Compile PMD for NXP DPAA2 CMDIF raw device
639 CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
642 # Compile PMD for NXP DPAA2 QDMA raw device
644 CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
647 # Compile PMD for Intel FPGA raw device
649 CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=y
652 # Compile librte_ring
654 CONFIG_RTE_LIBRTE_RING=y
655 CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
658 # Compile librte_mempool
660 CONFIG_RTE_LIBRTE_MEMPOOL=y
661 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
662 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
665 # Compile Mempool drivers
667 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
668 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
669 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
670 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
673 # Compile PMD for octeontx fpa mempool device
675 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
678 # Compile librte_mbuf
680 CONFIG_RTE_LIBRTE_MBUF=y
681 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
682 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
683 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
684 CONFIG_RTE_PKTMBUF_HEADROOM=128
687 # Compile librte_timer
689 CONFIG_RTE_LIBRTE_TIMER=y
690 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
693 # Compile librte_cfgfile
695 CONFIG_RTE_LIBRTE_CFGFILE=y
698 # Compile librte_cmdline
700 CONFIG_RTE_LIBRTE_CMDLINE=y
701 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
704 # Compile librte_hash
706 CONFIG_RTE_LIBRTE_HASH=y
707 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
712 CONFIG_RTE_LIBRTE_EFD=y
715 # Compile librte_member
717 CONFIG_RTE_LIBRTE_MEMBER=y
720 # Compile librte_jobstats
722 CONFIG_RTE_LIBRTE_JOBSTATS=y
725 # Compile the device metrics library
727 CONFIG_RTE_LIBRTE_METRICS=y
730 # Compile the bitrate statistics library
732 CONFIG_RTE_LIBRTE_BITRATE=y
735 # Compile the latency statistics library
737 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
742 CONFIG_RTE_LIBRTE_LPM=y
743 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
748 CONFIG_RTE_LIBRTE_ACL=y
749 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
752 # Compile librte_power
754 CONFIG_RTE_LIBRTE_POWER=n
755 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
756 CONFIG_RTE_MAX_LCORE_FREQS=64
761 CONFIG_RTE_LIBRTE_NET=y
764 # Compile librte_ip_frag
766 CONFIG_RTE_LIBRTE_IP_FRAG=y
767 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
768 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
769 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
772 # Compile GRO library
774 CONFIG_RTE_LIBRTE_GRO=y
777 # Compile GSO library
779 CONFIG_RTE_LIBRTE_GSO=y
782 # Compile librte_meter
784 CONFIG_RTE_LIBRTE_METER=y
787 # Compile librte_classify
789 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
792 # Compile librte_sched
794 CONFIG_RTE_LIBRTE_SCHED=y
795 CONFIG_RTE_SCHED_DEBUG=n
796 CONFIG_RTE_SCHED_RED=n
797 CONFIG_RTE_SCHED_COLLECT_STATS=n
798 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
799 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
800 CONFIG_RTE_SCHED_VECTOR=n
803 # Compile the distributor library
805 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
808 # Compile the reorder library
810 CONFIG_RTE_LIBRTE_REORDER=y
813 # Compile librte_port
815 CONFIG_RTE_LIBRTE_PORT=y
816 CONFIG_RTE_PORT_STATS_COLLECT=n
817 CONFIG_RTE_PORT_PCAP=n
820 # Compile librte_table
822 CONFIG_RTE_LIBRTE_TABLE=y
823 CONFIG_RTE_TABLE_STATS_COLLECT=n
826 # Compile librte_pipeline
828 CONFIG_RTE_LIBRTE_PIPELINE=y
829 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
834 CONFIG_RTE_LIBRTE_KNI=n
835 CONFIG_RTE_LIBRTE_PMD_KNI=n
836 CONFIG_RTE_KNI_KMOD=n
837 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
838 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
841 # Compile the pdump library
843 CONFIG_RTE_LIBRTE_PDUMP=y
846 # Compile vhost user library
848 CONFIG_RTE_LIBRTE_VHOST=n
849 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
850 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
854 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
856 CONFIG_RTE_LIBRTE_PMD_VHOST=n
860 # To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
863 CONFIG_RTE_LIBRTE_IFC_PMD=n
868 CONFIG_RTE_LIBRTE_BPF=y
869 # allow load BPF from ELF files (requires libelf)
870 CONFIG_RTE_LIBRTE_BPF_ELF=n
873 # Compile the test application
875 CONFIG_RTE_APP_TEST=y
876 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
879 # Compile the procinfo application
881 CONFIG_RTE_PROC_INFO=n
884 # Compile the PMD test application
886 CONFIG_RTE_TEST_PMD=y
887 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
888 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
891 # Compile the bbdev test application
893 CONFIG_RTE_TEST_BBDEV=y
896 # Compile the crypto performance application
898 CONFIG_RTE_APP_CRYPTO_PERF=y
901 # Compile the eventdev application
903 CONFIG_RTE_APP_EVENTDEV=y