net/bnxt: set descriptor rings limits
[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_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
88 CONFIG_RTE_EAL_VFIO=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
94
95 #
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.
99 #
100 CONFIG_RTE_ENABLE_AVX=y
101 CONFIG_RTE_ENABLE_AVX512=n
102
103 # Default driver path (or "" to disable)
104 CONFIG_RTE_EAL_PMD_PATH=""
105
106 #
107 # Compile Environment Abstraction Layer to support Vmware TSC map
108 #
109 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
110
111 #
112 # Compile the PCI library
113 #
114 CONFIG_RTE_LIBRTE_PCI=y
115
116 #
117 # Compile the argument parser library
118 #
119 CONFIG_RTE_LIBRTE_KVARGS=y
120
121 #
122 # Compile generic ethernet library
123 #
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
132
133 #
134 # Turn off Tx preparation stage
135 #
136 # Warning: rte_eth_tx_prepare() can be safely disabled only if using a
137 # driver which do not implement any Tx preparation.
138 #
139 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
140
141 #
142 # Compile the Intel FPGA bus
143 #
144 CONFIG_RTE_LIBRTE_IFPGA_BUS=y
145
146 #
147 # Compile PCI bus driver
148 #
149 CONFIG_RTE_LIBRTE_PCI_BUS=y
150
151 #
152 # Compile the vdev bus
153 #
154 CONFIG_RTE_LIBRTE_VDEV_BUS=y
155
156 #
157 # Compile ARK PMD
158 #
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
165
166 #
167 # Compile AMD PMD
168 #
169 CONFIG_RTE_LIBRTE_AXGBE_PMD=y
170 CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG=n
171
172 #
173 # Compile burst-oriented Broadcom PMD driver
174 #
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
180
181 #
182 # Compile burst-oriented Broadcom BNXT PMD driver
183 #
184 CONFIG_RTE_LIBRTE_BNXT_PMD=y
185
186 #
187 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
188 #
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
196
197 # NXP DPAA Bus
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
202
203 #
204 # Compile NXP DPAA2 FSL-MC Bus
205 #
206 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
207
208 #
209 # Compile Support Libraries for NXP DPAA2
210 #
211 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
212 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
213
214 #
215 # Compile burst-oriented NXP DPAA2 PMD driver
216 #
217 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
218 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
219
220 #
221 # Compile burst-oriented Amazon ENA PMD driver
222 #
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
228
229 #
230 # Compile burst-oriented Cisco ENIC PMD driver
231 #
232 CONFIG_RTE_LIBRTE_ENIC_PMD=y
233
234 #
235 # Compile burst-oriented IGB & EM PMD drivers
236 #
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
243
244 #
245 # Compile burst-oriented IXGBE PMD driver
246 #
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
254
255 #
256 # Compile burst-oriented I40E PMD driver
257 #
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
267 # interval up to 8160 us, aligned to 2 (or default value)
268 CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
269
270 #
271 # Compile burst-oriented FM10K PMD
272 #
273 CONFIG_RTE_LIBRTE_FM10K_PMD=y
274 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
275 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
276 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
277 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
278 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
279
280 #
281 # Compile burst-oriented AVF PMD driver
282 #
283 CONFIG_RTE_LIBRTE_AVF_PMD=y
284 CONFIG_RTE_LIBRTE_AVF_INC_VECTOR=y
285 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX=n
286 CONFIG_RTE_LIBRTE_AVF_DEBUG_TX_FREE=n
287 CONFIG_RTE_LIBRTE_AVF_DEBUG_RX=n
288 CONFIG_RTE_LIBRTE_AVF_16BYTE_RX_DESC=n
289
290 #
291 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
292 #
293 CONFIG_RTE_LIBRTE_MLX4_PMD=n
294 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
295 CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=n
296
297 #
298 # Compile burst-oriented Mellanox ConnectX-4, ConnectX-5 & Bluefield
299 # (MLX5) PMD
300 #
301 CONFIG_RTE_LIBRTE_MLX5_PMD=n
302 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
303 CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=n
304
305 #
306 # Compile burst-oriented Netronome NFP PMD driver
307 #
308 CONFIG_RTE_LIBRTE_NFP_PMD=n
309 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
310 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
311
312 # QLogic 10G/25G/40G/50G/100G PMD
313 #
314 CONFIG_RTE_LIBRTE_QEDE_PMD=y
315 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
316 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
317 #Provides abs path/name of the firmware file.
318 #Empty string denotes driver will use default firmware
319 CONFIG_RTE_LIBRTE_QEDE_FW=""
320
321 #
322 # Compile burst-oriented Solarflare libefx-based PMD
323 #
324 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
325 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
326
327 #
328 # Compile software PMD backed by SZEDATA2 device
329 #
330 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
331
332 #
333 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
334 #
335 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
336 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
337 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
338
339 #
340 # Compile burst-oriented Cavium LiquidIO PMD driver
341 #
342 CONFIG_RTE_LIBRTE_LIO_PMD=y
343 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
344 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
345 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
346 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
347
348 #
349 # Compile burst-oriented Cavium OCTEONTX network PMD driver
350 #
351 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
352
353 #
354 # Compile WRS accelerated virtual port (AVP) guest PMD driver
355 #
356 CONFIG_RTE_LIBRTE_AVP_PMD=n
357 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
358 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
359 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
360
361 #
362 # Compile burst-oriented VIRTIO PMD driver
363 #
364 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
365 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
366 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
367 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
368
369 #
370 # Compile virtio device emulation inside virtio PMD driver
371 #
372 CONFIG_RTE_VIRTIO_USER=n
373
374 #
375 # Compile burst-oriented VMXNET3 PMD driver
376 #
377 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
378 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
379 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
380 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
381
382 #
383 # Compile software PMD backed by AF_PACKET sockets (Linux only)
384 #
385 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
386
387 #
388 # Compile link bonding PMD library
389 #
390 CONFIG_RTE_LIBRTE_PMD_BOND=y
391 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
392 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
393
394 #
395 # Compile fail-safe PMD
396 #
397 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
398
399 #
400 # Compile Marvell PMD driver
401 #
402 CONFIG_RTE_LIBRTE_MVPP2_PMD=n
403
404 #
405 # Compile virtual device driver for NetVSC on Hyper-V/Azure
406 #
407 CONFIG_RTE_LIBRTE_VDEV_NETVSC_PMD=n
408
409 #
410 # Compile null PMD
411 #
412 CONFIG_RTE_LIBRTE_PMD_NULL=y
413
414 #
415 # Compile software PMD backed by PCAP files
416 #
417 CONFIG_RTE_LIBRTE_PMD_PCAP=n
418
419 #
420 # Compile example software rings based PMD
421 #
422 CONFIG_RTE_LIBRTE_PMD_RING=y
423 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
424 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
425
426 #
427 # Compile SOFTNIC PMD
428 #
429 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y
430
431 #
432 # Compile the TAP PMD
433 # It is enabled by default for Linux only.
434 #
435 CONFIG_RTE_LIBRTE_PMD_TAP=n
436
437 #
438 # Do prefetch of packet data within PMD driver receive function
439 #
440 CONFIG_RTE_PMD_PACKET_PREFETCH=y
441
442 # Compile generic wireless base band device library
443 # EXPERIMENTAL: API may change without prior notice
444 #
445 CONFIG_RTE_LIBRTE_BBDEV=y
446 CONFIG_RTE_BBDEV_MAX_DEVS=128
447 CONFIG_RTE_BBDEV_OFFLOAD_COST=n
448
449 #
450 # Compile PMD for NULL bbdev device
451 #
452 CONFIG_RTE_LIBRTE_PMD_BBDEV_NULL=y
453
454 #
455 # Compile PMD for turbo software bbdev device
456 #
457 CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW=n
458
459 #
460 # Compile generic crypto device library
461 #
462 CONFIG_RTE_LIBRTE_CRYPTODEV=y
463 CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=n
464 CONFIG_RTE_CRYPTO_MAX_DEVS=64
465
466 #
467 # Compile PMD for ARMv8 Crypto device
468 #
469 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
470 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
471
472 #
473 # Compile NXP DPAA2 crypto sec driver for CAAM HW
474 #
475 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
476 CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048
477
478 #
479 # NXP DPAA caam - crypto driver
480 #
481 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
482 CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4
483 CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048
484
485 #
486 # Compile PMD for QuickAssist based devices
487 #
488 CONFIG_RTE_LIBRTE_PMD_QAT=n
489 #
490 # Max. number of QuickAssist devices, which can be detected and attached
491 #
492 CONFIG_RTE_PMD_QAT_MAX_PCI_DEVICES=48
493
494 #
495 # Compile PMD for virtio crypto devices
496 #
497 CONFIG_RTE_LIBRTE_PMD_VIRTIO_CRYPTO=y
498 #
499 # Number of maximum virtio crypto devices
500 #
501 CONFIG_RTE_MAX_VIRTIO_CRYPTO=32
502 #
503 # Number of sessions to create in the session memory pool
504 # on a single virtio crypto device.
505 #
506 CONFIG_RTE_VIRTIO_CRYPTO_PMD_MAX_NB_SESSIONS=1024
507
508 #
509 # Compile PMD for AESNI backed device
510 #
511 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
512 CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=n
513
514 #
515 # Compile PMD for Software backed device
516 #
517 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
518 CONFIG_RTE_LIBRTE_PMD_OPENSSL_DEBUG=n
519
520 #
521 # Compile PMD for AESNI GCM device
522 #
523 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
524 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM_DEBUG=n
525
526 #
527 # Compile PMD for SNOW 3G device
528 #
529 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
530 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
531
532 #
533 # Compile PMD for KASUMI device
534 #
535 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
536 CONFIG_RTE_LIBRTE_PMD_KASUMI_DEBUG=n
537
538 #
539 # Compile PMD for ZUC device
540 #
541 CONFIG_RTE_LIBRTE_PMD_ZUC=n
542 CONFIG_RTE_LIBRTE_PMD_ZUC_DEBUG=n
543
544 #
545 # Compile PMD for Crypto Scheduler device
546 #
547 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
548 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n
549
550 #
551 # Compile PMD for NULL Crypto device
552 #
553 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
554
555 #
556 # Compile PMD for AMD CCP crypto device
557 #
558 CONFIG_RTE_LIBRTE_PMD_CCP=n
559
560 #
561 # Compile PMD for Marvell Crypto device
562 #
563 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=n
564 CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO_DEBUG=n
565
566 #
567 # Compile generic security library
568 #
569 CONFIG_RTE_LIBRTE_SECURITY=y
570
571 #
572 # Compile generic compression device library
573 #
574 CONFIG_RTE_LIBRTE_COMPRESSDEV=y
575 CONFIG_RTE_COMPRESS_MAX_DEVS=64
576
577 #
578 # Compile compressdev unit test
579 #
580 CONFIG_RTE_COMPRESSDEV_TEST=n
581
582 #
583 # Compile PMD for ISA-L compression device
584 #
585 CONFIG_RTE_LIBRTE_PMD_ISAL=n
586
587 #
588 # Compile generic event device library
589 #
590 CONFIG_RTE_LIBRTE_EVENTDEV=y
591 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
592 CONFIG_RTE_EVENT_MAX_DEVS=16
593 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
594 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
595 CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
596
597 #
598 # Compile PMD for skeleton event device
599 #
600 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
601 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
602
603 #
604 # Compile PMD for software event device
605 #
606 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
607
608 #
609 # Compile PMD for octeontx sso event device
610 #
611 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
612
613 #
614 # Compile PMD for OPDL event device
615 #
616 CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=y
617
618 #
619 # Compile PMD for NXP DPAA event device
620 #
621 CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=n
622
623 #
624 # Compile PMD for NXP DPAA2 event device
625 #
626 CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n
627
628 #
629 # Compile raw device support
630 # EXPERIMENTAL: API may change without prior notice
631 #
632 CONFIG_RTE_LIBRTE_RAWDEV=y
633 CONFIG_RTE_RAWDEV_MAX_DEVS=10
634 CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV=y
635
636 #
637 # Compile PMD for NXP DPAA2 CMDIF raw device
638 #
639 CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=n
640
641 #
642 # Compile PMD for NXP DPAA2 QDMA raw device
643 #
644 CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=n
645
646 #
647 # Compile PMD for Intel FPGA raw device
648 #
649 CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=y
650
651 #
652 # Compile librte_ring
653 #
654 CONFIG_RTE_LIBRTE_RING=y
655 CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
656
657 #
658 # Compile librte_mempool
659 #
660 CONFIG_RTE_LIBRTE_MEMPOOL=y
661 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
662 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
663
664 #
665 # Compile Mempool drivers
666 #
667 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET=y
668 CONFIG_RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB=64
669 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
670 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
671
672 #
673 # Compile PMD for octeontx fpa mempool device
674 #
675 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
676
677 #
678 # Compile librte_mbuf
679 #
680 CONFIG_RTE_LIBRTE_MBUF=y
681 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
682 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
683 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
684 CONFIG_RTE_PKTMBUF_HEADROOM=128
685
686 #
687 # Compile librte_timer
688 #
689 CONFIG_RTE_LIBRTE_TIMER=y
690 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
691
692 #
693 # Compile librte_cfgfile
694 #
695 CONFIG_RTE_LIBRTE_CFGFILE=y
696
697 #
698 # Compile librte_cmdline
699 #
700 CONFIG_RTE_LIBRTE_CMDLINE=y
701 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
702
703 #
704 # Compile librte_hash
705 #
706 CONFIG_RTE_LIBRTE_HASH=y
707 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
708
709 #
710 # Compile librte_efd
711 #
712 CONFIG_RTE_LIBRTE_EFD=y
713
714 #
715 # Compile librte_member
716 #
717 CONFIG_RTE_LIBRTE_MEMBER=y
718
719 #
720 # Compile librte_jobstats
721 #
722 CONFIG_RTE_LIBRTE_JOBSTATS=y
723
724 #
725 # Compile the device metrics library
726 #
727 CONFIG_RTE_LIBRTE_METRICS=y
728
729 #
730 # Compile the bitrate statistics library
731 #
732 CONFIG_RTE_LIBRTE_BITRATE=y
733
734 #
735 # Compile the latency statistics library
736 #
737 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
738
739 #
740 # Compile librte_lpm
741 #
742 CONFIG_RTE_LIBRTE_LPM=y
743 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
744
745 #
746 # Compile librte_acl
747 #
748 CONFIG_RTE_LIBRTE_ACL=y
749 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
750
751 #
752 # Compile librte_power
753 #
754 CONFIG_RTE_LIBRTE_POWER=n
755 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
756 CONFIG_RTE_MAX_LCORE_FREQS=64
757
758 #
759 # Compile librte_net
760 #
761 CONFIG_RTE_LIBRTE_NET=y
762
763 #
764 # Compile librte_ip_frag
765 #
766 CONFIG_RTE_LIBRTE_IP_FRAG=y
767 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
768 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
769 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
770
771 #
772 # Compile GRO library
773 #
774 CONFIG_RTE_LIBRTE_GRO=y
775
776 #
777 # Compile GSO library
778 #
779 CONFIG_RTE_LIBRTE_GSO=y
780
781 #
782 # Compile librte_meter
783 #
784 CONFIG_RTE_LIBRTE_METER=y
785
786 #
787 # Compile librte_classify
788 #
789 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
790
791 #
792 # Compile librte_sched
793 #
794 CONFIG_RTE_LIBRTE_SCHED=y
795 CONFIG_RTE_SCHED_DEBUG=n
796 CONFIG_RTE_SCHED_RED=n
797 CONFIG_RTE_SCHED_COLLECT_STATS=n
798 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
799 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
800 CONFIG_RTE_SCHED_VECTOR=n
801
802 #
803 # Compile the distributor library
804 #
805 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
806
807 #
808 # Compile the reorder library
809 #
810 CONFIG_RTE_LIBRTE_REORDER=y
811
812 #
813 # Compile librte_port
814 #
815 CONFIG_RTE_LIBRTE_PORT=y
816 CONFIG_RTE_PORT_STATS_COLLECT=n
817 CONFIG_RTE_PORT_PCAP=n
818
819 #
820 # Compile librte_table
821 #
822 CONFIG_RTE_LIBRTE_TABLE=y
823 CONFIG_RTE_TABLE_STATS_COLLECT=n
824
825 #
826 # Compile librte_pipeline
827 #
828 CONFIG_RTE_LIBRTE_PIPELINE=y
829 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
830
831 #
832 # Compile librte_kni
833 #
834 CONFIG_RTE_LIBRTE_KNI=n
835 CONFIG_RTE_LIBRTE_PMD_KNI=n
836 CONFIG_RTE_KNI_KMOD=n
837 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
838 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
839
840 #
841 # Compile the pdump library
842 #
843 CONFIG_RTE_LIBRTE_PDUMP=y
844
845 #
846 # Compile vhost user library
847 #
848 CONFIG_RTE_LIBRTE_VHOST=n
849 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
850 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
851
852 #
853 # Compile vhost PMD
854 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
855 #
856 CONFIG_RTE_LIBRTE_PMD_VHOST=n
857
858 #
859 # Compile IFC driver
860 # To compile, CONFIG_RTE_LIBRTE_VHOST and CONFIG_RTE_EAL_VFIO
861 # should be enabled.
862 #
863 CONFIG_RTE_LIBRTE_IFC_PMD=n
864
865 #
866 # Compile librte_bpf
867 #
868 CONFIG_RTE_LIBRTE_BPF=y
869 # allow load BPF from ELF files (requires libelf)
870 CONFIG_RTE_LIBRTE_BPF_ELF=n
871
872 #
873 # Compile the test application
874 #
875 CONFIG_RTE_APP_TEST=y
876 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
877
878 #
879 # Compile the procinfo application
880 #
881 CONFIG_RTE_PROC_INFO=n
882
883 #
884 # Compile the PMD test application
885 #
886 CONFIG_RTE_TEST_PMD=y
887 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
888 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
889
890 #
891 # Compile the bbdev test application
892 #
893 CONFIG_RTE_TEST_BBDEV=y
894
895 #
896 # Compile the crypto performance application
897 #
898 CONFIG_RTE_APP_CRYPTO_PERF=y
899
900 #
901 # Compile the eventdev application
902 #
903 CONFIG_RTE_APP_EVENTDEV=y