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_HEAPS=32
65 CONFIG_RTE_MAX_MEMSEG_LISTS=64
66 # each memseg list will be limited to either RTE_MAX_MEMSEG_PER_LIST pages
67 # or RTE_MAX_MEM_MB_PER_LIST megabytes worth of memory, whichever is smaller
68 CONFIG_RTE_MAX_MEMSEG_PER_LIST=8192
69 CONFIG_RTE_MAX_MEM_MB_PER_LIST=32768
70 # a "type" is a combination of page size and NUMA node. total number of memseg
71 # lists per type will be limited to either RTE_MAX_MEMSEG_PER_TYPE pages (split
72 # over multiple lists of RTE_MAX_MEMSEG_PER_LIST pages), or
73 # RTE_MAX_MEM_MB_PER_TYPE megabytes of memory (split over multiple lists of
74 # RTE_MAX_MEM_MB_PER_LIST), whichever is smaller
75 CONFIG_RTE_MAX_MEMSEG_PER_TYPE=32768
76 CONFIG_RTE_MAX_MEM_MB_PER_TYPE=131072
77 # global maximum usable amount of VA, in megabytes
78 CONFIG_RTE_MAX_MEM_MB=524288
79 CONFIG_RTE_MAX_MEMZONE=2560
80 CONFIG_RTE_MAX_TAILQ=32
81 CONFIG_RTE_ENABLE_ASSERT=n
82 CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
83 CONFIG_RTE_LOG_HISTORY=256
84 CONFIG_RTE_BACKTRACE=y
85 CONFIG_RTE_LIBEAL_USE_HPET=n
86 CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
87 CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
88 CONFIG_RTE_EAL_IGB_UIO=n
90 CONFIG_RTE_MAX_VFIO_GROUPS=64
91 CONFIG_RTE_MAX_VFIO_CONTAINERS=64
92 CONFIG_RTE_MALLOC_DEBUG=n
93 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
94 CONFIG_RTE_USE_LIBBSD=n
97 # Recognize/ignore the AVX/AVX512 CPU flags for performance/power testing.
98 # AVX512 is marked as experimental for now, will enable it after enough
99 # field test and possible optimization.
101 CONFIG_RTE_ENABLE_AVX=y
102 CONFIG_RTE_ENABLE_AVX512=n
104 # Default driver path (or "" to disable)
105 CONFIG_RTE_EAL_PMD_PATH=""
108 # Compile Environment Abstraction Layer to support Vmware TSC map
110 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
113 # Compile the PCI library
115 CONFIG_RTE_LIBRTE_PCI=y
118 # Compile the argument parser library
120 CONFIG_RTE_LIBRTE_KVARGS=y
123 # Compile generic ethernet library
125 CONFIG_RTE_LIBRTE_ETHER=y
126 CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
127 CONFIG_RTE_MAX_ETHPORTS=32
128 CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
129 CONFIG_RTE_LIBRTE_IEEE1588=n
130 CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
131 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
132 CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE=n
135 # Turn off Tx preparation stage
137 # Warning: rte_eth_tx_prepare() can be safely disabled only if using a
138 # driver which do not implement any Tx preparation.
140 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
143 # Compile the Intel FPGA bus
145 CONFIG_RTE_LIBRTE_IFPGA_BUS=y
148 # Compile PCI bus driver
150 CONFIG_RTE_LIBRTE_PCI_BUS=y
153 # Compile the vdev bus
155 CONFIG_RTE_LIBRTE_VDEV_BUS=y
160 CONFIG_RTE_LIBRTE_ARK_PMD=y
161 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
162 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
163 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
164 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
165 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
170 CONFIG_RTE_LIBRTE_AXGBE_PMD=y
171 CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG=n
174 # Compile burst-oriented Broadcom PMD driver
176 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
177 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
178 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
179 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
180 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
183 # Compile burst-oriented Broadcom BNXT PMD driver
185 CONFIG_RTE_LIBRTE_BNXT_PMD=y
188 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
190 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
191 CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
192 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
193 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
194 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
195 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
196 CONFIG_RTE_LIBRTE_CXGBE_TPUT=y
199 CONFIG_RTE_LIBRTE_DPAA_BUS=n
200 CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
201 CONFIG_RTE_LIBRTE_DPAA_PMD=n
202 CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
205 # Compile NXP DPAA2 FSL-MC Bus
207 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
210 # Compile Support Libraries for NXP DPAA2
212 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
213 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
216 # Compile burst-oriented NXP DPAA2 PMD driver
218 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
219 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
222 # Compile burst-oriented Amazon ENA PMD driver
224 CONFIG_RTE_LIBRTE_ENA_PMD=y
225 CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
226 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
227 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
228 CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
231 # Compile burst-oriented Cisco ENIC PMD driver
233 CONFIG_RTE_LIBRTE_ENIC_PMD=y
236 # Compile burst-oriented IGB & EM PMD drivers
238 CONFIG_RTE_LIBRTE_EM_PMD=y
239 CONFIG_RTE_LIBRTE_IGB_PMD=y
240 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
241 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
242 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
243 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
246 # Compile burst-oriented IXGBE PMD driver
248 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
249 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
250 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
251 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
252 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
253 CONFIG_RTE_IXGBE_INC_VECTOR=y
254 CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
257 # Compile burst-oriented I40E PMD driver
259 CONFIG_RTE_LIBRTE_I40E_PMD=y
260 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
261 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
262 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
263 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
264 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
265 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
266 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
267 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
270 # Compile burst-oriented FM10K PMD
272 CONFIG_RTE_LIBRTE_FM10K_PMD=y
273 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
274 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
275 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
276 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
277 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
280 # Compile burst-oriented AVF PMD driver
282 CONFIG_RTE_LIBRTE_AVF_PMD=y
283 CONFIG_RTE_LIBRTE_AVF_INC_VECTOR=y
284 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX=n
285 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX_FREE=n
286 CONFIG_RTE_LIBRTE_AVF_DEBUG_RX=n
287 CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
290 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
292 CONFIG_RTE_LIBRTE_MLX4_PMD=n
293 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
294 CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
297 # Compile burst-oriented Mellanox ConnectX-4, ConnectX-5 & Bluefield
300 CONFIG_RTE_LIBRTE_MLX5_PMD=n
301 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
302 CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
305 # Compile burst-oriented Netronome NFP PMD driver
307 CONFIG_RTE_LIBRTE_NFP_PMD=n
308 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
309 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
311 # QLogic 10G/25G/40G/50G/100G PMD
313 CONFIG_RTE_LIBRTE_QEDE_PMD=y
314 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
315 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
316 #Provides abs path/name of the firmware file.
317 #Empty string denotes driver will use default firmware
318 CONFIG_RTE_LIBRTE_QEDE_FW=""
321 # Compile burst-oriented Solarflare libefx-based PMD
323 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
324 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
327 # Compile software PMD backed by SZEDATA2 device
329 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
332 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
334 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
335 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
336 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
339 # Compile burst-oriented Cavium LiquidIO PMD driver
341 CONFIG_RTE_LIBRTE_LIO_PMD=y
342 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
343 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
344 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
345 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
348 # Compile burst-oriented Cavium OCTEONTX network PMD driver
350 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
353 # Compile WRS accelerated virtual port (AVP) guest PMD driver
355 CONFIG_RTE_LIBRTE_AVP_PMD=n
356 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
357 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
358 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
361 # Compile burst-oriented VIRTIO PMD driver
363 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
364 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
365 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
366 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
369 # Compile virtio device emulation inside virtio PMD driver
371 CONFIG_RTE_VIRTIO_USER=n
374 # Compile burst-oriented VMXNET3 PMD driver
376 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
377 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
378 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
379 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
382 # Compile software PMD backed by AF_PACKET sockets (Linux only)
384 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
387 # Compile link bonding PMD library
389 CONFIG_RTE_LIBRTE_PMD_BOND=y
390 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
391 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
394 # Compile fail-safe PMD
396 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
399 # Compile Marvell PMD driver
401 CONFIG_RTE_LIBRTE_MVPP2_PMD=n
404 # Compile support for VMBus library
406 CONFIG_RTE_LIBRTE_VMBUS=n
409 # Compile native PMD for Hyper-V/Azure
411 CONFIG_RTE_LIBRTE_NETVSC_PMD=n
412 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_RX=n
413 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_TX=n
414 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_DUMP=n
417 # Compile virtual device driver for NetVSC on Hyper-V/Azure
419 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
424 CONFIG_RTE_LIBRTE_PMD_NULL=y
427 # Compile software PMD backed by PCAP files
429 CONFIG_RTE_LIBRTE_PMD_PCAP=n
432 # Compile example software rings based PMD
434 CONFIG_RTE_LIBRTE_PMD_RING=y
435 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
436 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
439 # Compile SOFTNIC PMD
441 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=n
444 # Compile the TAP PMD
445 # It is enabled by default for Linux only.
447 CONFIG_RTE_LIBRTE_PMD_TAP=n
450 # Do prefetch of packet data within PMD driver receive function
452 CONFIG_RTE_PMD_PACKET_PREFETCH=y
454 # Compile generic wireless base band device library
455 # EXPERIMENTAL: API may change without prior notice
457 CONFIG_RTE_LIBRTE_BBDEV=y
458 CONFIG_RTE_BBDEV_MAX_DEVS=128
459 CONFIG_RTE_BBDEV_OFFLOAD_COST=n
462 # Compile PMD for NULL bbdev device
464 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
467 # Compile PMD for turbo software bbdev device
469 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
472 # Compile generic crypto device library
474 CONFIG_RTE_LIBRTE_CRYPTODEV=y
475 CONFIG_RTE_CRYPTO_MAX_DEVS=64
478 # Compile PMD for ARMv8 Crypto device
480 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
481 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
484 # Compile NXP DPAA2 crypto sec driver for CAAM HW
486 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
489 # NXP DPAA caam - crypto driver
491 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
492 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
495 # Compile PMD for QuickAssist based devices - see docs for details
497 CONFIG_RTE_LIBRTE_PMD_QAT=y
498 CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n
500 # Max. number of QuickAssist devices, which can be detected and attached
502 CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
503 CONFIG_RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS=16
506 # Compile PMD for virtio crypto devices
508 CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
510 # Number of maximum virtio crypto devices
512 CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
515 # Compile PMD for AESNI backed device
517 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
520 # Compile PMD for Software backed device
522 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
525 # Compile PMD for AESNI GCM device
527 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
530 # Compile PMD for SNOW 3G device
532 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
533 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
536 # Compile PMD for KASUMI device
538 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
541 # Compile PMD for ZUC device
543 CONFIG_RTE_LIBRTE_PMD_ZUC=n
545 # Compile PMD for Crypto Scheduler device
547 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
550 # Compile PMD for NULL Crypto device
552 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
555 # Compile PMD for AMD CCP crypto device
557 CONFIG_RTE_LIBRTE_PMD_CCP=n
560 # Compile PMD for Marvell Crypto device
562 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
563 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO_DEBUG=n
566 # Compile generic security library
568 CONFIG_RTE_LIBRTE_SECURITY=y
571 # Compile generic compression device library
573 CONFIG_RTE_LIBRTE_COMPRESSDEV=y
574 CONFIG_RTE_COMPRESS_MAX_DEVS=64
577 # Compile compressdev unit test
579 CONFIG_RTE_COMPRESSDEV_TEST=n
582 # Compile PMD for Octeontx ZIPVF compression device
584 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF=y
587 # Compile PMD for ISA-L compression device
589 CONFIG_RTE_LIBRTE_PMD_ISAL=n
592 # Compile PMD for ZLIB compression device
594 CONFIG_RTE_LIBRTE_PMD_ZLIB=n
597 # Compile generic event device library
599 CONFIG_RTE_LIBRTE_EVENTDEV=y
600 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
601 CONFIG_RTE_EVENT_MAX_DEVS=16
602 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
603 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
604 CONFIG_RTE_EVENT_ETH_INTR_RING_SIZE=1024
605 CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
606 CONFIG_RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE=32
609 # Compile PMD for skeleton event device
611 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
612 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
615 # Compile PMD for software event device
617 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
620 # Compile PMD for distributed software event device
622 CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV=y
625 # Compile PMD for octeontx sso event device
627 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
630 # Compile PMD for OPDL event device
632 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
635 # Compile PMD for NXP DPAA event device
637 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
640 # Compile PMD for NXP DPAA2 event device
642 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
645 # Compile raw device support
646 # EXPERIMENTAL: API may change without prior notice
648 CONFIG_RTE_LIBRTE_RAWDEV=y
649 CONFIG_RTE_RAWDEV_MAX_DEVS=10
650 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
653 # Compile PMD for NXP DPAA2 CMDIF raw device
655 CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
658 # Compile PMD for NXP DPAA2 QDMA raw device
660 CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
663 # Compile PMD for Intel FPGA raw device
665 CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=y
668 # Compile librte_ring
670 CONFIG_RTE_LIBRTE_RING=y
671 CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
674 # Compile librte_mempool
676 CONFIG_RTE_LIBRTE_MEMPOOL=y
677 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
678 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
681 # Compile Mempool drivers
683 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
684 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
685 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
686 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
689 # Compile PMD for octeontx fpa mempool device
691 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
694 # Compile librte_mbuf
696 CONFIG_RTE_LIBRTE_MBUF=y
697 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
698 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
699 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
700 CONFIG_RTE_PKTMBUF_HEADROOM=128
703 # Compile librte_timer
705 CONFIG_RTE_LIBRTE_TIMER=y
706 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
709 # Compile librte_cfgfile
711 CONFIG_RTE_LIBRTE_CFGFILE=y
714 # Compile librte_cmdline
716 CONFIG_RTE_LIBRTE_CMDLINE=y
717 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
720 # Compile librte_hash
722 CONFIG_RTE_LIBRTE_HASH=y
723 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
728 CONFIG_RTE_LIBRTE_EFD=y
731 # Compile librte_member
733 CONFIG_RTE_LIBRTE_MEMBER=y
736 # Compile librte_jobstats
738 CONFIG_RTE_LIBRTE_JOBSTATS=y
741 # Compile the device metrics library
743 CONFIG_RTE_LIBRTE_METRICS=y
746 # Compile the bitrate statistics library
748 CONFIG_RTE_LIBRTE_BITRATE=y
751 # Compile the latency statistics library
753 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
758 CONFIG_RTE_LIBRTE_LPM=y
759 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
764 CONFIG_RTE_LIBRTE_ACL=y
765 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
768 # Compile librte_power
770 CONFIG_RTE_LIBRTE_POWER=n
771 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
772 CONFIG_RTE_MAX_LCORE_FREQS=64
777 CONFIG_RTE_LIBRTE_NET=y
780 # Compile librte_ip_frag
782 CONFIG_RTE_LIBRTE_IP_FRAG=y
783 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
784 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
785 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
788 # Compile GRO library
790 CONFIG_RTE_LIBRTE_GRO=y
793 # Compile GSO library
795 CONFIG_RTE_LIBRTE_GSO=y
798 # Compile librte_meter
800 CONFIG_RTE_LIBRTE_METER=y
803 # Compile librte_classify
805 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
808 # Compile librte_sched
810 CONFIG_RTE_LIBRTE_SCHED=y
811 CONFIG_RTE_SCHED_DEBUG=n
812 CONFIG_RTE_SCHED_RED=n
813 CONFIG_RTE_SCHED_COLLECT_STATS=n
814 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
815 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
816 CONFIG_RTE_SCHED_VECTOR=n
819 # Compile the distributor library
821 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
824 # Compile the reorder library
826 CONFIG_RTE_LIBRTE_REORDER=y
829 # Compile librte_port
831 CONFIG_RTE_LIBRTE_PORT=y
832 CONFIG_RTE_PORT_STATS_COLLECT=n
833 CONFIG_RTE_PORT_PCAP=n
836 # Compile librte_table
838 CONFIG_RTE_LIBRTE_TABLE=y
839 CONFIG_RTE_TABLE_STATS_COLLECT=n
842 # Compile librte_pipeline
844 CONFIG_RTE_LIBRTE_PIPELINE=y
845 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
850 CONFIG_RTE_LIBRTE_KNI=n
851 CONFIG_RTE_LIBRTE_PMD_KNI=n
852 CONFIG_RTE_KNI_KMOD=n
853 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
854 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
857 # Compile the pdump library
859 CONFIG_RTE_LIBRTE_PDUMP=y
862 # Compile vhost user library
864 CONFIG_RTE_LIBRTE_VHOST=n
865 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
866 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
870 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
872 CONFIG_RTE_LIBRTE_PMD_VHOST=n
876 # To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
879 CONFIG_RTE_LIBRTE_IFC_PMD=n
884 CONFIG_RTE_LIBRTE_BPF=y
885 # allow load BPF from ELF files (requires libelf)
886 CONFIG_RTE_LIBRTE_BPF_ELF=n
889 # Compile the test application
891 CONFIG_RTE_APP_TEST=y
892 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
895 # Compile the procinfo application
897 CONFIG_RTE_PROC_INFO=n
900 # Compile the PMD test application
902 CONFIG_RTE_TEST_PMD=y
903 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
904 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
907 # Compile the bbdev test application
909 CONFIG_RTE_TEST_BBDEV=y
912 # Compile the crypto performance application
914 CONFIG_RTE_APP_CRYPTO_PERF=y
917 # Compile the eventdev application
919 CONFIG_RTE_APP_EVENTDEV=y