Please sign in to comment.
vfio: use contiguous mapping for IOVA as VA mode
[ upstream commit 78a6d7ed19353310fc83e75742e9e73ae17c1719 ] When using IOVA as VA mode, there is no need to map segments page by page. This normally isn't a problem, but it becomes one when attempting to use DPDK in no-huge mode, where VFIO subsystem simply runs out of space to store mappings. Fix this for x86 by triggering different callbacks based on whether IOVA as VA mode is enabled. Fixes: 73a6390 ("vfio: allow to map other memory regions") Signed-off-by: Anatoly Burakov <email@example.com> Tested-by: Andrius Sirvys <firstname.lastname@example.org>
- Loading branch information
Showing with 20 additions and 0 deletions.