From 70c60e35e0939129442408714a85a3f322688eb6 Mon Sep 17 00:00:00 2001 From: Colin Zhang <6488835+realzhangm@users.noreply.github.com> Date: Wed, 17 May 2023 10:21:14 +0800 Subject: [PATCH] Change DPDK version related to RTE_MEMPOOL_F_NON_IO flag. RTE_MEMPOOL_F_NON_IO is added from DPDK 21.11.0 --- src/plugins/dpdk/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/dpdk/buffer.c b/src/plugins/dpdk/buffer.c index 8b4b4a926b3b..cccd59379a29 100644 --- a/src/plugins/dpdk/buffer.c +++ b/src/plugins/dpdk/buffer.c @@ -116,7 +116,7 @@ dpdk_buffer_pool_init (vlib_main_t * vm, vlib_buffer_pool_t * bp) mp->populated_size++; nmp->populated_size++; } -#if RTE_VERSION >= RTE_VERSION_NUM(22, 3, 0, 0) +#if RTE_VERSION >= RTE_VERSION_NUM(21, 11, 0, 0) mp->flags &= ~RTE_MEMPOOL_F_NON_IO; #endif