1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2017 Intel Corporation
5 # String that appears before the version number
7 CONFIG_RTE_VER_PREFIX="DPDK"
10 # Version information completed when this file is processed for a build
12 CONFIG_RTE_VER_YEAR=__YEAR
13 CONFIG_RTE_VER_MONTH=__MONTH
14 CONFIG_RTE_VER_MINOR=__MINOR
15 CONFIG_RTE_VER_SUFFIX=__SUFFIX
16 CONFIG_RTE_VER_RELEASE=__RELEASE
19 # define executive environment
20 # RTE_EXEC_ENV values are the directories in mk/exec-env/
25 # define the architecture we compile for.
26 # RTE_ARCH values are the directories in mk/arch/
31 # machine can define specific variables or action for a specific board
32 # RTE_MACHINE values are the directories in mk/machine/
37 # The compiler we use.
38 # RTE_TOOLCHAIN values are the directories in mk/toolchain/
43 # Use intrinsics or assembly code for key routines
45 CONFIG_RTE_FORCE_INTRINSICS=n
48 # Machine forces strict alignment constraints.
50 CONFIG_RTE_ARCH_STRICT_ALIGN=n
53 # Enable link time optimization
55 CONFIG_RTE_ENABLE_LTO=n
58 # Compile to share library
60 CONFIG_RTE_BUILD_SHARED_LIB=n
63 # Use newest code breaking previous ABI
68 # Machine's cache line size
70 CONFIG_RTE_CACHE_LINE_SIZE=64
75 CONFIG_RTE_USE_C11_MEM_MODEL=n
78 # Compile Environment Abstraction Layer
80 CONFIG_RTE_LIBRTE_EAL=y
81 CONFIG_RTE_MAX_LCORE=128
82 CONFIG_RTE_MAX_NUMA_NODES=8
83 CONFIG_RTE_MAX_HEAPS=32
84 CONFIG_RTE_MAX_MEMSEG_LISTS=64
85 # each memseg list will be limited to either RTE_MAX_MEMSEG_PER_LIST pages
86 # or RTE_MAX_MEM_MB_PER_LIST megabytes worth of memory, whichever is smaller
87 CONFIG_RTE_MAX_MEMSEG_PER_LIST=8192
88 CONFIG_RTE_MAX_MEM_MB_PER_LIST=32768
89 # a "type" is a combination of page size and NUMA node. total number of memseg
90 # lists per type will be limited to either RTE_MAX_MEMSEG_PER_TYPE pages (split
91 # over multiple lists of RTE_MAX_MEMSEG_PER_LIST pages), or
92 # RTE_MAX_MEM_MB_PER_TYPE megabytes of memory (split over multiple lists of
93 # RTE_MAX_MEM_MB_PER_LIST), whichever is smaller
94 CONFIG_RTE_MAX_MEMSEG_PER_TYPE=32768
95 CONFIG_RTE_MAX_MEM_MB_PER_TYPE=131072
96 # global maximum usable amount of VA, in megabytes
97 CONFIG_RTE_MAX_MEM_MB=524288
98 CONFIG_RTE_MAX_MEMZONE=2560
99 CONFIG_RTE_MAX_TAILQ=32
100 CONFIG_RTE_ENABLE_ASSERT=n
101 CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
102 CONFIG_RTE_ENABLE_TRACE_FP=n
103 CONFIG_RTE_LOG_HISTORY=256
104 CONFIG_RTE_BACKTRACE=y
105 CONFIG_RTE_LIBEAL_USE_HPET=n
106 CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
107 CONFIG_RTE_EAL_IGB_UIO=n
108 CONFIG_RTE_EAL_VFIO=n
109 CONFIG_RTE_MAX_VFIO_GROUPS=64
110 CONFIG_RTE_MAX_VFIO_CONTAINERS=64
111 CONFIG_RTE_MALLOC_DEBUG=n
112 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
113 CONFIG_RTE_USE_LIBBSD=n
114 # Use WFE instructions to implement the rte_wait_for_equal_xxx APIs,
115 # calling these APIs put the cores in low power state while waiting
116 # for the memory address to become equal to the expected value.
117 # This is supported only by aarch64.
118 CONFIG_RTE_ARM_USE_WFE=n
121 # Recognize/ignore the AVX/AVX512 CPU flags for performance/power testing.
122 # AVX512 is marked as experimental for now, will enable it after enough
123 # field test and possible optimization.
125 CONFIG_RTE_ENABLE_AVX=y
126 CONFIG_RTE_ENABLE_AVX512=n
128 # Use ARM LSE ATOMIC instructions
129 CONFIG_RTE_ARM_FEATURE_ATOMICS=n
131 # Default driver path (or "" to disable)
132 CONFIG_RTE_EAL_PMD_PATH=""
135 # Compile Environment Abstraction Layer to support Vmware TSC map
137 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
140 # Compile the PCI library
142 CONFIG_RTE_LIBRTE_PCI=y
145 # Compile the argument parser library
147 CONFIG_RTE_LIBRTE_KVARGS=y
150 # Compile generic ethernet library
152 CONFIG_RTE_LIBRTE_ETHER=y
153 CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
154 CONFIG_RTE_MAX_ETHPORTS=32
155 CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
156 CONFIG_RTE_LIBRTE_IEEE1588=n
157 CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
158 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
159 CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE=n
162 # Turn off Tx preparation stage
164 # Warning: rte_eth_tx_prepare() can be safely disabled only if using a
165 # driver which do not implement any Tx preparation.
167 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
170 # Common libraries, before Bus/PMDs
172 CONFIG_RTE_LIBRTE_COMMON_DPAAX=n
175 # Compile the Intel FPGA bus
177 CONFIG_RTE_LIBRTE_IFPGA_BUS=y
180 # Compile PCI bus driver
182 CONFIG_RTE_LIBRTE_PCI_BUS=y
185 # Compile the vdev bus
187 CONFIG_RTE_LIBRTE_VDEV_BUS=y
192 CONFIG_RTE_LIBRTE_ARK_PMD=y
193 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
194 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
195 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
196 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
197 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
200 # Compile Aquantia Atlantic PMD driver
202 CONFIG_RTE_LIBRTE_ATLANTIC_PMD=y
207 CONFIG_RTE_LIBRTE_AXGBE_PMD=y
208 CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG=n
211 # Compile burst-oriented Broadcom PMD driver
213 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
214 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
215 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
216 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
217 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
220 # Compile burst-oriented Broadcom BNXT PMD driver
222 CONFIG_RTE_LIBRTE_BNXT_PMD=y
225 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
227 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
230 # Compile burst-oriented NXP PFE PMD driver
232 CONFIG_RTE_LIBRTE_PFE_PMD=n
235 CONFIG_RTE_LIBRTE_DPAA_BUS=n
236 CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
237 CONFIG_RTE_LIBRTE_DPAA_PMD=n
238 CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
241 # Compile NXP DPAA2 FSL-MC Bus
243 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
246 # Compile Support Libraries for NXP DPAA2
248 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
249 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
252 # Compile burst-oriented NXP DPAA2 PMD driver
254 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
255 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
258 # Compile NXP ENETC PMD Driver
260 CONFIG_RTE_LIBRTE_ENETC_PMD=n
263 # Compile burst-oriented Amazon ENA PMD driver
265 CONFIG_RTE_LIBRTE_ENA_PMD=y
266 CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
267 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
268 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
269 CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
272 # Compile burst-oriented Cisco ENIC PMD driver
274 CONFIG_RTE_LIBRTE_ENIC_PMD=y
277 # Compile burst-oriented IGB & EM PMD drivers
279 CONFIG_RTE_LIBRTE_EM_PMD=y
280 CONFIG_RTE_LIBRTE_IGB_PMD=y
281 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
282 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
283 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
284 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
287 # Compile burst-oriented HINIC PMD driver
289 CONFIG_RTE_LIBRTE_HINIC_PMD=n
292 # Compile burst-oriented HNS3 PMD driver
294 CONFIG_RTE_LIBRTE_HNS3_PMD=n
297 # Compile Pensando IONIC PMD driver
299 CONFIG_RTE_LIBRTE_IONIC_PMD=y
302 # Compile burst-oriented IXGBE PMD driver
304 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
305 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
306 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
307 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
308 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
309 CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
312 # Compile burst-oriented I40E PMD driver
314 CONFIG_RTE_LIBRTE_I40E_PMD=y
315 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
316 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
317 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
318 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
319 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
320 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
321 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
322 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
325 # Compile burst-oriented FM10K PMD
327 CONFIG_RTE_LIBRTE_FM10K_PMD=y
328 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
329 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
330 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
331 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
332 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
335 # Compile burst-oriented ICE PMD driver
337 CONFIG_RTE_LIBRTE_ICE_PMD=y
338 CONFIG_RTE_LIBRTE_ICE_DEBUG_RX=n
339 CONFIG_RTE_LIBRTE_ICE_DEBUG_TX=n
340 CONFIG_RTE_LIBRTE_ICE_DEBUG_TX_FREE=n
341 CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=n
343 # Compile burst-oriented IAVF PMD driver
345 CONFIG_RTE_LIBRTE_IAVF_PMD=y
346 CONFIG_RTE_LIBRTE_IAVF_DEBUG_TX=n
347 CONFIG_RTE_LIBRTE_IAVF_DEBUG_TX_FREE=n
348 CONFIG_RTE_LIBRTE_IAVF_DEBUG_RX=n
349 CONFIG_RTE_LIBRTE_IAVF_DEBUG_DUMP_DESC=n
350 CONFIG_RTE_LIBRTE_IAVF_16BYTE_RX_DESC=n
352 # Compile burst-oriented IPN3KE PMD driver
354 CONFIG_RTE_LIBRTE_IPN3KE_PMD=n
357 # Compile burst-oriented IGC PMD drivers
359 CONFIG_RTE_LIBRTE_IGC_PMD=y
360 CONFIG_RTE_LIBRTE_IGC_DEBUG_RX=n
361 CONFIG_RTE_LIBRTE_IGC_DEBUG_TX=n
364 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
366 CONFIG_RTE_LIBRTE_MLX4_PMD=n
367 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
370 # Compile burst-oriented Mellanox ConnectX-4, ConnectX-5,
371 # ConnectX-6 & BlueField (MLX5) PMD
373 CONFIG_RTE_LIBRTE_MLX5_PMD=n
374 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
377 # Compile vdpa-oriented Mellanox ConnectX-6 & BlueField (MLX5) PMD
379 CONFIG_RTE_LIBRTE_MLX5_VDPA_PMD=n
381 # Linking method for mlx4/5 dependency on ibverbs and related libraries
382 # Default linking is dynamic by linker.
383 # Other options are: dynamic by dlopen at run-time, or statically embedded.
384 CONFIG_RTE_IBVERBS_LINK_DLOPEN=n
385 CONFIG_RTE_IBVERBS_LINK_STATIC=n
388 # Compile burst-oriented Netronome NFP PMD driver
390 CONFIG_RTE_LIBRTE_NFP_PMD=n
391 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
392 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
394 # QLogic 10G/25G/40G/50G/100G PMD
396 CONFIG_RTE_LIBRTE_QEDE_PMD=y
397 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
398 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
399 #Provides abs path/name of the firmware file.
400 #Empty string denotes driver will use default firmware
401 CONFIG_RTE_LIBRTE_QEDE_FW=""
404 # Compile burst-oriented Solarflare libefx-based PMD
406 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
407 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
410 # Compile software PMD backed by SZEDATA2 device
412 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
415 # Compile software PMD backed by NFB device
417 CONFIG_RTE_LIBRTE_NFB_PMD=n
420 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
422 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
423 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
424 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
427 # Compile burst-oriented Cavium LiquidIO PMD driver
429 CONFIG_RTE_LIBRTE_LIO_PMD=y
430 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
431 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
432 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
433 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
436 # Compile burst-oriented Cavium OCTEONTX network PMD driver
438 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
441 # Compile burst-oriented Marvell OCTEON TX2 network PMD driver
443 CONFIG_RTE_LIBRTE_OCTEONTX2_PMD=y
446 # Compile WRS accelerated virtual port (AVP) guest PMD driver
448 CONFIG_RTE_LIBRTE_AVP_PMD=n
449 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
450 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
451 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
454 # Compile burst-oriented VIRTIO PMD driver
456 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
457 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
458 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
459 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
462 # Compile virtio device emulation inside virtio PMD driver
464 CONFIG_RTE_VIRTIO_USER=n
467 # Compile burst-oriented VMXNET3 PMD driver
469 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
470 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
471 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
472 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
475 # Compile software PMD backed by AF_PACKET sockets (Linux only)
477 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
480 # Compile software PMD backed by AF_XDP sockets (Linux only)
482 CONFIG_RTE_LIBRTE_PMD_AF_XDP=n
485 # Compile Memory Interface PMD driver (Linux only)
487 CONFIG_RTE_LIBRTE_PMD_MEMIF=n
490 # Compile link bonding PMD library
492 CONFIG_RTE_LIBRTE_PMD_BOND=y
493 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
494 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
497 # Compile fail-safe PMD
499 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
502 # Compile Marvell PMD driver
504 CONFIG_RTE_LIBRTE_MVPP2_PMD=n
507 # Compile Marvell MVNETA PMD driver
509 CONFIG_RTE_LIBRTE_MVNETA_PMD=n
512 # Compile support for VMBus library
514 CONFIG_RTE_LIBRTE_VMBUS=n
517 # Compile native PMD for Hyper-V/Azure
519 CONFIG_RTE_LIBRTE_NETVSC_PMD=n
520 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_RX=n
521 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_TX=n
522 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_DUMP=n
525 # Compile virtual device driver for NetVSC on Hyper-V/Azure
527 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
532 CONFIG_RTE_LIBRTE_PMD_NULL=y
535 # Compile software PMD backed by PCAP files
537 CONFIG_RTE_LIBRTE_PMD_PCAP=n
540 # Compile example software rings based PMD
542 CONFIG_RTE_LIBRTE_PMD_RING=y
543 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
544 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
547 # Compile SOFTNIC PMD
549 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=n
552 # Compile the TAP PMD
553 # It is enabled by default for Linux only.
555 CONFIG_RTE_LIBRTE_PMD_TAP=n
558 # Do prefetch of packet data within PMD driver receive function
560 CONFIG_RTE_PMD_PACKET_PREFETCH=y
562 # Compile generic wireless base band device library
563 # EXPERIMENTAL: API may change without prior notice
565 CONFIG_RTE_LIBRTE_BBDEV=y
566 CONFIG_RTE_LIBRTE_BBDEV_DEBUG=n
567 CONFIG_RTE_BBDEV_MAX_DEVS=128
568 CONFIG_RTE_BBDEV_OFFLOAD_COST=y
569 CONFIG_RTE_BBDEV_SDK_AVX2=n
570 CONFIG_RTE_BBDEV_SDK_AVX512=n
573 # Compile PMD for NULL bbdev device
575 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
578 # Compile PMD for turbo software bbdev device
580 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=y
583 # Compile PMD for Intel FPGA LTE FEC bbdev device
585 CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC=y
588 # Compile PMD for Intel FPGA 5GNR FEC bbdev device
590 CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC=y
593 # Compile generic crypto device library
595 CONFIG_RTE_LIBRTE_CRYPTODEV=y
596 CONFIG_RTE_CRYPTO_MAX_DEVS=64
599 # Compile PMD for ARMv8 Crypto device
601 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
602 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
605 # Compile NXP CAAM JR crypto Driver
607 CONFIG_RTE_LIBRTE_PMD_CAAM_JR=n
608 CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE=n
611 # Compile NXP DPAA2 crypto sec driver for CAAM HW
613 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
616 # NXP DPAA caam - crypto driver
618 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
619 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
622 # Compile PMD for Cavium OCTEON TX crypto device
624 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO=y
627 # Compile PMD for Marvell OCTEON TX2 crypto device
629 CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO=y
632 # Compile PMD for QuickAssist based devices - see docs for details
634 CONFIG_RTE_LIBRTE_PMD_QAT=y
635 CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n
636 CONFIG_RTE_LIBRTE_PMD_QAT_ASYM=n
638 # Max. number of QuickAssist devices, which can be detected and attached
640 CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
641 CONFIG_RTE_PMD_QAT_COMP_IM_BUFFER_SIZE=65536
644 # Compile PMD for virtio crypto devices
646 CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
648 # Number of maximum virtio crypto devices
650 CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
653 # Compile PMD for AESNI backed device
655 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
658 # Compile PMD for Software backed device
660 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
663 # Compile PMD for AESNI GCM device
665 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
668 # Compile PMD for SNOW 3G device
670 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
671 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
674 # Compile PMD for KASUMI device
676 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
679 # Compile PMD for ZUC device
681 CONFIG_RTE_LIBRTE_PMD_ZUC=n
683 # Compile PMD for Crypto Scheduler device
685 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
688 # Compile PMD for NULL Crypto device
690 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
693 # Compile PMD for AMD CCP crypto device
695 CONFIG_RTE_LIBRTE_PMD_CCP=n
698 # Compile PMD for Marvell Crypto device
700 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
703 # Compile PMD for NITROX crypto device
705 CONFIG_RTE_LIBRTE_PMD_NITROX=y
708 # Compile generic security library
710 CONFIG_RTE_LIBRTE_SECURITY=y
713 # Compile generic compression device library
715 CONFIG_RTE_LIBRTE_COMPRESSDEV=y
716 CONFIG_RTE_COMPRESS_MAX_DEVS=64
719 # Compile compressdev unit test
721 CONFIG_RTE_COMPRESSDEV_TEST=n
724 # Compile PMD for Octeontx ZIPVF compression device
726 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF=y
729 # Compile PMD for ISA-L compression device
731 CONFIG_RTE_LIBRTE_PMD_ISAL=n
734 # Compile PMD for ZLIB compression device
736 CONFIG_RTE_LIBRTE_PMD_ZLIB=n
739 # Compile generic event device library
741 CONFIG_RTE_LIBRTE_EVENTDEV=y
742 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
743 CONFIG_RTE_EVENT_MAX_DEVS=16
744 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
745 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
746 CONFIG_RTE_EVENT_ETH_INTR_RING_SIZE=1024
747 CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
748 CONFIG_RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE=32
751 # Compile PMD for skeleton event device
753 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
754 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
757 # Compile PMD for software event device
759 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
762 # Compile PMD for distributed software event device
764 CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV=y
767 # Compile PMD for octeontx sso event device
769 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
772 # Compile PMD for octeontx2 sso event device
774 CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EVENTDEV=y
777 # Compile PMD for OPDL event device
779 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
782 # Compile PMD for NXP DPAA event device
784 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
787 # Compile PMD for NXP DPAA2 event device
789 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
792 # Compile raw device support
793 # EXPERIMENTAL: API may change without prior notice
795 CONFIG_RTE_LIBRTE_RAWDEV=y
796 CONFIG_RTE_RAWDEV_MAX_DEVS=64
797 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
800 # Compile PMD for NXP DPAA2 CMDIF raw device
802 CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
805 # Compile PMD for NXP DPAA2 QDMA raw device
807 CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
810 # Compile PMD for Intel FPGA raw device
812 CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=n
815 # Compile PMD for Intel IOAT raw device
817 CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV=y
820 # Compile PMD for octeontx2 DMA raw device
822 CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV=y
825 # Compile PMD for octeontx2 EP raw device
827 CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV=y
830 # Compile PMD for NTB raw device
832 CONFIG_RTE_LIBRTE_PMD_NTB_RAWDEV=y
835 # Compile librte_ring
837 CONFIG_RTE_LIBRTE_RING=y
840 # Compile librte_stack
842 CONFIG_RTE_LIBRTE_STACK=y
845 # Compile librte_mempool
847 CONFIG_RTE_LIBRTE_MEMPOOL=y
848 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
849 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
852 # Compile Mempool drivers
854 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
855 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
856 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
857 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
860 # Compile PMD for octeontx fpa mempool device
862 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
865 # Compile PMD for octeontx2 npa mempool device
867 CONFIG_RTE_LIBRTE_OCTEONTX2_MEMPOOL=y
870 # Compile librte_mbuf
872 CONFIG_RTE_LIBRTE_MBUF=y
873 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
874 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
875 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
876 CONFIG_RTE_PKTMBUF_HEADROOM=128
879 # Compile librte_timer
881 CONFIG_RTE_LIBRTE_TIMER=y
882 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
885 # Compile librte_cfgfile
887 CONFIG_RTE_LIBRTE_CFGFILE=y
890 # Compile librte_cmdline
892 CONFIG_RTE_LIBRTE_CMDLINE=y
893 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
896 # Compile librte_hash
898 CONFIG_RTE_LIBRTE_HASH=y
899 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
904 CONFIG_RTE_LIBRTE_EFD=y
907 # Compile librte_member
909 CONFIG_RTE_LIBRTE_MEMBER=y
912 # Compile librte_jobstats
914 CONFIG_RTE_LIBRTE_JOBSTATS=y
917 # Compile the device metrics library
919 CONFIG_RTE_LIBRTE_METRICS=y
922 # Compile the bitrate statistics library
924 CONFIG_RTE_LIBRTE_BITRATE=y
927 # Compile the latency statistics library
929 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
932 # Compile librte_telemetry legacy support
934 CONFIG_RTE_LIBRTE_TELEMETRY=n
939 CONFIG_RTE_LIBRTE_RCU=y
940 CONFIG_RTE_LIBRTE_RCU_DEBUG=n
945 CONFIG_RTE_LIBRTE_RIB=y
950 CONFIG_RTE_LIBRTE_FIB=y
951 CONFIG_RTE_LIBRTE_FIB_DEBUG=n
956 CONFIG_RTE_LIBRTE_LPM=y
957 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
962 CONFIG_RTE_LIBRTE_ACL=y
963 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
966 # Compile librte_power
968 CONFIG_RTE_LIBRTE_POWER=n
969 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
970 CONFIG_RTE_MAX_LCORE_FREQS=64
975 CONFIG_RTE_LIBRTE_NET=y
978 # Compile librte_ip_frag
980 CONFIG_RTE_LIBRTE_IP_FRAG=y
981 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
982 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
983 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
986 # Compile GRO library
988 CONFIG_RTE_LIBRTE_GRO=y
991 # Compile GSO library
993 CONFIG_RTE_LIBRTE_GSO=y
996 # Compile librte_meter
998 CONFIG_RTE_LIBRTE_METER=y
1001 # Compile librte_classify
1003 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
1006 # Compile librte_sched
1008 CONFIG_RTE_LIBRTE_SCHED=y
1009 CONFIG_RTE_SCHED_DEBUG=n
1010 CONFIG_RTE_SCHED_RED=n
1011 CONFIG_RTE_SCHED_COLLECT_STATS=n
1012 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
1013 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
1014 CONFIG_RTE_SCHED_VECTOR=n
1017 # Compile the distributor library
1019 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
1022 # Compile the reorder library
1024 CONFIG_RTE_LIBRTE_REORDER=y
1027 # Compile librte_port
1029 CONFIG_RTE_LIBRTE_PORT=y
1030 CONFIG_RTE_PORT_STATS_COLLECT=n
1031 CONFIG_RTE_PORT_PCAP=n
1034 # Compile librte_table
1036 CONFIG_RTE_LIBRTE_TABLE=y
1037 CONFIG_RTE_TABLE_STATS_COLLECT=n
1040 # Compile librte_pipeline
1042 CONFIG_RTE_LIBRTE_PIPELINE=y
1043 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
1046 # Compile librte_kni
1048 CONFIG_RTE_LIBRTE_KNI=n
1049 CONFIG_RTE_LIBRTE_PMD_KNI=n
1050 CONFIG_RTE_KNI_KMOD=n
1051 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
1054 # Compile the pdump library
1056 CONFIG_RTE_LIBRTE_PDUMP=y
1059 # Compile vhost user library
1061 CONFIG_RTE_LIBRTE_VHOST=n
1062 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
1063 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
1067 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
1069 CONFIG_RTE_LIBRTE_PMD_VHOST=n
1072 # Compile IFC driver
1073 # To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
1074 # should be enabled.
1076 CONFIG_RTE_LIBRTE_IFC_PMD=n
1079 # Compile librte_bpf
1081 CONFIG_RTE_LIBRTE_BPF=y
1082 # allow load BPF from ELF files (requires libelf)
1083 CONFIG_RTE_LIBRTE_BPF_ELF=n
1086 # Compile librte_ipsec
1088 CONFIG_RTE_LIBRTE_IPSEC=y
1091 # Compile librte_graph
1093 CONFIG_RTE_LIBRTE_GRAPH=y
1094 CONFIG_RTE_GRAPH_BURST_SIZE=256
1095 CONFIG_RTE_LIBRTE_GRAPH_STATS=y
1098 # Compile librte_node
1100 CONFIG_RTE_LIBRTE_NODE=y
1103 # Compile the test application
1105 CONFIG_RTE_APP_TEST=y
1106 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
1109 # Compile the procinfo application
1111 CONFIG_RTE_PROC_INFO=n
1114 # Compile the PMD test application
1116 CONFIG_RTE_TEST_PMD=y
1117 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
1118 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
1121 # Compile the bbdev test application
1123 CONFIG_RTE_TEST_BBDEV=y
1126 # Compile the compression performance application
1128 CONFIG_RTE_APP_COMPRESS_PERF=y
1131 # Compile the crypto performance application
1133 CONFIG_RTE_APP_CRYPTO_PERF=y
1136 # Compile the eventdev application
1138 CONFIG_RTE_APP_EVENTDEV=y