Re: [dpdk-dev] [PATCH 18.11] vfio: map contiguous areas in one go

2020-09-16 Thread Mei, JianweiX
Tested-by: Mei,JianweiX < jianweix@intel.com> -Original Message- From: dev On Behalf Of Anatoly Burakov Sent: Wednesday, September 16, 2020 7:26 PM To: dev@dpdk.org Cc: sta...@dpdk.org Subject: [dpdk-dev] [PATCH 18.11] vfio: map contiguous areas in one go Currently, when

[dpdk-dev] [PATCH 18.11] vfio: map contiguous areas in one go

2020-09-16 Thread Anatoly Burakov
Currently, when we are creating DMA mappings for memory that's either external or is backed by hugepages in IOVA as PA mode, we assume that each page is necessarily discontiguous. This may not actually be the case, especially for external memory, where the user is able to create their own IOVA tabl