[dpdk-dev] [PATCH] vfio: change default per vfio_cfg map all dpdk segments for DMA

Burakov, Anatoly anatoly.burakov at intel.com
Mon Sep 21 15:04:12 CEST 2020


On 15-May-20 12:01 PM, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> As all vfio_cfgs need to map all dpdk segments for DMA, but now only
> default_vfio_cfg map it. This patch changes rte_vfio_setup_device()
> as a default map, so that IOMMU progrming does notneed to map dpdk
> segments separately.
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> ---

I'm pretty sure this was intentional. The other containers were supposed 
to call DMA maps manually. That said, i would probably ask the original 
submitter for the multi-container feature as i have only a vague idea of 
usages for this API.

+Zhihong, as that's the closest i could find to a maintainer for this 
functionality :)

-- 
Thanks,
Anatoly


More information about the dev mailing list