config: remove old log level option
[dpdk.git] / config / rte_config.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2017 Intel Corporation
3  */
4
5 /**
6  * @file Header file containing DPDK compilation parameters
7  *
8  * Header file containing DPDK compilation parameters. Also include the
9  * meson-generated header file containing the detected parameters that
10  * are variable across builds or build environments.
11  *
12  * NOTE: This file is only used for meson+ninja builds. For builds done
13  * using make/gmake, the rte_config.h file is autogenerated from the
14  * defconfig_* files in the config directory.
15  */
16 #ifndef _RTE_CONFIG_H_
17 #define _RTE_CONFIG_H_
18
19 #include <rte_build_config.h>
20
21 /****** library defines ********/
22
23 /* EAL defines */
24 #define RTE_MAX_MEMSEG 512
25 #define RTE_MAX_MEMZONE 2560
26 #define RTE_MAX_TAILQ 32
27 #define RTE_LOG_DP_LEVEL RTE_LOG_INFO
28 #define RTE_BACKTRACE 1
29 #define RTE_EAL_VFIO 1
30
31 /* bsd module defines */
32 #define RTE_CONTIGMEM_MAX_NUM_BUFS 64
33 #define RTE_CONTIGMEM_DEFAULT_NUM_BUFS 1
34 #define RTE_CONTIGMEM_DEFAULT_BUF_SIZE (512*1024*1024)
35
36 /* mempool defines */
37 #define RTE_MEMPOOL_CACHE_MAX_SIZE 512
38
39 /* mbuf defines */
40 #define RTE_MBUF_DEFAULT_MEMPOOL_OPS "ring_mp_mc"
41 #define RTE_MBUF_REFCNT_ATOMIC 1
42 #define RTE_PKTMBUF_HEADROOM 128
43
44 /* ether defines */
45 #define RTE_MAX_ETHPORTS 32
46 #define RTE_MAX_QUEUES_PER_PORT 1024
47 #define RTE_ETHDEV_QUEUE_STAT_CNTRS 16
48 #define RTE_ETHDEV_RXTX_CALLBACKS 1
49
50 /* cryptodev defines */
51 #define RTE_CRYPTO_MAX_DEVS 64
52 #define RTE_CRYPTODEV_NAME_LEN 64
53
54 /* eventdev defines */
55 #define RTE_EVENT_MAX_DEVS 16
56 #define RTE_EVENT_MAX_QUEUES_PER_DEV 64
57
58 /* ip_fragmentation defines */
59 #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4
60 #undef RTE_LIBRTE_IP_FRAG_TBL_STAT
61
62 /* rte_power defines */
63 #define RTE_MAX_LCORE_FREQS 64
64
65 /* rte_sched defines */
66 #undef RTE_SCHED_RED
67 #undef RTE_SCHED_COLLECT_STATS
68 #undef RTE_SCHED_SUBPORT_TC_OV
69 #define RTE_SCHED_PORT_N_GRINDERS 8
70 #undef RTE_SCHED_VECTOR
71
72 /****** driver defines ********/
73
74 /*
75  * Number of sessions to create in the session memory pool
76  * on a single instance of crypto HW device.
77  */
78 /* QuickAssist device */
79 #define RTE_QAT_PMD_MAX_NB_SESSIONS 2048
80
81 /* DPAA2_SEC */
82 #define RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS 2048
83
84 /* DPAA_SEC */
85 #define RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS 2048
86
87 /* DPAA SEC max cryptodev devices*/
88 #define RTE_LIBRTE_DPAA_MAX_CRYPTODEV   4
89
90 /* fm10k defines */
91 #define RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE 1
92
93 /* i40e defines */
94 #define RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC 1
95 #undef RTE_LIBRTE_I40E_16BYTE_RX_DESC
96 #define RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF 64
97 #define RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF 4
98 #define RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM 4
99 /* interval up to 8160 us, aligned to 2 (or default value) */
100 #define RTE_LIBRTE_I40E_ITR_INTERVAL -1
101
102 /* Ring net PMD settings */
103 #define RTE_PMD_RING_MAX_RX_RINGS 16
104 #define RTE_PMD_RING_MAX_TX_RINGS 16
105
106 #endif /* _RTE_CONFIG_H_ */