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 Marvell MVNETA PMD driver
406 CONFIG_RTE_LIBRTE_MVNETA_PMD=n
409 # Compile support for VMBus library
411 CONFIG_RTE_LIBRTE_VMBUS=n
414 # Compile native PMD for Hyper-V/Azure
416 CONFIG_RTE_LIBRTE_NETVSC_PMD=n
417 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_RX=n
418 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_TX=n
419 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_DUMP=n
422 # Compile virtual device driver for NetVSC on Hyper-V/Azure
424 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
429 CONFIG_RTE_LIBRTE_PMD_NULL=y
432 # Compile software PMD backed by PCAP files
434 CONFIG_RTE_LIBRTE_PMD_PCAP=n
437 # Compile example software rings based PMD
439 CONFIG_RTE_LIBRTE_PMD_RING=y
440 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
441 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
444 # Compile SOFTNIC PMD
446 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=n
449 # Compile the TAP PMD
450 # It is enabled by default for Linux only.
452 CONFIG_RTE_LIBRTE_PMD_TAP=n
455 # Do prefetch of packet data within PMD driver receive function
457 CONFIG_RTE_PMD_PACKET_PREFETCH=y
459 # Compile generic wireless base band device library
460 # EXPERIMENTAL: API may change without prior notice
462 CONFIG_RTE_LIBRTE_BBDEV=y
463 CONFIG_RTE_BBDEV_MAX_DEVS=128
464 CONFIG_RTE_BBDEV_OFFLOAD_COST=n
467 # Compile PMD for NULL bbdev device
469 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
472 # Compile PMD for turbo software bbdev device
474 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
477 # Compile generic crypto device library
479 CONFIG_RTE_LIBRTE_CRYPTODEV=y
480 CONFIG_RTE_CRYPTO_MAX_DEVS=64
483 # Compile PMD for ARMv8 Crypto device
485 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
486 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
489 # Compile NXP DPAA2 crypto sec driver for CAAM HW
491 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
494 # NXP DPAA caam - crypto driver
496 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
497 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
500 # Compile PMD for QuickAssist based devices - see docs for details
502 CONFIG_RTE_LIBRTE_PMD_QAT=y
503 CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n
505 # Max. number of QuickAssist devices, which can be detected and attached
507 CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
508 CONFIG_RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS=16
511 # Compile PMD for virtio crypto devices
513 CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
515 # Number of maximum virtio crypto devices
517 CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
520 # Compile PMD for AESNI backed device
522 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
525 # Compile PMD for Software backed device
527 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
530 # Compile PMD for AESNI GCM device
532 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
535 # Compile PMD for SNOW 3G device
537 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
538 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
541 # Compile PMD for KASUMI device
543 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
546 # Compile PMD for ZUC device
548 CONFIG_RTE_LIBRTE_PMD_ZUC=n
550 # Compile PMD for Crypto Scheduler device
552 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
555 # Compile PMD for NULL Crypto device
557 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
560 # Compile PMD for AMD CCP crypto device
562 CONFIG_RTE_LIBRTE_PMD_CCP=n
565 # Compile PMD for Marvell Crypto device
567 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
568 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO_DEBUG=n
571 # Compile generic security library
573 CONFIG_RTE_LIBRTE_SECURITY=y
576 # Compile generic compression device library
578 CONFIG_RTE_LIBRTE_COMPRESSDEV=y
579 CONFIG_RTE_COMPRESS_MAX_DEVS=64
582 # Compile compressdev unit test
584 CONFIG_RTE_COMPRESSDEV_TEST=n
587 # Compile PMD for Octeontx ZIPVF compression device
589 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF=y
592 # Compile PMD for ISA-L compression device
594 CONFIG_RTE_LIBRTE_PMD_ISAL=n
597 # Compile PMD for ZLIB compression device
599 CONFIG_RTE_LIBRTE_PMD_ZLIB=n
602 # Compile generic event device library
604 CONFIG_RTE_LIBRTE_EVENTDEV=y
605 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
606 CONFIG_RTE_EVENT_MAX_DEVS=16
607 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
608 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
609 CONFIG_RTE_EVENT_ETH_INTR_RING_SIZE=1024
610 CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
611 CONFIG_RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE=32
614 # Compile PMD for skeleton event device
616 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
617 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
620 # Compile PMD for software event device
622 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
625 # Compile PMD for distributed software event device
627 CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV=y
630 # Compile PMD for octeontx sso event device
632 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
635 # Compile PMD for OPDL event device
637 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
640 # Compile PMD for NXP DPAA event device
642 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
645 # Compile PMD for NXP DPAA2 event device
647 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
650 # Compile raw device support
651 # EXPERIMENTAL: API may change without prior notice
653 CONFIG_RTE_LIBRTE_RAWDEV=y
654 CONFIG_RTE_RAWDEV_MAX_DEVS=10
655 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
658 # Compile PMD for NXP DPAA2 CMDIF raw device
660 CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
663 # Compile PMD for NXP DPAA2 QDMA raw device
665 CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
668 # Compile PMD for Intel FPGA raw device
670 CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=y
673 # Compile librte_ring
675 CONFIG_RTE_LIBRTE_RING=y
676 CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
679 # Compile librte_mempool
681 CONFIG_RTE_LIBRTE_MEMPOOL=y
682 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
683 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
686 # Compile Mempool drivers
688 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
689 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
690 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
691 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
694 # Compile PMD for octeontx fpa mempool device
696 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
699 # Compile librte_mbuf
701 CONFIG_RTE_LIBRTE_MBUF=y
702 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
703 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
704 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
705 CONFIG_RTE_PKTMBUF_HEADROOM=128
708 # Compile librte_timer
710 CONFIG_RTE_LIBRTE_TIMER=y
711 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
714 # Compile librte_cfgfile
716 CONFIG_RTE_LIBRTE_CFGFILE=y
719 # Compile librte_cmdline
721 CONFIG_RTE_LIBRTE_CMDLINE=y
722 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
725 # Compile librte_hash
727 CONFIG_RTE_LIBRTE_HASH=y
728 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
733 CONFIG_RTE_LIBRTE_EFD=y
736 # Compile librte_member
738 CONFIG_RTE_LIBRTE_MEMBER=y
741 # Compile librte_jobstats
743 CONFIG_RTE_LIBRTE_JOBSTATS=y
746 # Compile the device metrics library
748 CONFIG_RTE_LIBRTE_METRICS=y
751 # Compile the bitrate statistics library
753 CONFIG_RTE_LIBRTE_BITRATE=y
756 # Compile the latency statistics library
758 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
763 CONFIG_RTE_LIBRTE_LPM=y
764 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
769 CONFIG_RTE_LIBRTE_ACL=y
770 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
773 # Compile librte_power
775 CONFIG_RTE_LIBRTE_POWER=n
776 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
777 CONFIG_RTE_MAX_LCORE_FREQS=64
782 CONFIG_RTE_LIBRTE_NET=y
785 # Compile librte_ip_frag
787 CONFIG_RTE_LIBRTE_IP_FRAG=y
788 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
789 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
790 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
793 # Compile GRO library
795 CONFIG_RTE_LIBRTE_GRO=y
798 # Compile GSO library
800 CONFIG_RTE_LIBRTE_GSO=y
803 # Compile librte_meter
805 CONFIG_RTE_LIBRTE_METER=y
808 # Compile librte_classify
810 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
813 # Compile librte_sched
815 CONFIG_RTE_LIBRTE_SCHED=y
816 CONFIG_RTE_SCHED_DEBUG=n
817 CONFIG_RTE_SCHED_RED=n
818 CONFIG_RTE_SCHED_COLLECT_STATS=n
819 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
820 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
821 CONFIG_RTE_SCHED_VECTOR=n
824 # Compile the distributor library
826 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
829 # Compile the reorder library
831 CONFIG_RTE_LIBRTE_REORDER=y
834 # Compile librte_port
836 CONFIG_RTE_LIBRTE_PORT=y
837 CONFIG_RTE_PORT_STATS_COLLECT=n
838 CONFIG_RTE_PORT_PCAP=n
841 # Compile librte_table
843 CONFIG_RTE_LIBRTE_TABLE=y
844 CONFIG_RTE_TABLE_STATS_COLLECT=n
847 # Compile librte_pipeline
849 CONFIG_RTE_LIBRTE_PIPELINE=y
850 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
855 CONFIG_RTE_LIBRTE_KNI=n
856 CONFIG_RTE_LIBRTE_PMD_KNI=n
857 CONFIG_RTE_KNI_KMOD=n
858 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
859 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
862 # Compile the pdump library
864 CONFIG_RTE_LIBRTE_PDUMP=y
867 # Compile vhost user library
869 CONFIG_RTE_LIBRTE_VHOST=n
870 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
871 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
875 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
877 CONFIG_RTE_LIBRTE_PMD_VHOST=n
881 # To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
884 CONFIG_RTE_LIBRTE_IFC_PMD=n
889 CONFIG_RTE_LIBRTE_BPF=y
890 # allow load BPF from ELF files (requires libelf)
891 CONFIG_RTE_LIBRTE_BPF_ELF=n
894 # Compile the test application
896 CONFIG_RTE_APP_TEST=y
897 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
900 # Compile the procinfo application
902 CONFIG_RTE_PROC_INFO=n
905 # Compile the PMD test application
907 CONFIG_RTE_TEST_PMD=y
908 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
909 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
912 # Compile the bbdev test application
914 CONFIG_RTE_TEST_BBDEV=y
917 # Compile the crypto performance application
919 CONFIG_RTE_APP_CRYPTO_PERF=y
922 # Compile the eventdev application
924 CONFIG_RTE_APP_EVENTDEV=y