Skip to content

Commit

Permalink
Change DPDK version related to RTE_MEMPOOL_F_NON_IO flag.
Browse files Browse the repository at this point in the history
RTE_MEMPOOL_F_NON_IO is added from DPDK 21.11.0
  • Loading branch information
colinz2 authored May 17, 2023
1 parent 4810e5b commit 70c60e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/dpdk/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 70c60e3

Please sign in to comment.