Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
dpdk: clear the RTE_MEMPOOL_F_NON_IO
[vpp.git]
/
src
/
plugins
/
dpdk
/
buffer.c
diff --git
a/src/plugins/dpdk/buffer.c
b/src/plugins/dpdk/buffer.c
index
e4d9e72
..
8b4b4a9
100644
(file)
--- a/
src/plugins/dpdk/buffer.c
+++ b/
src/plugins/dpdk/buffer.c
@@
-116,6
+116,9
@@
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)
+ mp->flags &= ~RTE_MEMPOOL_F_NON_IO;
+#endif
/* call the object initializers */
rte_mempool_obj_iter (mp, rte_pktmbuf_init, 0);