Re: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions

2017-05-18 Thread Burakov, Anatoly
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pawel Wodkowski > Sent: Wednesday, May 17, 2017 3:45 PM > To: dev@dpdk.org > Cc: Wodkowski, PawelX > Subject: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions > > Currently it is not possible to use memory

Re: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions

2017-05-18 Thread Wodkowski, PawelX
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, May 17, 2017 7:20 PM > To: Wodkowski, PawelX > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions > > On Wed, 17

Re: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions

2017-05-17 Thread Stephen Hemminger
On Wed, 17 May 2017 16:44:46 +0200 Pawel Wodkowski wrote: > /* IOMMU types we support */ > static const struct vfio_iommu_type iommu_types[] = { > /* x86 IOMMU, otherwise known as type 1 */ > - { RTE_VFIO_TYPE1, "Type 1", &vfio_type1_dma_map}, > + { RTE_VFIO_TYPE1, "Type 1", &vfio

[dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions

2017-05-17 Thread Pawel Wodkowski
Currently it is not possible to use memory that is not owned by DPDK to perform DMA. This scenarion might be used in vhost applications (like SPDK) where guest send its own memory table. To fill this gap provide API to allow registering arbitrary address in VFIO container. Signed-off-by: Pawel Wod