net/ark: stub PMD for Atomic Rules Arkville
[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_LOG_LEVEL=RTE_LOG_INFO
97 CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
98 CONFIG_RTE_LOG_HISTORY=256
99 CONFIG_RTE_LIBEAL_USE_HPET=n
100 CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
101 CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
102 CONFIG_RTE_EAL_IGB_UIO=n
103 CONFIG_RTE_EAL_VFIO=n
104 CONFIG_RTE_MALLOC_DEBUG=n
105
106 # Default driver path (or "" to disable)
107 CONFIG_RTE_EAL_PMD_PATH=""
108
109 #
110 # Compile Environment Abstraction Layer to support Vmware TSC map
111 #
112 CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y
113
114 #
115 # Compile the argument parser library
116 #
117 CONFIG_RTE_LIBRTE_KVARGS=y
118
119 #
120 # Compile generic ethernet library
121 #
122 CONFIG_RTE_LIBRTE_ETHER=y
123 CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n
124 CONFIG_RTE_MAX_ETHPORTS=32
125 CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
126 CONFIG_RTE_LIBRTE_IEEE1588=n
127 CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
128 CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
129
130 #
131 # Turn off Tx preparation stage
132 #
133 # Warning: rte_ethdev_tx_prepare() can be safely disabled only if using a
134 # driver which do not implement any Tx preparation.
135 #
136 CONFIG_RTE_ETHDEV_TX_PREPARE_NOOP=n
137
138 #
139 # Support NIC bypass logic
140 #
141 CONFIG_RTE_NIC_BYPASS=n
142
143 #
144 # Compile burst-oriented Amazon ENA PMD driver
145 #
146 CONFIG_RTE_LIBRTE_ENA_PMD=y
147 CONFIG_RTE_LIBRTE_ENA_DEBUG_RX=n
148 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX=n
149 CONFIG_RTE_LIBRTE_ENA_DEBUG_TX_FREE=n
150 CONFIG_RTE_LIBRTE_ENA_DEBUG_DRIVER=n
151 CONFIG_RTE_LIBRTE_ENA_COM_DEBUG=n
152
153 #
154 # Compile burst-oriented IGB & EM PMD drivers
155 #
156 CONFIG_RTE_LIBRTE_EM_PMD=y
157 CONFIG_RTE_LIBRTE_IGB_PMD=y
158 CONFIG_RTE_LIBRTE_E1000_DEBUG_INIT=n
159 CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=n
160 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
161 CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
162 CONFIG_RTE_LIBRTE_E1000_DEBUG_DRIVER=n
163 CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
164
165 #
166 # Compile burst-oriented IXGBE PMD driver
167 #
168 CONFIG_RTE_LIBRTE_IXGBE_PMD=y
169 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_INIT=n
170 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=n
171 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=n
172 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=n
173 CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER=n
174 CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=n
175 CONFIG_RTE_IXGBE_INC_VECTOR=y
176 CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=y
177
178 #
179 # Compile burst-oriented I40E PMD driver
180 #
181 CONFIG_RTE_LIBRTE_I40E_PMD=y
182 CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=n
183 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=n
184 CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=n
185 CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y
186 CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y
187 CONFIG_RTE_LIBRTE_I40E_RX_OLFLAGS_ENABLE=y
188 CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n
189 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=64
190 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4
191 CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=4
192 # interval up to 8160 us, aligned to 2 (or default value)
193 CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=-1
194
195 #
196 # Compile burst-oriented FM10K PMD
197 #
198 CONFIG_RTE_LIBRTE_FM10K_PMD=y
199 CONFIG_RTE_LIBRTE_FM10K_DEBUG_INIT=n
200 CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=n
201 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=n
202 CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=n
203 CONFIG_RTE_LIBRTE_FM10K_DEBUG_DRIVER=n
204 CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y
205 CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y
206
207 #
208 # Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD
209 #
210 CONFIG_RTE_LIBRTE_MLX4_PMD=n
211 CONFIG_RTE_LIBRTE_MLX4_DEBUG=n
212 CONFIG_RTE_LIBRTE_MLX4_SGE_WR_N=4
213 CONFIG_RTE_LIBRTE_MLX4_MAX_INLINE=0
214 CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=8
215 CONFIG_RTE_LIBRTE_MLX4_SOFT_COUNTERS=1
216
217 #
218 # Compile burst-oriented Mellanox ConnectX-4 & ConnectX-5 (MLX5) PMD
219 #
220 CONFIG_RTE_LIBRTE_MLX5_PMD=n
221 CONFIG_RTE_LIBRTE_MLX5_DEBUG=n
222 CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=8
223
224 #
225 # Compile burst-oriented Broadcom PMD driver
226 #
227 CONFIG_RTE_LIBRTE_BNX2X_PMD=n
228 CONFIG_RTE_LIBRTE_BNX2X_DEBUG=n
229 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=n
230 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=n
231 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=n
232 CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=n
233 CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=n
234
235 #
236 # Compile burst-oriented Chelsio Terminator 10GbE/40GbE (CXGBE) PMD
237 #
238 CONFIG_RTE_LIBRTE_CXGBE_PMD=y
239 CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
240 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
241 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n
242 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=n
243 CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=n
244
245 #
246 # Compile burst-oriented Cisco ENIC PMD driver
247 #
248 CONFIG_RTE_LIBRTE_ENIC_PMD=y
249 CONFIG_RTE_LIBRTE_ENIC_DEBUG=n
250
251 #
252 # Compile burst-oriented Netronome NFP PMD driver
253 #
254 CONFIG_RTE_LIBRTE_NFP_PMD=n
255 CONFIG_RTE_LIBRTE_NFP_DEBUG=n
256
257 #
258 # Compile burst-oriented Broadcom BNXT PMD driver
259 #
260 CONFIG_RTE_LIBRTE_BNXT_PMD=y
261
262 #
263 # Compile burst-oriented Solarflare libefx-based PMD
264 #
265 CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y
266 CONFIG_RTE_LIBRTE_SFC_EFX_DEBUG=n
267
268 #
269 # Compile software PMD backed by SZEDATA2 device
270 #
271 CONFIG_RTE_LIBRTE_PMD_SZEDATA2=n
272 #
273 # Defines firmware type address space.
274 # RTE_LIBRTE_PMD_SZEDATA2_AS can be:
275 # 0 - for firmwares:
276 #         NIC_100G1_LR4
277 #         HANIC_100G1_LR4
278 #         HANIC_100G1_SR10
279 # Other values raise compile time error
280 CONFIG_RTE_LIBRTE_PMD_SZEDATA2_AS=0
281
282 #
283 # Compile burst-oriented Cavium Thunderx NICVF PMD driver
284 #
285 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=y
286 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_INIT=n
287 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX=n
288 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX=n
289 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_DRIVER=n
290 CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_MBOX=n
291
292 #
293 # Compile burst-oriented Cavium LiquidIO PMD driver
294 #
295 CONFIG_RTE_LIBRTE_LIO_PMD=y
296 CONFIG_RTE_LIBRTE_LIO_DEBUG_DRIVER=n
297 CONFIG_RTE_LIBRTE_LIO_DEBUG_INIT=n
298 CONFIG_RTE_LIBRTE_LIO_DEBUG_RX=n
299 CONFIG_RTE_LIBRTE_LIO_DEBUG_TX=n
300 CONFIG_RTE_LIBRTE_LIO_DEBUG_MBOX=n
301 CONFIG_RTE_LIBRTE_LIO_DEBUG_REGS=n
302
303 #
304 # Compile burst-oriented VIRTIO PMD driver
305 #
306 CONFIG_RTE_LIBRTE_VIRTIO_PMD=y
307 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=n
308 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=n
309 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=n
310 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=n
311 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
312
313 #
314 # Compile virtio device emulation inside virtio PMD driver
315 #
316 CONFIG_RTE_VIRTIO_USER=n
317
318 #
319 # Compile burst-oriented VMXNET3 PMD driver
320 #
321 CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
322 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=n
323 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
324 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
325 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
326 CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_DRIVER=n
327
328 #
329 # Compile example software rings based PMD
330 #
331 CONFIG_RTE_LIBRTE_PMD_RING=y
332 CONFIG_RTE_PMD_RING_MAX_RX_RINGS=16
333 CONFIG_RTE_PMD_RING_MAX_TX_RINGS=16
334
335 #
336 # Compile software PMD backed by PCAP files
337 #
338 CONFIG_RTE_LIBRTE_PMD_PCAP=n
339
340 #
341 # Compile link bonding PMD library
342 #
343 CONFIG_RTE_LIBRTE_PMD_BOND=y
344 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=n
345 CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=n
346
347 # QLogic 10G/25G/40G/50G/100G PMD
348 #
349 CONFIG_RTE_LIBRTE_QEDE_PMD=y
350 CONFIG_RTE_LIBRTE_QEDE_DEBUG_INIT=n
351 CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO=n
352 CONFIG_RTE_LIBRTE_QEDE_DEBUG_DRIVER=n
353 CONFIG_RTE_LIBRTE_QEDE_DEBUG_TX=n
354 CONFIG_RTE_LIBRTE_QEDE_DEBUG_RX=n
355 #Provides abs path/name of the firmware file.
356 #Empty string denotes driver will use default firmware
357 CONFIG_RTE_LIBRTE_QEDE_FW=""
358
359 #
360 # Compile software PMD backed by AF_PACKET sockets (Linux only)
361 #
362 CONFIG_RTE_LIBRTE_PMD_AF_PACKET=n
363
364 #
365 # Compile ARK PMD
366 #
367 CONFIG_RTE_LIBRTE_ARK_PMD=y
368 CONFIG_RTE_LIBRTE_ARK_PAD_TX=y
369 CONFIG_RTE_LIBRTE_ARK_DEBUG_RX=n
370 CONFIG_RTE_LIBRTE_ARK_DEBUG_TX=n
371 CONFIG_RTE_LIBRTE_ARK_DEBUG_STATS=n
372 CONFIG_RTE_LIBRTE_ARK_DEBUG_TRACE=n
373
374 #
375 # Compile WRS accelerated virtual port (AVP) guest PMD driver
376 #
377 CONFIG_RTE_LIBRTE_AVP_PMD=n
378 CONFIG_RTE_LIBRTE_AVP_DEBUG_RX=n
379 CONFIG_RTE_LIBRTE_AVP_DEBUG_TX=n
380 CONFIG_RTE_LIBRTE_AVP_DEBUG_DRIVER=y
381 CONFIG_RTE_LIBRTE_AVP_DEBUG_BUFFERS=n
382
383 #
384 # Compile the TAP PMD
385 # It is enabled by default for Linux only.
386 #
387 CONFIG_RTE_LIBRTE_PMD_TAP=n
388
389 #
390 # Compile Xen PMD
391 #
392 CONFIG_RTE_LIBRTE_PMD_XENVIRT=n
393
394 #
395 # Compile null PMD
396 #
397 CONFIG_RTE_LIBRTE_PMD_NULL=y
398
399 #
400 # Do prefetch of packet data within PMD driver receive function
401 #
402 CONFIG_RTE_PMD_PACKET_PREFETCH=y
403
404 #
405 # Compile generic crypto device library
406 #
407 CONFIG_RTE_LIBRTE_CRYPTODEV=y
408 CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=n
409 CONFIG_RTE_CRYPTO_MAX_DEVS=64
410 CONFIG_RTE_CRYPTODEV_NAME_LEN=64
411
412 #
413 # Compile PMD for ARMv8 Crypto device
414 #
415 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
416 CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
417
418 #
419 # Compile PMD for QuickAssist based devices
420 #
421 CONFIG_RTE_LIBRTE_PMD_QAT=n
422 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_INIT=n
423 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_TX=n
424 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_RX=n
425 CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=n
426 #
427 # Number of sessions to create in the session memory pool
428 # on a single QuickAssist device.
429 #
430 CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=2048
431
432 #
433 # Compile PMD for AESNI backed device
434 #
435 CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n
436 CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=n
437
438 #
439 # Compile PMD for Software backed device
440 #
441 CONFIG_RTE_LIBRTE_PMD_OPENSSL=n
442 CONFIG_RTE_LIBRTE_PMD_OPENSSL_DEBUG=n
443
444 #
445 # Compile PMD for AESNI GCM device
446 #
447 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=n
448 CONFIG_RTE_LIBRTE_PMD_AESNI_GCM_DEBUG=n
449
450 #
451 # Compile PMD for SNOW 3G device
452 #
453 CONFIG_RTE_LIBRTE_PMD_SNOW3G=n
454 CONFIG_RTE_LIBRTE_PMD_SNOW3G_DEBUG=n
455
456 #
457 # Compile PMD for KASUMI device
458 #
459 CONFIG_RTE_LIBRTE_PMD_KASUMI=n
460 CONFIG_RTE_LIBRTE_PMD_KASUMI_DEBUG=n
461
462 #
463 # Compile PMD for ZUC device
464 #
465 CONFIG_RTE_LIBRTE_PMD_ZUC=n
466 CONFIG_RTE_LIBRTE_PMD_ZUC_DEBUG=n
467
468 #
469 # Compile PMD for Crypto Scheduler device
470 #
471 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER=y
472 CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n
473
474 #
475 # Compile PMD for NULL Crypto device
476 #
477 CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y
478
479 #
480 # Compile generic event device library
481 #
482 CONFIG_RTE_LIBRTE_EVENTDEV=y
483 CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
484 CONFIG_RTE_EVENT_MAX_DEVS=16
485 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
486
487 #
488 # Compile PMD for skeleton event device
489 #
490 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV=y
491 CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG=n
492
493 #
494 # Compile PMD for software event device
495 #
496 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV=y
497 CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV_DEBUG=n
498
499 #
500 # Compile PMD for octeontx sso event device
501 #
502 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=y
503 CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF_DEBUG=n
504
505 #
506 # Compile librte_ring
507 #
508 CONFIG_RTE_LIBRTE_RING=y
509
510 #
511 # Compile librte_mempool
512 #
513 CONFIG_RTE_LIBRTE_MEMPOOL=y
514 CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=512
515 CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=n
516
517 #
518 # Compile Mempool drivers
519 #
520 CONFIG_RTE_DRIVER_MEMPOOL_RING=y
521 CONFIG_RTE_DRIVER_MEMPOOL_STACK=y
522
523 #
524 # Compile librte_mbuf
525 #
526 CONFIG_RTE_LIBRTE_MBUF=y
527 CONFIG_RTE_LIBRTE_MBUF_DEBUG=n
528 CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc"
529 CONFIG_RTE_MBUF_REFCNT_ATOMIC=y
530 CONFIG_RTE_PKTMBUF_HEADROOM=128
531
532 #
533 # Compile librte_timer
534 #
535 CONFIG_RTE_LIBRTE_TIMER=y
536 CONFIG_RTE_LIBRTE_TIMER_DEBUG=n
537
538 #
539 # Compile librte_cfgfile
540 #
541 CONFIG_RTE_LIBRTE_CFGFILE=y
542
543 #
544 # Compile librte_cmdline
545 #
546 CONFIG_RTE_LIBRTE_CMDLINE=y
547 CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=n
548
549 #
550 # Compile librte_hash
551 #
552 CONFIG_RTE_LIBRTE_HASH=y
553 CONFIG_RTE_LIBRTE_HASH_DEBUG=n
554
555 #
556 # Compile librte_efd
557 #
558 CONFIG_RTE_LIBRTE_EFD=y
559
560 #
561 # Compile librte_jobstats
562 #
563 CONFIG_RTE_LIBRTE_JOBSTATS=y
564
565 #
566 # Compile the device metrics library
567 #
568 CONFIG_RTE_LIBRTE_METRICS=y
569
570 #
571 # Compile the bitrate statistics library
572 #
573 CONFIG_RTE_LIBRTE_BITRATE=y
574
575 #
576 # Compile the latency statistics library
577 #
578 CONFIG_RTE_LIBRTE_LATENCY_STATS=y
579
580 #
581 # Compile librte_lpm
582 #
583 CONFIG_RTE_LIBRTE_LPM=y
584 CONFIG_RTE_LIBRTE_LPM_DEBUG=n
585
586 #
587 # Compile librte_acl
588 #
589 CONFIG_RTE_LIBRTE_ACL=y
590 CONFIG_RTE_LIBRTE_ACL_DEBUG=n
591
592 #
593 # Compile librte_power
594 #
595 CONFIG_RTE_LIBRTE_POWER=n
596 CONFIG_RTE_LIBRTE_POWER_DEBUG=n
597 CONFIG_RTE_MAX_LCORE_FREQS=64
598
599 #
600 # Compile librte_net
601 #
602 CONFIG_RTE_LIBRTE_NET=y
603
604 #
605 # Compile librte_ip_frag
606 #
607 CONFIG_RTE_LIBRTE_IP_FRAG=y
608 CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=n
609 CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=4
610 CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n
611
612 #
613 # Compile librte_meter
614 #
615 CONFIG_RTE_LIBRTE_METER=y
616
617 #
618 # Compile librte_sched
619 #
620 CONFIG_RTE_LIBRTE_SCHED=y
621 CONFIG_RTE_SCHED_DEBUG=n
622 CONFIG_RTE_SCHED_RED=n
623 CONFIG_RTE_SCHED_COLLECT_STATS=n
624 CONFIG_RTE_SCHED_SUBPORT_TC_OV=n
625 CONFIG_RTE_SCHED_PORT_N_GRINDERS=8
626 CONFIG_RTE_SCHED_VECTOR=n
627
628 #
629 # Compile the distributor library
630 #
631 CONFIG_RTE_LIBRTE_DISTRIBUTOR=y
632
633 #
634 # Compile the reorder library
635 #
636 CONFIG_RTE_LIBRTE_REORDER=y
637
638 #
639 # Compile librte_port
640 #
641 CONFIG_RTE_LIBRTE_PORT=y
642 CONFIG_RTE_PORT_STATS_COLLECT=n
643 CONFIG_RTE_PORT_PCAP=n
644
645 #
646 # Compile librte_table
647 #
648 CONFIG_RTE_LIBRTE_TABLE=y
649 CONFIG_RTE_TABLE_STATS_COLLECT=n
650
651 #
652 # Compile librte_pipeline
653 #
654 CONFIG_RTE_LIBRTE_PIPELINE=y
655 CONFIG_RTE_PIPELINE_STATS_COLLECT=n
656
657 #
658 # Compile librte_kni
659 #
660 CONFIG_RTE_LIBRTE_KNI=n
661 CONFIG_RTE_LIBRTE_PMD_KNI=n
662 CONFIG_RTE_KNI_KMOD=n
663 CONFIG_RTE_KNI_KMOD_ETHTOOL=n
664 CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
665
666 #
667 # Compile the pdump library
668 #
669 CONFIG_RTE_LIBRTE_PDUMP=y
670
671 #
672 # Compile vhost user library
673 #
674 CONFIG_RTE_LIBRTE_VHOST=n
675 CONFIG_RTE_LIBRTE_VHOST_NUMA=n
676 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
677
678 #
679 # Compile vhost PMD
680 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
681 #
682 CONFIG_RTE_LIBRTE_PMD_VHOST=n
683
684 #
685 #Compile Xen domain0 support
686 #
687 CONFIG_RTE_LIBRTE_XEN_DOM0=n
688
689 #
690 # Compile the test application
691 #
692 CONFIG_RTE_APP_TEST=y
693 CONFIG_RTE_APP_TEST_RESOURCE_TAR=n
694
695 #
696 # Compile the PMD test application
697 #
698 CONFIG_RTE_TEST_PMD=y
699 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
700 CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n
701
702 #
703 # Compile the crypto performance application
704 #
705 CONFIG_RTE_APP_CRYPTO_PERF=y