common/dpaax: add library for PA/VA translation table
[dpdk.git] / config / common_base
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2017 Intel Corporation
3
4 #
5 # define executive environment
6 # RTE_EXEC_ENV values are the directories in mk/exec-env/
7 #
8 CONFIG_RTE_EXEC_ENV=
9
10 #
11 # define the architecture we compile for.
12 # RTE_ARCH values are the directories in mk/arch/
13 #
14 CONFIG_RTE_ARCH=
15
16 #
17 # machine can define specific variables or action for a specific board
18 # RTE_MACHINE values are the directories in mk/machine/
19 #
20 CONFIG_RTE_MACHINE=
21
22 #
23 # The compiler we use.
24 # RTE_TOOLCHAIN values are the directories in mk/toolchain/
25 #
26 CONFIG_RTE_TOOLCHAIN=
27
28 #
29 # Use intrinsics or assembly code for key routines
30 #
31 CONFIG_RTE_FORCE_INTRINSICS=n
32
33 #
34 # Machine forces strict alignment constraints.
35 #
36 CONFIG_RTE_ARCH_STRICT_ALIGN=n
37
38 #
39 # Compile to share library
40 #
41 CONFIG_RTE_BUILD_SHARED_LIB=n
42
43 #
44 # Use newest code breaking previous ABI
45 #
46 CONFIG_RTE_NEXT_ABI=y
47
48 #
49 # Major ABI to overwrite library specific LIBABIVER
50 #
51 CONFIG_RTE_MAJOR_ABI=
52
53 #
54 # Machine's cache line size
55 #
56 CONFIG_RTE_CACHE_LINE_SIZE=64
57
58 #
59 # Compile Environment Abstraction Layer
60 #
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
89 CONFIG_RTE_EAL_VFIO=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
95
96 #
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.
100 #
101 CONFIG_RTE_ENABLE_AVX=y
102 CONFIG_RTE_ENABLE_AVX512=n
103
104 # Default driver path (or "" to disable)
105 CONFIG_RTE_EAL_PMD_PATH=""
106
107 #
108 # Compile Environment Abstraction Layer to support Vmware TSC map
109 #
110 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
111
112 #
113 # Compile the PCI library
114 #
115 CONFIG_RTE_LIBRTE_PCI=y
116
117 #
118 # Compile the argument parser library
119 #
120 CONFIG_RTE_LIBRTE_KVARGS=y
121
122 #
123 # Compile generic ethernet library
124 #
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
133
134 #
135 # Turn off Tx preparation stage
136 #
137 # Warning: rte_eth_tx_prepare() can be safely disabled only if using a
138 # driver which do not implement any Tx preparation.
139 #
140 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
141
142 #
143 # Common libraries, before Bus/PMDs
144 #
145 CONFIG_RTE_LIBRTE_COMMON_DPAAX=n
146
147 #
148 # Compile the Intel FPGA bus
149 #
150 CONFIG_RTE_LIBRTE_IFPGA_BUS=y
151
152 #
153 # Compile PCI bus driver
154 #
155 CONFIG_RTE_LIBRTE_PCI_BUS=y
156
157 #
158 # Compile the vdev bus
159 #
160 CONFIG_RTE_LIBRTE_VDEV_BUS=y
161
162 #
163 # Compile ARK PMD
164 #
165 CONFIG_RTE_LIBRTE_ARK_PMD=y
166 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
167 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
168 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
169 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
170 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
171
172 #
173 # Compile AMD PMD
174 #
175 CONFIG_RTE_LIBRTE_AXGBE_PMD=y
176 CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG=n
177
178 #
179 # Compile burst-oriented Broadcom PMD driver
180 #
181 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
182 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
183 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
184 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
185 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
186
187 #
188 # Compile burst-oriented Broadcom BNXT PMD driver
189 #
190 CONFIG_RTE_LIBRTE_BNXT_PMD=y
191
192 #
193 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
194 #
195 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
196 CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
197 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
198 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
199 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
200 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
201 CONFIG_RTE_LIBRTE_CXGBE_TPUT=y
202
203 # NXP DPAA Bus
204 CONFIG_RTE_LIBRTE_DPAA_BUS=n
205 CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
206 CONFIG_RTE_LIBRTE_DPAA_PMD=n
207 CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
208
209 #
210 # Compile NXP DPAA2 FSL-MC Bus
211 #
212 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
213
214 #
215 # Compile Support Libraries for NXP DPAA2
216 #
217 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
218 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
219
220 #
221 # Compile burst-oriented NXP DPAA2 PMD driver
222 #
223 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
224 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
225
226 #
227 # Compile NXP ENETC PMD Driver
228 #
229 CONFIG_RTE_LIBRTE_ENETC_PMD=n
230
231 #
232 # Compile burst-oriented Amazon ENA PMD driver
233 #
234 CONFIG_RTE_LIBRTE_ENA_PMD=y
235 CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
236 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
237 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
238 CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
239
240 #
241 # Compile burst-oriented Cisco ENIC PMD driver
242 #
243 CONFIG_RTE_LIBRTE_ENIC_PMD=y
244
245 #
246 # Compile burst-oriented IGB & EM PMD drivers
247 #
248 CONFIG_RTE_LIBRTE_EM_PMD=y
249 CONFIG_RTE_LIBRTE_IGB_PMD=y
250 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
251 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
252 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
253 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
254
255 #
256 # Compile burst-oriented IXGBE PMD driver
257 #
258 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
259 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
260 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
261 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
262 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
263 CONFIG_RTE_IXGBE_INC_VECTOR=y
264 CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
265
266 #
267 # Compile burst-oriented I40E PMD driver
268 #
269 CONFIG_RTE_LIBRTE_I40E_PMD=y
270 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
271 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
272 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
273 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
274 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
275 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
276 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
277 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
278
279 #
280 # Compile burst-oriented FM10K PMD
281 #
282 CONFIG_RTE_LIBRTE_FM10K_PMD=y
283 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
284 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
285 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
286 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
287 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
288
289 #
290 # Compile burst-oriented AVF PMD driver
291 #
292 CONFIG_RTE_LIBRTE_AVF_PMD=y
293 CONFIG_RTE_LIBRTE_AVF_INC_VECTOR=y
294 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX=n
295 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX_FREE=n
296 CONFIG_RTE_LIBRTE_AVF_DEBUG_RX=n
297 CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
298
299 #
300 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
301 #
302 CONFIG_RTE_LIBRTE_MLX4_PMD=n
303 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
304 CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
305
306 #
307 # Compile burst-oriented Mellanox ConnectX-4, ConnectX-5 & Bluefield
308 # (MLX5) PMD
309 #
310 CONFIG_RTE_LIBRTE_MLX5_PMD=n
311 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
312 CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
313
314 #
315 # Compile burst-oriented Netronome NFP PMD driver
316 #
317 CONFIG_RTE_LIBRTE_NFP_PMD=n
318 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
319 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
320
321 # QLogic 10G/25G/40G/50G/100G PMD
322 #
323 CONFIG_RTE_LIBRTE_QEDE_PMD=y
324 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
325 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
326 #Provides abs path/name of the firmware file.
327 #Empty string denotes driver will use default firmware
328 CONFIG_RTE_LIBRTE_QEDE_FW=""
329
330 #
331 # Compile burst-oriented Solarflare libefx-based PMD
332 #
333 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
334 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
335
336 #
337 # Compile software PMD backed by SZEDATA2 device
338 #
339 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
340
341 #
342 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
343 #
344 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
345 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
346 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
347
348 #
349 # Compile burst-oriented Cavium LiquidIO PMD driver
350 #
351 CONFIG_RTE_LIBRTE_LIO_PMD=y
352 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
353 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
354 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
355 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
356
357 #
358 # Compile burst-oriented Cavium OCTEONTX network PMD driver
359 #
360 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
361
362 #
363 # Compile WRS accelerated virtual port (AVP) guest PMD driver
364 #
365 CONFIG_RTE_LIBRTE_AVP_PMD=n
366 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
367 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
368 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
369
370 #
371 # Compile burst-oriented VIRTIO PMD driver
372 #
373 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
374 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
375 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
376 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
377
378 #
379 # Compile virtio device emulation inside virtio PMD driver
380 #
381 CONFIG_RTE_VIRTIO_USER=n
382
383 #
384 # Compile burst-oriented VMXNET3 PMD driver
385 #
386 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
387 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
388 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
389 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
390
391 #
392 # Compile software PMD backed by AF_PACKET sockets (Linux only)
393 #
394 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
395
396 #
397 # Compile link bonding PMD library
398 #
399 CONFIG_RTE_LIBRTE_PMD_BOND=y
400 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
401 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
402
403 #
404 # Compile fail-safe PMD
405 #
406 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
407
408 #
409 # Compile Marvell PMD driver
410 #
411 CONFIG_RTE_LIBRTE_MVPP2_PMD=n
412
413 #
414 # Compile Marvell MVNETA PMD driver
415 #
416 CONFIG_RTE_LIBRTE_MVNETA_PMD=n
417
418 #
419 # Compile support for VMBus library
420 #
421 CONFIG_RTE_LIBRTE_VMBUS=n
422
423 #
424 # Compile native PMD for Hyper-V/Azure
425 #
426 CONFIG_RTE_LIBRTE_NETVSC_PMD=n
427 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_RX=n
428 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_TX=n
429 CONFIG_RTE_LIBRTE_NETVSC_DEBUG_DUMP=n
430
431 #
432 # Compile virtual device driver for NetVSC on Hyper-V/Azure
433 #
434 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
435
436 #
437 # Compile null PMD
438 #
439 CONFIG_RTE_LIBRTE_PMD_NULL=y
440
441 #
442 # Compile software PMD backed by PCAP files
443 #
444 CONFIG_RTE_LIBRTE_PMD_PCAP=n
445
446 #
447 # Compile example software rings based PMD
448 #
449 CONFIG_RTE_LIBRTE_PMD_RING=y
450 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
451 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
452
453 #
454 # Compile SOFTNIC PMD
455 #
456 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=n
457
458 #
459 # Compile the TAP PMD
460 # It is enabled by default for Linux only.
461 #
462 CONFIG_RTE_LIBRTE_PMD_TAP=n
463
464 #
465 # Do prefetch of packet data within PMD driver receive function
466 #
467 CONFIG_RTE_PMD_PACKET_PREFETCH=y
468
469 # Compile generic wireless base band device library
470 # EXPERIMENTAL: API may change without prior notice
471 #
472 CONFIG_RTE_LIBRTE_BBDEV=y
473 CONFIG_RTE_BBDEV_MAX_DEVS=128
474 CONFIG_RTE_BBDEV_OFFLOAD_COST=n
475
476 #
477 # Compile PMD for NULL bbdev device
478 #
479 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
480
481 #
482 # Compile PMD for turbo software bbdev device
483 #
484 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
485
486 #
487 # Compile generic crypto device library
488 #
489 CONFIG_RTE_LIBRTE_CRYPTODEV=y
490 CONFIG_RTE_CRYPTO_MAX_DEVS=64
491
492 #
493 # Compile PMD for ARMv8 Crypto device
494 #
495 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
496 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
497
498 #
499 # Compile NXP DPAA2 crypto sec driver for CAAM HW
500 #
501 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
502
503 #
504 # NXP DPAA caam - crypto driver
505 #
506 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
507 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
508
509 #
510 # Compile PMD for QuickAssist based devices - see docs for details
511 #
512 CONFIG_RTE_LIBRTE_PMD_QAT=y
513 CONFIG_RTE_LIBRTE_PMD_QAT_SYM=n
514 #
515 # Max. number of QuickAssist devices, which can be detected and attached
516 #
517 CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
518 CONFIG_RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS=16
519
520 #
521 # Compile PMD for virtio crypto devices
522 #
523 CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
524 #
525 # Number of maximum virtio crypto devices
526 #
527 CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
528
529 #
530 # Compile PMD for AESNI backed device
531 #
532 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
533
534 #
535 # Compile PMD for Software backed device
536 #
537 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
538
539 #
540 # Compile PMD for AESNI GCM device
541 #
542 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
543
544 #
545 # Compile PMD for SNOW 3G device
546 #
547 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
548 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
549
550 #
551 # Compile PMD for KASUMI device
552 #
553 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
554
555 #
556 # Compile PMD for ZUC device
557 #
558 CONFIG_RTE_LIBRTE_PMD_ZUC=n
559
560 # Compile PMD for Crypto Scheduler device
561 #
562 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
563
564 #
565 # Compile PMD for NULL Crypto device
566 #
567 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
568
569 #
570 # Compile PMD for AMD CCP crypto device
571 #
572 CONFIG_RTE_LIBRTE_PMD_CCP=n
573
574 #
575 # Compile PMD for Marvell Crypto device
576 #
577 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
578 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO_DEBUG=n
579
580 #
581 # Compile generic security library
582 #
583 CONFIG_RTE_LIBRTE_SECURITY=y
584
585 #
586 # Compile generic compression device library
587 #
588 CONFIG_RTE_LIBRTE_COMPRESSDEV=y
589 CONFIG_RTE_COMPRESS_MAX_DEVS=64
590
591 #
592 # Compile compressdev unit test
593 #
594 CONFIG_RTE_COMPRESSDEV_TEST=n
595
596 #
597 # Compile PMD for Octeontx ZIPVF compression device
598 #
599 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_ZIPVF=y
600
601 #
602 # Compile PMD for ISA-L compression device
603 #
604 CONFIG_RTE_LIBRTE_PMD_ISAL=n
605
606 #
607 # Compile PMD for ZLIB compression device
608 #
609 CONFIG_RTE_LIBRTE_PMD_ZLIB=n
610
611 #
612 # Compile generic event device library
613 #
614 CONFIG_RTE_LIBRTE_EVENTDEV=y
615 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
616 CONFIG_RTE_EVENT_MAX_DEVS=16
617 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
618 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
619 CONFIG_RTE_EVENT_ETH_INTR_RING_SIZE=1024
620 CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
621 CONFIG_RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE=32
622
623 #
624 # Compile PMD for skeleton event device
625 #
626 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
627 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
628
629 #
630 # Compile PMD for software event device
631 #
632 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
633
634 #
635 # Compile PMD for distributed software event device
636 #
637 CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV=y
638
639 #
640 # Compile PMD for octeontx sso event device
641 #
642 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
643
644 #
645 # Compile PMD for OPDL event device
646 #
647 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
648
649 #
650 # Compile PMD for NXP DPAA event device
651 #
652 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
653
654 #
655 # Compile PMD for NXP DPAA2 event device
656 #
657 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
658
659 #
660 # Compile raw device support
661 # EXPERIMENTAL: API may change without prior notice
662 #
663 CONFIG_RTE_LIBRTE_RAWDEV=y
664 CONFIG_RTE_RAWDEV_MAX_DEVS=10
665 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
666
667 #
668 # Compile PMD for NXP DPAA2 CMDIF raw device
669 #
670 CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
671
672 #
673 # Compile PMD for NXP DPAA2 QDMA raw device
674 #
675 CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
676
677 #
678 # Compile PMD for Intel FPGA raw device
679 #
680 CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=y
681
682 #
683 # Compile librte_ring
684 #
685 CONFIG_RTE_LIBRTE_RING=y
686 CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
687
688 #
689 # Compile librte_mempool
690 #
691 CONFIG_RTE_LIBRTE_MEMPOOL=y
692 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
693 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
694
695 #
696 # Compile Mempool drivers
697 #
698 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
699 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
700 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
701 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
702
703 #
704 # Compile PMD for octeontx fpa mempool device
705 #
706 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
707
708 #
709 # Compile librte_mbuf
710 #
711 CONFIG_RTE_LIBRTE_MBUF=y
712 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
713 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
714 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
715 CONFIG_RTE_PKTMBUF_HEADROOM=128
716
717 #
718 # Compile librte_timer
719 #
720 CONFIG_RTE_LIBRTE_TIMER=y
721 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
722
723 #
724 # Compile librte_cfgfile
725 #
726 CONFIG_RTE_LIBRTE_CFGFILE=y
727
728 #
729 # Compile librte_cmdline
730 #
731 CONFIG_RTE_LIBRTE_CMDLINE=y
732 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
733
734 #
735 # Compile librte_hash
736 #
737 CONFIG_RTE_LIBRTE_HASH=y
738 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
739
740 #
741 # Compile librte_efd
742 #
743 CONFIG_RTE_LIBRTE_EFD=y
744
745 #
746 # Compile librte_member
747 #
748 CONFIG_RTE_LIBRTE_MEMBER=y
749
750 #
751 # Compile librte_jobstats
752 #
753 CONFIG_RTE_LIBRTE_JOBSTATS=y
754
755 #
756 # Compile the device metrics library
757 #
758 CONFIG_RTE_LIBRTE_METRICS=y
759
760 #
761 # Compile the bitrate statistics library
762 #
763 CONFIG_RTE_LIBRTE_BITRATE=y
764
765 #
766 # Compile the latency statistics library
767 #
768 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
769
770 #
771 # Compile librte_lpm
772 #
773 CONFIG_RTE_LIBRTE_LPM=y
774 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
775
776 #
777 # Compile librte_acl
778 #
779 CONFIG_RTE_LIBRTE_ACL=y
780 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
781
782 #
783 # Compile librte_power
784 #
785 CONFIG_RTE_LIBRTE_POWER=n
786 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
787 CONFIG_RTE_MAX_LCORE_FREQS=64
788
789 #
790 # Compile librte_net
791 #
792 CONFIG_RTE_LIBRTE_NET=y
793
794 #
795 # Compile librte_ip_frag
796 #
797 CONFIG_RTE_LIBRTE_IP_FRAG=y
798 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
799 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
800 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
801
802 #
803 # Compile GRO library
804 #
805 CONFIG_RTE_LIBRTE_GRO=y
806
807 #
808 # Compile GSO library
809 #
810 CONFIG_RTE_LIBRTE_GSO=y
811
812 #
813 # Compile librte_meter
814 #
815 CONFIG_RTE_LIBRTE_METER=y
816
817 #
818 # Compile librte_classify
819 #
820 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
821
822 #
823 # Compile librte_sched
824 #
825 CONFIG_RTE_LIBRTE_SCHED=y
826 CONFIG_RTE_SCHED_DEBUG=n
827 CONFIG_RTE_SCHED_RED=n
828 CONFIG_RTE_SCHED_COLLECT_STATS=n
829 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
830 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
831 CONFIG_RTE_SCHED_VECTOR=n
832
833 #
834 # Compile the distributor library
835 #
836 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
837
838 #
839 # Compile the reorder library
840 #
841 CONFIG_RTE_LIBRTE_REORDER=y
842
843 #
844 # Compile librte_port
845 #
846 CONFIG_RTE_LIBRTE_PORT=y
847 CONFIG_RTE_PORT_STATS_COLLECT=n
848 CONFIG_RTE_PORT_PCAP=n
849
850 #
851 # Compile librte_table
852 #
853 CONFIG_RTE_LIBRTE_TABLE=y
854 CONFIG_RTE_TABLE_STATS_COLLECT=n
855
856 #
857 # Compile librte_pipeline
858 #
859 CONFIG_RTE_LIBRTE_PIPELINE=y
860 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
861
862 #
863 # Compile librte_kni
864 #
865 CONFIG_RTE_LIBRTE_KNI=n
866 CONFIG_RTE_LIBRTE_PMD_KNI=n
867 CONFIG_RTE_KNI_KMOD=n
868 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
869 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
870
871 #
872 # Compile the pdump library
873 #
874 CONFIG_RTE_LIBRTE_PDUMP=y
875
876 #
877 # Compile vhost user library
878 #
879 CONFIG_RTE_LIBRTE_VHOST=n
880 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
881 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
882
883 #
884 # Compile vhost PMD
885 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
886 #
887 CONFIG_RTE_LIBRTE_PMD_VHOST=n
888
889 #
890 # Compile IFC driver
891 # To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
892 # should be enabled.
893 #
894 CONFIG_RTE_LIBRTE_IFC_PMD=n
895
896 #
897 # Compile librte_bpf
898 #
899 CONFIG_RTE_LIBRTE_BPF=y
900 # allow load BPF from ELF files (requires libelf)
901 CONFIG_RTE_LIBRTE_BPF_ELF=n
902
903 #
904 # Compile the test application
905 #
906 CONFIG_RTE_APP_TEST=y
907 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
908
909 #
910 # Compile the procinfo application
911 #
912 CONFIG_RTE_PROC_INFO=n
913
914 #
915 # Compile the PMD test application
916 #
917 CONFIG_RTE_TEST_PMD=y
918 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
919 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
920
921 #
922 # Compile the bbdev test application
923 #
924 CONFIG_RTE_TEST_BBDEV=y
925
926 #
927 # Compile the crypto performance application
928 #
929 CONFIG_RTE_APP_CRYPTO_PERF=y
930
931 #
932 # Compile the eventdev application
933 #
934 CONFIG_RTE_APP_EVENTDEV=y