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