diff options
| author | Parthakumar Roy <[email protected]> | 2024-02-20 14:57:35 +0000 |
|---|---|---|
| committer | Thomas Monjalon <[email protected]> | 2024-03-06 17:42:11 +0100 |
| commit | 6a9f3f6df9ef51e30ff5bf3eea00f27ffef87a16 (patch) | |
| tree | d8e5fb7ca4546298ecd25d2ebc41fbcc11edbfa7 /config | |
| parent | 362b11d129cbd0c262baab748631622c0570c34e (diff) | |
config: add Meson option for packet buffer headroom
The default value for RTE_PKTMBUF_HEADROOM used to be set in
config/rte_config.h. This patch removes it from the file and
instead, a Meson option, pkt_mbuf_headroom, is introduced to make
headroom tunable from the build process.
Signed-off-by: Parthakumar Roy <[email protected]>
Diffstat (limited to 'config')
| -rw-r--r-- | config/meson.build | 1 | ||||
| -rw-r--r-- | config/rte_config.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/config/meson.build b/config/meson.build index bbb931a457..8c8b019c25 100644 --- a/config/meson.build +++ b/config/meson.build @@ -355,6 +355,7 @@ dpdk_conf.set('RTE_MAX_ETHPORTS', get_option('max_ethports')) dpdk_conf.set('RTE_LIBEAL_USE_HPET', get_option('use_hpet')) dpdk_conf.set('RTE_ENABLE_STDATOMIC', get_option('enable_stdatomic')) dpdk_conf.set('RTE_ENABLE_TRACE_FP', get_option('enable_trace_fp')) +dpdk_conf.set('RTE_PKTMBUF_HEADROOM', get_option('pkt_mbuf_headroom')) # values which have defaults which may be overridden dpdk_conf.set('RTE_MAX_VFIO_GROUPS', 64) dpdk_conf.set('RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB', 64) diff --git a/config/rte_config.h b/config/rte_config.h index d743a5c3d3..dd7bb0d35b 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -62,7 +62,6 @@ /* mbuf defines */ #define RTE_MBUF_DEFAULT_MEMPOOL_OPS "ring_mp_mc" -#define RTE_PKTMBUF_HEADROOM 128 /* ether defines */ #define RTE_MAX_QUEUES_PER_PORT 1024 |
