net/avf: initialize PMD
[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_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
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 burst-oriented Amazon ENA PMD driver
167 #
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_COM_DEBUG=n
173
174 #
175 # Compile burst-oriented IGB & EM PMD drivers
176 #
177 CONFIG_RTE_LIBRTE_EM_PMD=y
178 CONFIG_RTE_LIBRTE_IGB_PMD=y
179 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
180 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
181 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
182 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
183
184 #
185 # Compile burst-oriented IXGBE PMD driver
186 #
187 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
188 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
189 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
190 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
191 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
192 CONFIG_RTE_IXGBE_INC_VECTOR=y
193 CONFIG_RTE_LIBRTE_IXGBE_BYPASS=n
194
195 #
196 # Compile burst-oriented I40E PMD driver
197 #
198 CONFIG_RTE_LIBRTE_I40E_PMD=y
199 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
200 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
201 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
202 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
203 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
204 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
205 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
206 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
207 # interval up to 8160 us, aligned to 2 (or default value)
208 CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
209
210 #
211 # Compile burst-oriented FM10K PMD
212 #
213 CONFIG_RTE_LIBRTE_FM10K_PMD=y
214 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
215 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
216 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
217 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
218 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
219
220 #
221 # Compile burst-oriented AVF PMD driver
222 #
223 CONFIG_RTE_LIBRTE_AVF_PMD=y
224
225 #
226 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
227 #
228 CONFIG_RTE_LIBRTE_MLX4_PMD=n
229 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
230 CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=8
231
232 #
233 # Compile burst-oriented Mellanox ConnectX-4 & ConnectX-5 (MLX5) PMD
234 #
235 CONFIG_RTE_LIBRTE_MLX5_PMD=n
236 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
237 CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=8
238
239 #
240 # Compile burst-oriented Broadcom PMD driver
241 #
242 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
243 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
244 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
245 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
246 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
247
248 #
249 # Compile burst-oriented Chelsio Terminator (CXGBE) PMD
250 #
251 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
252 CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
253 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
254 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
255 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
256 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
257 CONFIG_RTE_LIBRTE_CXGBE_TPUT=y
258
259 #
260 # Compile burst-oriented Cisco ENIC PMD driver
261 #
262 CONFIG_RTE_LIBRTE_ENIC_PMD=y
263 CONFIG_RTE_LIBRTE_ENIC_DEBUG=n
264 CONFIG_RTE_LIBRTE_ENIC_DEBUG_FLOW=n
265
266 #
267 # Compile burst-oriented Netronome NFP PMD driver
268 #
269 CONFIG_RTE_LIBRTE_NFP_PMD=n
270 CONFIG_RTE_LIBRTE_NFP_DEBUG_TX=n
271 CONFIG_RTE_LIBRTE_NFP_DEBUG_RX=n
272
273 #
274 # Compile Marvell PMD driver
275 #
276 CONFIG_RTE_LIBRTE_MRVL_PMD=n
277
278 #
279 # Compile burst-oriented Broadcom BNXT PMD driver
280 #
281 CONFIG_RTE_LIBRTE_BNXT_PMD=y
282
283 #
284 # Compile burst-oriented Solarflare libefx-based PMD
285 #
286 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
287 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
288
289 #
290 # Compile SOFTNIC PMD
291 #
292 CONFIG_RTE_LIBRTE_PMD_SOFTNIC=y
293
294 #
295 # Compile software PMD backed by SZEDATA2 device
296 #
297 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
298 #
299 # Defines firmware type address space.
300 # See documentation for supported values.
301 # Other values raise compile time error.
302 CONFIG_RTE_LIBRTE_PMD_SZEDATA2_AS=0
303
304 #
305 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
306 #
307 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
308 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
309 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
310
311 #
312 # Compile burst-oriented Cavium LiquidIO PMD driver
313 #
314 CONFIG_RTE_LIBRTE_LIO_PMD=y
315 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
316 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
317 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
318 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
319
320 # NXP DPAA Bus
321 CONFIG_RTE_LIBRTE_DPAA_BUS=n
322 CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=n
323 CONFIG_RTE_LIBRTE_DPAA_PMD=n
324
325 #
326 # Compile burst-oriented Cavium OCTEONTX network PMD driver
327 #
328 CONFIG_RTE_LIBRTE_OCTEONTX_PMD=y
329
330 #
331 # Compile NXP DPAA2 FSL-MC Bus
332 #
333 CONFIG_RTE_LIBRTE_FSLMC_BUS=n
334
335 #
336 # Compile Support Libraries for NXP DPAA2
337 #
338 CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n
339 CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=y
340
341 #
342 # Compile burst-oriented NXP DPAA2 PMD driver
343 #
344 CONFIG_RTE_LIBRTE_DPAA2_PMD=n
345 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_INIT=n
346 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
347 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_RX=n
348 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_TX=n
349 CONFIG_RTE_LIBRTE_DPAA2_DEBUG_TX_FREE=n
350
351 #
352 # Compile burst-oriented VIRTIO PMD driver
353 #
354 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
355 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
356 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
357 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
358
359 #
360 # Compile virtio device emulation inside virtio PMD driver
361 #
362 CONFIG_RTE_VIRTIO_USER=n
363
364 #
365 # Compile burst-oriented VMXNET3 PMD driver
366 #
367 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
368 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
369 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
370 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
371
372 #
373 # Compile example software rings based PMD
374 #
375 CONFIG_RTE_LIBRTE_PMD_RING=y
376 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
377 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
378
379 #
380 # Compile software PMD backed by PCAP files
381 #
382 CONFIG_RTE_LIBRTE_PMD_PCAP=n
383
384 #
385 # Compile link bonding PMD library
386 #
387 CONFIG_RTE_LIBRTE_PMD_BOND=y
388 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
389 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
390
391 # QLogic 10G/25G/40G/50G/100G PMD
392 #
393 CONFIG_RTE_LIBRTE_QEDE_PMD=y
394 CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO=n
395 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
396 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
397 CONFIG_RTE_LIBRTE_QEDE_VF_TX_SWITCH=y
398 #Provides abs path/name of the firmware file.
399 #Empty string denotes driver will use default firmware
400 CONFIG_RTE_LIBRTE_QEDE_FW=""
401
402 #
403 # Compile software PMD backed by AF_PACKET sockets (Linux only)
404 #
405 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
406
407 #
408 # Compile ARK PMD
409 #
410 CONFIG_RTE_LIBRTE_ARK_PMD=y
411 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
412 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
413 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
414 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
415 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
416
417 #
418 # Compile WRS accelerated virtual port (AVP) guest PMD driver
419 #
420 CONFIG_RTE_LIBRTE_AVP_PMD=n
421 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
422 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
423 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
424
425 #
426 # Compile the TAP PMD
427 # It is enabled by default for Linux only.
428 #
429 CONFIG_RTE_LIBRTE_PMD_TAP=n
430
431 #
432 # Compile null PMD
433 #
434 CONFIG_RTE_LIBRTE_PMD_NULL=y
435
436 #
437 # Compile fail-safe PMD
438 #
439 CONFIG_RTE_LIBRTE_PMD_FAILSAFE=y
440
441 #
442 # Do prefetch of packet data within PMD driver receive function
443 #
444 CONFIG_RTE_PMD_PACKET_PREFETCH=y
445
446 #
447 # Compile generic crypto device library
448 #
449 CONFIG_RTE_LIBRTE_CRYPTODEV=y
450 CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=n
451 CONFIG_RTE_CRYPTO_MAX_DEVS=64
452 CONFIG_RTE_CRYPTODEV_NAME_LEN=64
453
454 #
455 # Compile PMD for ARMv8 Crypto device
456 #
457 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
458 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
459
460 #
461 # Compile NXP DPAA2 crypto sec driver for CAAM HW
462 #
463 CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n
464 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_INIT=n
465 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_DRIVER=n
466 CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_RX=n
467
468 #
469 # NXP DPAA caam - crypto driver
470 #
471 CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=n
472 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_INIT=n
473 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_DRIVER=n
474 CONFIG_RTE_LIBRTE_DPAA_SEC_DEBUG_RX=n
475
476 #
477 # Compile PMD for QuickAssist based devices
478 #
479 CONFIG_RTE_LIBRTE_PMD_QAT=n
480 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_INIT=n
481 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_TX=n
482 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_RX=n
483 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=n
484 #
485 # Number of sessions to create in the session memory pool
486 # on a single QuickAssist device.
487 #
488 CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=2048
489
490 #
491 # Compile PMD for AESNI backed device
492 #
493 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
494 CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=n
495
496 #
497 # Compile PMD for Software backed device
498 #
499 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
500 CONFIG_RTE_LIBRTE_PMD_OPENSSL_DEBUG=n
501
502 #
503 # Compile PMD for AESNI GCM device
504 #
505 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
506 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM_DEBUG=n
507
508 #
509 # Compile PMD for SNOW 3G device
510 #
511 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
512 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
513
514 #
515 # Compile PMD for KASUMI device
516 #
517 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
518 CONFIG_RTE_LIBRTE_PMD_KASUMI_DEBUG=n
519
520 #
521 # Compile PMD for ZUC device
522 #
523 CONFIG_RTE_LIBRTE_PMD_ZUC=n
524 CONFIG_RTE_LIBRTE_PMD_ZUC_DEBUG=n
525
526 #
527 # Compile PMD for Crypto Scheduler device
528 #
529 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
530 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n
531
532 #
533 # Compile PMD for NULL Crypto device
534 #
535 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
536
537 #
538 # Compile PMD for Marvell Crypto device
539 #
540 CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO=n
541 CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO_DEBUG=n
542
543 #
544 # Compile generic security library
545 #
546 CONFIG_RTE_LIBRTE_SECURITY=y
547
548 #
549 # Compile generic event device library
550 #
551 CONFIG_RTE_LIBRTE_EVENTDEV=y
552 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
553 CONFIG_RTE_EVENT_MAX_DEVS=16
554 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
555
556 #
557 # Compile PMD for skeleton event device
558 #
559 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
560 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
561
562 #
563 # Compile PMD for software event device
564 #
565 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
566 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV_DEBUG=n
567
568 #
569 # Compile PMD for octeontx sso event device
570 #
571 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
572
573 #
574 # Compile librte_ring
575 #
576 CONFIG_RTE_LIBRTE_RING=y
577
578 #
579 # Compile librte_mempool
580 #
581 CONFIG_RTE_LIBRTE_MEMPOOL=y
582 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
583 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
584
585 #
586 # Compile Mempool drivers
587 #
588 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
589 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
590
591 #
592 # Compile PMD for octeontx fpa mempool device
593 #
594 CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=y
595
596 #
597 # Compile librte_mbuf
598 #
599 CONFIG_RTE_LIBRTE_MBUF=y
600 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
601 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
602 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
603 CONFIG_RTE_PKTMBUF_HEADROOM=128
604
605 #
606 # Compile librte_timer
607 #
608 CONFIG_RTE_LIBRTE_TIMER=y
609 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
610
611 #
612 # Compile librte_cfgfile
613 #
614 CONFIG_RTE_LIBRTE_CFGFILE=y
615
616 #
617 # Compile librte_cmdline
618 #
619 CONFIG_RTE_LIBRTE_CMDLINE=y
620 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
621
622 #
623 # Compile librte_hash
624 #
625 CONFIG_RTE_LIBRTE_HASH=y
626 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
627
628 #
629 # Compile librte_efd
630 #
631 CONFIG_RTE_LIBRTE_EFD=y
632
633 #
634 # Compile librte_member
635 #
636 CONFIG_RTE_LIBRTE_MEMBER=y
637
638 #
639 # Compile librte_jobstats
640 #
641 CONFIG_RTE_LIBRTE_JOBSTATS=y
642
643 #
644 # Compile the device metrics library
645 #
646 CONFIG_RTE_LIBRTE_METRICS=y
647
648 #
649 # Compile the bitrate statistics library
650 #
651 CONFIG_RTE_LIBRTE_BITRATE=y
652
653 #
654 # Compile the latency statistics library
655 #
656 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
657
658 #
659 # Compile librte_lpm
660 #
661 CONFIG_RTE_LIBRTE_LPM=y
662 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
663
664 #
665 # Compile librte_acl
666 #
667 CONFIG_RTE_LIBRTE_ACL=y
668 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
669
670 #
671 # Compile librte_power
672 #
673 CONFIG_RTE_LIBRTE_POWER=n
674 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
675 CONFIG_RTE_MAX_LCORE_FREQS=64
676
677 #
678 # Compile librte_net
679 #
680 CONFIG_RTE_LIBRTE_NET=y
681
682 #
683 # Compile librte_ip_frag
684 #
685 CONFIG_RTE_LIBRTE_IP_FRAG=y
686 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
687 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
688 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
689
690 #
691 # Compile GRO library
692 #
693 CONFIG_RTE_LIBRTE_GRO=y
694
695 #
696 # Compile GSO library
697 #
698 CONFIG_RTE_LIBRTE_GSO=y
699
700 #
701 # Compile librte_meter
702 #
703 CONFIG_RTE_LIBRTE_METER=y
704
705 #
706 # Compile librte_classify
707 #
708 CONFIG_RTE_LIBRTE_FLOW_CLASSIFY=y
709
710 #
711 # Compile librte_sched
712 #
713 CONFIG_RTE_LIBRTE_SCHED=y
714 CONFIG_RTE_SCHED_DEBUG=n
715 CONFIG_RTE_SCHED_RED=n
716 CONFIG_RTE_SCHED_COLLECT_STATS=n
717 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
718 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
719 CONFIG_RTE_SCHED_VECTOR=n
720
721 #
722 # Compile the distributor library
723 #
724 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
725
726 #
727 # Compile the reorder library
728 #
729 CONFIG_RTE_LIBRTE_REORDER=y
730
731 #
732 # Compile librte_port
733 #
734 CONFIG_RTE_LIBRTE_PORT=y
735 CONFIG_RTE_PORT_STATS_COLLECT=n
736 CONFIG_RTE_PORT_PCAP=n
737
738 #
739 # Compile librte_table
740 #
741 CONFIG_RTE_LIBRTE_TABLE=y
742 CONFIG_RTE_TABLE_STATS_COLLECT=n
743
744 #
745 # Compile librte_pipeline
746 #
747 CONFIG_RTE_LIBRTE_PIPELINE=y
748 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
749
750 #
751 # Compile librte_kni
752 #
753 CONFIG_RTE_LIBRTE_KNI=n
754 CONFIG_RTE_LIBRTE_PMD_KNI=n
755 CONFIG_RTE_KNI_KMOD=n
756 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
757 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
758
759 #
760 # Compile the pdump library
761 #
762 CONFIG_RTE_LIBRTE_PDUMP=y
763
764 #
765 # Compile vhost user library
766 #
767 CONFIG_RTE_LIBRTE_VHOST=n
768 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
769 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
770
771 #
772 # Compile vhost PMD
773 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
774 #
775 CONFIG_RTE_LIBRTE_PMD_VHOST=n
776
777 #
778 # Compile the test application
779 #
780 CONFIG_RTE_APP_TEST=y
781 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
782
783 #
784 # Compile the PMD test application
785 #
786 CONFIG_RTE_TEST_PMD=y
787 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
788 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
789
790 #
791 # Compile the crypto performance application
792 #
793 CONFIG_RTE_APP_CRYPTO_PERF=y
794
795 #
796 # Compile the eventdev application
797 #
798 CONFIG_RTE_APP_EVENTDEV=y