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
269 # Compile burst-oriented FM10K PMD
271 CONFIG_RTE_LIBRTE_FM10K_PMD=y
272 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
273 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
274 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
275 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
276 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
279 # Compile burst-oriented AVF PMD driver
281 CONFIG_RTE_LIBRTE_AVF_PMD=y
282 CONFIG_RTE_LIBRTE_AVF_INC_VECTOR=y
283 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX=n
284 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX_FREE=n
285 CONFIG_RTE_LIBRTE_AVF_DEBUG_RX=n
286 CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
289 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
291 CONFIG_RTE_LIBRTE_MLX4_PMD=n
292 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
293 CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
296 # Compile burst-oriented Mellanox ConnectX-4, ConnectX-5 & Bluefield
299 CONFIG_RTE_LIBRTE_MLX5_PMD=n
300 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
301 CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
304 # Compile burst-oriented Netronome NFP PMD driver
306 CONFIG_RTE_LIBRTE_NFP_PMD=n
307 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
308 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
310 # QLogic 10G/25G/40G/50G/100G PMD
312 CONFIG_RTE_LIBRTE_QEDE_PMD=y
313 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
314 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
315 #Provides abs path/name of the firmware file.
316 #Empty string denotes driver will use default firmware
317 CONFIG_RTE_LIBRTE_QEDE_FW=""
320 # Compile burst-oriented Solarflare libefx-based PMD
322 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
323 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
326 # Compile software PMD backed by SZEDATA2 device
328 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
331 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
333 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
334 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
335 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
338 # Compile burst-oriented Cavium LiquidIO PMD driver
340 CONFIG_RTE_LIBRTE_LIO_PMD=y
341 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
342 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
343 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
344 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
347 # Compile burst-oriented Cavium OCTEONTX network PMD driver
349 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
352 # Compile WRS accelerated virtual port (AVP) guest PMD driver
354 CONFIG_RTE_LIBRTE_AVP_PMD=n
355 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
356 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
357 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
360 # Compile burst-oriented VIRTIO PMD driver
362 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
363 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
364 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
365 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
368 # Compile virtio device emulation inside virtio PMD driver
370 CONFIG_RTE_VIRTIO_USER=n
373 # Compile burst-oriented VMXNET3 PMD driver
375 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
376 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
377 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
378 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
381 # Compile software PMD backed by AF_PACKET sockets (Linux only)
383 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
386 # Compile link bonding PMD library
388 CONFIG_RTE_LIBRTE_PMD_BOND=y
389 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
390 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
393 # Compile fail-safe PMD
395 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
398 # Compile Marvell PMD driver
400 CONFIG_RTE_LIBRTE_MVPP2_PMD=n
403 # Compile virtual device driver for NetVSC on Hyper-V/Azure
405 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
410 CONFIG_RTE_LIBRTE_PMD_NULL=y
413 # Compile software PMD backed by PCAP files
415 CONFIG_RTE_LIBRTE_PMD_PCAP=n
418 # Compile example software rings based PMD
420 CONFIG_RTE_LIBRTE_PMD_RING=y
421 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
422 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
425 # Compile SOFTNIC PMD
427 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y
430 # Compile the TAP PMD
431 # It is enabled by default for Linux only.
433 CONFIG_RTE_LIBRTE_PMD_TAP=n
436 # Do prefetch of packet data within PMD driver receive function
438 CONFIG_RTE_PMD_PACKET_PREFETCH=y
440 # Compile generic wireless base band device library
441 # EXPERIMENTAL: API may change without prior notice
443 CONFIG_RTE_LIBRTE_BBDEV=y
444 CONFIG_RTE_BBDEV_MAX_DEVS=128
445 CONFIG_RTE_BBDEV_OFFLOAD_COST=n
448 # Compile PMD for NULL bbdev device
450 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
453 # Compile PMD for turbo software bbdev device
455 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
458 # Compile generic crypto device library
460 CONFIG_RTE_LIBRTE_CRYPTODEV=y
461 CONFIG_RTE_CRYPTO_MAX_DEVS=64
464 # Compile PMD for ARMv8 Crypto device
466 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
467 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
470 # Compile NXP DPAA2 crypto sec driver for CAAM HW
472 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
473 CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048
476 # NXP DPAA caam - crypto driver
478 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
479 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
480 CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048
483 # Compile PMD for QuickAssist based devices
485 CONFIG_RTE_LIBRTE_PMD_QAT=n
487 # Max. number of QuickAssist devices, which can be detected and attached
489 CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
492 # Compile PMD for virtio crypto devices
494 CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
496 # Number of maximum virtio crypto devices
498 CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
500 # Number of sessions to create in the session memory pool
501 # on a single virtio crypto device.
503 CONFIG_RTE_VIRTIO_CRYPTO_PMD_MAX_NB_SESSIONS=1024
506 # Compile PMD for AESNI backed device
508 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
509 CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=n
512 # Compile PMD for Software backed device
514 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
517 # Compile PMD for AESNI GCM device
519 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
520 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM_DEBUG=n
523 # Compile PMD for SNOW 3G device
525 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
526 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
529 # Compile PMD for KASUMI device
531 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
532 CONFIG_RTE_LIBRTE_PMD_KASUMI_DEBUG=n
535 # Compile PMD for ZUC device
537 CONFIG_RTE_LIBRTE_PMD_ZUC=n
538 CONFIG_RTE_LIBRTE_PMD_ZUC_DEBUG=n
541 # Compile PMD for Crypto Scheduler device
543 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
546 # Compile PMD for NULL Crypto device
548 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
551 # Compile PMD for AMD CCP crypto device
553 CONFIG_RTE_LIBRTE_PMD_CCP=n
556 # Compile PMD for Marvell Crypto device
558 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
559 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO_DEBUG=n
562 # Compile generic security library
564 CONFIG_RTE_LIBRTE_SECURITY=y
567 # Compile generic compression device library
569 CONFIG_RTE_LIBRTE_COMPRESSDEV=y
570 CONFIG_RTE_COMPRESS_MAX_DEVS=64
573 # Compile compressdev unit test
575 CONFIG_RTE_COMPRESSDEV_TEST=n
578 # Compile PMD for ISA-L compression device
580 CONFIG_RTE_LIBRTE_PMD_ISAL=n
583 # Compile generic event device library
585 CONFIG_RTE_LIBRTE_EVENTDEV=y
586 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
587 CONFIG_RTE_EVENT_MAX_DEVS=16
588 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
589 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
590 CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
593 # Compile PMD for skeleton event device
595 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
596 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
599 # Compile PMD for software event device
601 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
604 # Compile PMD for octeontx sso event device
606 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
609 # Compile PMD for OPDL event device
611 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
614 # Compile PMD for NXP DPAA event device
616 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
619 # Compile PMD for NXP DPAA2 event device
621 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
624 # Compile raw device support
625 # EXPERIMENTAL: API may change without prior notice
627 CONFIG_RTE_LIBRTE_RAWDEV=y
628 CONFIG_RTE_RAWDEV_MAX_DEVS=10
629 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
632 # Compile PMD for NXP DPAA2 CMDIF raw device
634 CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
637 # Compile PMD for NXP DPAA2 QDMA raw device
639 CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
642 # Compile PMD for Intel FPGA raw device
644 CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=y
647 # Compile librte_ring
649 CONFIG_RTE_LIBRTE_RING=y
650 CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
653 # Compile librte_mempool
655 CONFIG_RTE_LIBRTE_MEMPOOL=y
656 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
657 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
660 # Compile Mempool drivers
662 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
663 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
664 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
665 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
668 # Compile PMD for octeontx fpa mempool device
670 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
673 # Compile librte_mbuf
675 CONFIG_RTE_LIBRTE_MBUF=y
676 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
677 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
678 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
679 CONFIG_RTE_PKTMBUF_HEADROOM=128
682 # Compile librte_timer
684 CONFIG_RTE_LIBRTE_TIMER=y
685 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
688 # Compile librte_cfgfile
690 CONFIG_RTE_LIBRTE_CFGFILE=y
693 # Compile librte_cmdline
695 CONFIG_RTE_LIBRTE_CMDLINE=y
696 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
699 # Compile librte_hash
701 CONFIG_RTE_LIBRTE_HASH=y
702 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
707 CONFIG_RTE_LIBRTE_EFD=y
710 # Compile librte_member
712 CONFIG_RTE_LIBRTE_MEMBER=y
715 # Compile librte_jobstats
717 CONFIG_RTE_LIBRTE_JOBSTATS=y
720 # Compile the device metrics library
722 CONFIG_RTE_LIBRTE_METRICS=y
725 # Compile the bitrate statistics library
727 CONFIG_RTE_LIBRTE_BITRATE=y
730 # Compile the latency statistics library
732 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
737 CONFIG_RTE_LIBRTE_LPM=y
738 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
743 CONFIG_RTE_LIBRTE_ACL=y
744 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
747 # Compile librte_power
749 CONFIG_RTE_LIBRTE_POWER=n
750 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
751 CONFIG_RTE_MAX_LCORE_FREQS=64
756 CONFIG_RTE_LIBRTE_NET=y
759 # Compile librte_ip_frag
761 CONFIG_RTE_LIBRTE_IP_FRAG=y
762 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
763 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
764 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
767 # Compile GRO library
769 CONFIG_RTE_LIBRTE_GRO=y
772 # Compile GSO library
774 CONFIG_RTE_LIBRTE_GSO=y
777 # Compile librte_meter
779 CONFIG_RTE_LIBRTE_METER=y
782 # Compile librte_classify
784 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
787 # Compile librte_sched
789 CONFIG_RTE_LIBRTE_SCHED=y
790 CONFIG_RTE_SCHED_DEBUG=n
791 CONFIG_RTE_SCHED_RED=n
792 CONFIG_RTE_SCHED_COLLECT_STATS=n
793 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
794 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
795 CONFIG_RTE_SCHED_VECTOR=n
798 # Compile the distributor library
800 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
803 # Compile the reorder library
805 CONFIG_RTE_LIBRTE_REORDER=y
808 # Compile librte_port
810 CONFIG_RTE_LIBRTE_PORT=y
811 CONFIG_RTE_PORT_STATS_COLLECT=n
812 CONFIG_RTE_PORT_PCAP=n
815 # Compile librte_table
817 CONFIG_RTE_LIBRTE_TABLE=y
818 CONFIG_RTE_TABLE_STATS_COLLECT=n
821 # Compile librte_pipeline
823 CONFIG_RTE_LIBRTE_PIPELINE=y
824 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
829 CONFIG_RTE_LIBRTE_KNI=n
830 CONFIG_RTE_LIBRTE_PMD_KNI=n
831 CONFIG_RTE_KNI_KMOD=n
832 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
833 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
836 # Compile the pdump library
838 CONFIG_RTE_LIBRTE_PDUMP=y
841 # Compile vhost user library
843 CONFIG_RTE_LIBRTE_VHOST=n
844 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
845 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
849 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
851 CONFIG_RTE_LIBRTE_PMD_VHOST=n
855 # To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
858 CONFIG_RTE_LIBRTE_IFC_PMD=n
863 CONFIG_RTE_LIBRTE_BPF=y
864 # allow load BPF from ELF files (requires libelf)
865 CONFIG_RTE_LIBRTE_BPF_ELF=n
868 # Compile the test application
870 CONFIG_RTE_APP_TEST=y
871 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
874 # Compile the procinfo application
876 CONFIG_RTE_PROC_INFO=n
879 # Compile the PMD test application
881 CONFIG_RTE_TEST_PMD=y
882 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
883 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
886 # Compile the bbdev test application
888 CONFIG_RTE_TEST_BBDEV=y
891 # Compile the crypto performance application
893 CONFIG_RTE_APP_CRYPTO_PERF=y
896 # Compile the eventdev application
898 CONFIG_RTE_APP_EVENTDEV=y