aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/dpdk/buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/dpdk/buffer.c b/src/plugins/dpdk/buffer.c
index d7a79161386..d691f9d205c 100644
--- a/src/plugins/dpdk/buffer.c
+++ b/src/plugins/dpdk/buffer.c
@@ -150,7 +150,8 @@ dpdk_buffer_pool_init (vlib_main_t * vm, vlib_buffer_pool_t * bp)
pointer_to_uword (va) : pm->page_table[i];
if (do_vfio_map &&
- rte_vfio_dma_map (pointer_to_uword (va), pa, page_sz))
+ rte_vfio_container_dma_map (RTE_VFIO_DEFAULT_CONTAINER_FD,
+ pointer_to_uword (va), pa, page_sz))
do_vfio_map = 0;
struct rte_mempool_memhdr *memhdr;