diff options
author | Damjan Marion <damarion@cisco.com> | 2018-10-24 17:08:26 +0200 |
---|---|---|
committer | Marco Varlese <marco.varlese@suse.de> | 2018-10-25 10:52:42 +0000 |
commit | 567e61d09cd00174203eff85f63a598420476951 (patch) | |
tree | 528e0fb979a25f990a552cbb3c4b14d491cff678 /src/vlib/linux | |
parent | 3935fc8527c340535a00108b78f3de064df50a7f (diff) |
pmalloc: support for 4K pages
Change-Id: Iecceffe06a92660976ebb58cd3cbec4be8931db0
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/linux')
-rw-r--r-- | src/vlib/linux/vfio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/linux/vfio.c b/src/vlib/linux/vfio.c index d300a683dd7..1ed99ceee55 100644 --- a/src/vlib/linux/vfio.c +++ b/src/vlib/linux/vfio.c @@ -40,7 +40,7 @@ vfio_map_physmem_page (vlib_main_t * vm, void *addr) vlib_physmem_main_t *vpm = &vm->physmem_main; linux_vfio_main_t *lvm = &vfio_main; struct vfio_iommu_type1_dma_map dm = { 0 }; - uword log2_page_size = vpm->pmalloc_main->log2_page_sz; + uword log2_page_size = vpm->pmalloc_main->def_log2_page_sz; uword physmem_start = pointer_to_uword (vpm->pmalloc_main->base); if (lvm->container_fd == -1) |