3 # Copyright(c) 2010-2017 Intel Corporation. All rights reserved.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
10 # * Redistributions of source code must retain the above copyright
11 # notice, this list of conditions and the following disclaimer.
12 # * Redistributions in binary form must reproduce the above copyright
13 # notice, this list of conditions and the following disclaimer in
14 # the documentation and/or other materials provided with the
16 # * Neither the name of Intel Corporation nor the names of its
17 # contributors may be used to endorse or promote products derived
18 # from this software without specific prior written permission.
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 # define executive environment
35 # RTE_EXEC_ENV values are the directories in mk/exec-env/
40 # define the architecture we compile for.
41 # RTE_ARCH values are the directories in mk/arch/
46 # machine can define specific variables or action for a specific board
47 # RTE_MACHINE values are the directories in mk/machine/
52 # The compiler we use.
53 # RTE_TOOLCHAIN values are the directories in mk/toolchain/
58 # Use intrinsics or assembly code for key routines
60 CONFIG_RTE_FORCE_INTRINSICS=n
63 # Machine forces strict alignment constraints.
65 CONFIG_RTE_ARCH_STRICT_ALIGN=n
68 # Compile to share library
70 CONFIG_RTE_BUILD_SHARED_LIB=n
73 # Use newest code breaking previous ABI
78 # Major ABI to overwrite library specific LIBABIVER
83 # Machine's cache line size
85 CONFIG_RTE_CACHE_LINE_SIZE=64
88 # Compile Environment Abstraction Layer
90 CONFIG_RTE_LIBRTE_EAL=y
91 CONFIG_RTE_MAX_LCORE=128
92 CONFIG_RTE_MAX_NUMA_NODES=8
93 CONFIG_RTE_MAX_MEMSEG=256
94 CONFIG_RTE_MAX_MEMZONE=2560
95 CONFIG_RTE_MAX_TAILQ=32
96 CONFIG_RTE_ENABLE_ASSERT=n
97 CONFIG_RTE_LOG_LEVEL=RTE_LOG_INFO
98 CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
99 CONFIG_RTE_LOG_HISTORY=256
100 CONFIG_RTE_BACKTRACE=y
101 CONFIG_RTE_LIBEAL_USE_HPET=n
102 CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
103 CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
104 CONFIG_RTE_EAL_IGB_UIO=n
105 CONFIG_RTE_EAL_VFIO=n
106 CONFIG_RTE_MALLOC_DEBUG=n
107 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
110 # Recognize/ignore the AVX/AVX512 CPU flags for performance/power testing.
111 # AVX512 is marked as experimental for now, will enable it after enough
112 # field test and possible optimization.
114 CONFIG_RTE_ENABLE_AVX=y
115 CONFIG_RTE_ENABLE_AVX512=n
117 # Default driver path (or "" to disable)
118 CONFIG_RTE_EAL_PMD_PATH=""
121 # Compile Environment Abstraction Layer to support Vmware TSC map
123 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
126 # Compile the PCI library
128 CONFIG_RTE_LIBRTE_PCI=y
131 # Compile the argument parser library
133 CONFIG_RTE_LIBRTE_KVARGS=y
136 # Compile generic ethernet library
138 CONFIG_RTE_LIBRTE_ETHER=y
139 CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
140 CONFIG_RTE_MAX_ETHPORTS=32
141 CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
142 CONFIG_RTE_LIBRTE_IEEE1588=n
143 CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
144 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
145 CONFIG_RTE_ETHDEV_PROFILE_ITT_WASTED_RX_ITERATIONS=n
148 # Turn off Tx preparation stage
150 # Warning: rte_eth_tx_prepare() can be safely disabled only if using a
151 # driver which do not implement any Tx preparation.
153 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
156 # Compile PCI bus driver
158 CONFIG_RTE_LIBRTE_PCI_BUS=y
161 # Compile the vdev bus
163 CONFIG_RTE_LIBRTE_VDEV_BUS=y
166 # Compile burst-oriented Amazon ENA PMD driver
168 CONFIG_RTE_LIBRTE_ENA_PMD=y
169 CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
170 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
171 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
172 CONFIG_RTE_LIBRTE_ENA_DEBUG_DRIVER=n
173 CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
176 # Compile burst-oriented IGB & EM PMD drivers
178 CONFIG_RTE_LIBRTE_EM_PMD=y
179 CONFIG_RTE_LIBRTE_IGB_PMD=y
180 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
181 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
182 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
183 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
186 # Compile burst-oriented IXGBE PMD driver
188 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
189 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
190 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
191 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
192 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
193 CONFIG_RTE_IXGBE_INC_VECTOR=y
194 CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
197 # Compile burst-oriented I40E PMD driver
199 CONFIG_RTE_LIBRTE_I40E_PMD=y
200 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
201 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
202 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
203 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
204 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
205 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
206 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
207 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4
208 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
209 # interval up to 8160 us, aligned to 2 (or default value)
210 CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
213 # Compile burst-oriented FM10K PMD
215 CONFIG_RTE_LIBRTE_FM10K_PMD=y
216 CONFIG_RTE_LIBRTE_FM10K_DEBUG_INIT=n
217 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
218 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
219 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
220 CONFIG_RTE_LIBRTE_FM10K_DEBUG_DRIVER=n
221 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
222 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
225 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
227 CONFIG_RTE_LIBRTE_MLX4_PMD=n
228 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
229 CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=8
232 # Compile burst-oriented Mellanox ConnectX-4 & ConnectX-5 (MLX5) PMD
234 CONFIG_RTE_LIBRTE_MLX5_PMD=n
235 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
236 CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=8
239 # Compile burst-oriented Broadcom PMD driver
241 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
242 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
243 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
244 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
245 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
248 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
250 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
251 CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
252 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
253 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
254 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
255 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
256 CONFIG_RTE_LIBRTE_CXGBE_TPUT=y
259 # Compile burst-oriented Cisco ENIC PMD driver
261 CONFIG_RTE_LIBRTE_ENIC_PMD=y
262 CONFIG_RTE_LIBRTE_ENIC_DEBUG=n
263 CONFIG_RTE_LIBRTE_ENIC_DEBUG_FLOW=n
266 # Compile burst-oriented Netronome NFP PMD driver
268 CONFIG_RTE_LIBRTE_NFP_PMD=n
269 CONFIG_RTE_LIBRTE_NFP_DEBUG=n
272 # Compile Marvell PMD driver
274 CONFIG_RTE_LIBRTE_MRVL_PMD=n
277 # Compile burst-oriented Broadcom BNXT PMD driver
279 CONFIG_RTE_LIBRTE_BNXT_PMD=y
282 # Compile burst-oriented Solarflare libefx-based PMD
284 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
285 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
288 # Compile SOFTNIC PMD
290 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y
293 # Compile software PMD backed by SZEDATA2 device
295 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
297 # Defines firmware type address space.
298 # See documentation for supported values.
299 # Other values raise compile time error.
300 CONFIG_RTE_LIBRTE_PMD_SZEDATA2_AS=0
303 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
305 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
306 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_INIT=n
307 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
308 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
309 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_DRIVER=n
310 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_MBOX=n
313 # Compile burst-oriented Cavium LiquidIO PMD driver
315 CONFIG_RTE_LIBRTE_LIO_PMD=y
316 CONFIG_RTE_LIBRTE_LIO_DEBUG_DRIVER=n
317 CONFIG_RTE_LIBRTE_LIO_DEBUG_INIT=n
318 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
319 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
320 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
321 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
324 CONFIG_RTE_LIBRTE_DPAA_BUS=n
325 CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
326 CONFIG_RTE_LIBRTE_DPAA_PMD=n
329 # Compile burst-oriented Cavium OCTEONTX network PMD driver
331 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
332 CONFIG_RTE_LIBRTE_OCTEONTX_DEBUG_INIT=n
333 CONFIG_RTE_LIBRTE_OCTEONTX_DEBUG_RX=n
334 CONFIG_RTE_LIBRTE_OCTEONTX_DEBUG_TX=n
335 CONFIG_RTE_LIBRTE_OCTEONTX_DEBUG_DRIVER=n
336 CONFIG_RTE_LIBRTE_OCTEONTX_DEBUG_MBOX=n
339 # Compile NXP DPAA2 FSL-MC Bus
341 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
344 # Compile Support Libraries for NXP DPAA2
346 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
347 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
350 # Compile burst-oriented NXP DPAA2 PMD driver
352 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
353 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_INIT=n
354 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
355 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_RX=n
356 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_TX=n
357 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_TX_FREE=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 example software rings based PMD
383 CONFIG_RTE_LIBRTE_PMD_RING=y
384 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
385 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
388 # Compile software PMD backed by PCAP files
390 CONFIG_RTE_LIBRTE_PMD_PCAP=n
393 # Compile link bonding PMD library
395 CONFIG_RTE_LIBRTE_PMD_BOND=y
396 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
397 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
399 # QLogic 10G/25G/40G/50G/100G PMD
401 CONFIG_RTE_LIBRTE_QEDE_PMD=y
402 CONFIG_RTE_LIBRTE_QEDE_DEBUG_INIT=n
403 CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO=n
404 CONFIG_RTE_LIBRTE_QEDE_DEBUG_DRIVER=n
405 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
406 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
407 CONFIG_RTE_LIBRTE_QEDE_VF_TX_SWITCH=y
408 #Provides abs path/name of the firmware file.
409 #Empty string denotes driver will use default firmware
410 CONFIG_RTE_LIBRTE_QEDE_FW=""
413 # Compile software PMD backed by AF_PACKET sockets (Linux only)
415 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
420 CONFIG_RTE_LIBRTE_ARK_PMD=y
421 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
422 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
423 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
424 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
425 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
428 # Compile WRS accelerated virtual port (AVP) guest PMD driver
430 CONFIG_RTE_LIBRTE_AVP_PMD=n
431 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
432 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
433 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
436 # Compile the TAP PMD
437 # It is enabled by default for Linux only.
439 CONFIG_RTE_LIBRTE_PMD_TAP=n
444 CONFIG_RTE_LIBRTE_PMD_NULL=y
447 # Compile fail-safe PMD
449 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
452 # Do prefetch of packet data within PMD driver receive function
454 CONFIG_RTE_PMD_PACKET_PREFETCH=y
457 # Compile generic crypto device library
459 CONFIG_RTE_LIBRTE_CRYPTODEV=y
460 CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=n
461 CONFIG_RTE_CRYPTO_MAX_DEVS=64
462 CONFIG_RTE_CRYPTODEV_NAME_LEN=64
465 # Compile PMD for ARMv8 Crypto device
467 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
468 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
471 # Compile NXP DPAA2 crypto sec driver for CAAM HW
473 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
474 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_INIT=n
475 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_DRIVER=n
476 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_RX=n
479 # NXP DPAA caam - crypto driver
481 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
482 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_INIT=n
483 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_DRIVER=n
484 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_RX=n
487 # Compile PMD for QuickAssist based devices
489 CONFIG_RTE_LIBRTE_PMD_QAT=n
490 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_INIT=n
491 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_TX=n
492 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_RX=n
493 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=n
495 # Number of sessions to create in the session memory pool
496 # on a single QuickAssist device.
498 CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=2048
501 # Compile PMD for AESNI backed device
503 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
504 CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=n
507 # Compile PMD for Software backed device
509 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
510 CONFIG_RTE_LIBRTE_PMD_OPENSSL_DEBUG=n
513 # Compile PMD for AESNI GCM device
515 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
516 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM_DEBUG=n
519 # Compile PMD for SNOW 3G device
521 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
522 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
525 # Compile PMD for KASUMI device
527 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
528 CONFIG_RTE_LIBRTE_PMD_KASUMI_DEBUG=n
531 # Compile PMD for ZUC device
533 CONFIG_RTE_LIBRTE_PMD_ZUC=n
534 CONFIG_RTE_LIBRTE_PMD_ZUC_DEBUG=n
537 # Compile PMD for Crypto Scheduler device
539 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
540 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n
543 # Compile PMD for NULL Crypto device
545 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
548 # Compile PMD for Marvell Crypto device
550 CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO=n
551 CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO_DEBUG=n
554 # Compile generic security library
556 CONFIG_RTE_LIBRTE_SECURITY=y
559 # Compile generic event device library
561 CONFIG_RTE_LIBRTE_EVENTDEV=y
562 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
563 CONFIG_RTE_EVENT_MAX_DEVS=16
564 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
567 # Compile PMD for skeleton event device
569 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
570 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
573 # Compile PMD for software event device
575 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
576 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV_DEBUG=n
579 # Compile PMD for octeontx sso event device
581 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
582 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF_DEBUG=n
585 # Compile librte_ring
587 CONFIG_RTE_LIBRTE_RING=y
590 # Compile librte_mempool
592 CONFIG_RTE_LIBRTE_MEMPOOL=y
593 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
594 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
597 # Compile Mempool drivers
599 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
600 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
603 # Compile PMD for octeontx fpa mempool device
605 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
606 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL_DEBUG=n
609 # Compile librte_mbuf
611 CONFIG_RTE_LIBRTE_MBUF=y
612 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
613 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
614 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
615 CONFIG_RTE_PKTMBUF_HEADROOM=128
618 # Compile librte_timer
620 CONFIG_RTE_LIBRTE_TIMER=y
621 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
624 # Compile librte_cfgfile
626 CONFIG_RTE_LIBRTE_CFGFILE=y
629 # Compile librte_cmdline
631 CONFIG_RTE_LIBRTE_CMDLINE=y
632 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
635 # Compile librte_hash
637 CONFIG_RTE_LIBRTE_HASH=y
638 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
643 CONFIG_RTE_LIBRTE_EFD=y
646 # Compile librte_member
648 CONFIG_RTE_LIBRTE_MEMBER=y
651 # Compile librte_jobstats
653 CONFIG_RTE_LIBRTE_JOBSTATS=y
656 # Compile the device metrics library
658 CONFIG_RTE_LIBRTE_METRICS=y
661 # Compile the bitrate statistics library
663 CONFIG_RTE_LIBRTE_BITRATE=y
666 # Compile the latency statistics library
668 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
673 CONFIG_RTE_LIBRTE_LPM=y
674 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
679 CONFIG_RTE_LIBRTE_ACL=y
680 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
683 # Compile librte_power
685 CONFIG_RTE_LIBRTE_POWER=n
686 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
687 CONFIG_RTE_MAX_LCORE_FREQS=64
692 CONFIG_RTE_LIBRTE_NET=y
695 # Compile librte_ip_frag
697 CONFIG_RTE_LIBRTE_IP_FRAG=y
698 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
699 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
700 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
703 # Compile GRO library
705 CONFIG_RTE_LIBRTE_GRO=y
708 # Compile GSO library
710 CONFIG_RTE_LIBRTE_GSO=y
713 # Compile librte_meter
715 CONFIG_RTE_LIBRTE_METER=y
718 # Compile librte_classify
720 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
723 # Compile librte_sched
725 CONFIG_RTE_LIBRTE_SCHED=y
726 CONFIG_RTE_SCHED_DEBUG=n
727 CONFIG_RTE_SCHED_RED=n
728 CONFIG_RTE_SCHED_COLLECT_STATS=n
729 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
730 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
731 CONFIG_RTE_SCHED_VECTOR=n
734 # Compile the distributor library
736 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
739 # Compile the reorder library
741 CONFIG_RTE_LIBRTE_REORDER=y
744 # Compile librte_port
746 CONFIG_RTE_LIBRTE_PORT=y
747 CONFIG_RTE_PORT_STATS_COLLECT=n
748 CONFIG_RTE_PORT_PCAP=n
751 # Compile librte_table
753 CONFIG_RTE_LIBRTE_TABLE=y
754 CONFIG_RTE_TABLE_STATS_COLLECT=n
757 # Compile librte_pipeline
759 CONFIG_RTE_LIBRTE_PIPELINE=y
760 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
765 CONFIG_RTE_LIBRTE_KNI=n
766 CONFIG_RTE_LIBRTE_PMD_KNI=n
767 CONFIG_RTE_KNI_KMOD=n
768 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
769 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
772 # Compile the pdump library
774 CONFIG_RTE_LIBRTE_PDUMP=y
777 # Compile vhost user library
779 CONFIG_RTE_LIBRTE_VHOST=n
780 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
781 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
785 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
787 CONFIG_RTE_LIBRTE_PMD_VHOST=n
790 # Compile the test application
792 CONFIG_RTE_APP_TEST=y
793 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
796 # Compile the PMD test application
798 CONFIG_RTE_TEST_PMD=y
799 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
800 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
803 # Compile the crypto performance application
805 CONFIG_RTE_APP_CRYPTO_PERF=y
808 # Compile the eventdev application
810 CONFIG_RTE_APP_EVENTDEV=y