Re: [dpdk-dev] [PATCH v2 1/1] vfio: add page-by-page mapping API

2023-07-04 Thread Burakov, Anatoly
On 7/4/2023 12:48 AM, Stephen Hemminger wrote: On Thu, 2 Jun 2022 10:23:07 +0200 David Marchand wrote: Hello Anatoly, On Tue, Nov 2, 2021 at 4:54 PM Burakov, Anatoly wrote: On 28-Oct-21 3:09 PM, Anatoly Burakov wrote: Currently, there is no way to map memory for DMA in a way that allows u

Re: [dpdk-dev] [PATCH v2 1/1] vfio: add page-by-page mapping API

2023-07-03 Thread Stephen Hemminger
On Thu, 2 Jun 2022 10:23:07 +0200 David Marchand wrote: > Hello Anatoly, > > On Tue, Nov 2, 2021 at 4:54 PM Burakov, Anatoly > wrote: > > > > On 28-Oct-21 3:09 PM, Anatoly Burakov wrote: > > > Currently, there is no way to map memory for DMA in a way that allows > > > unmapping it partially l

Re: [dpdk-dev] [PATCH v2 1/1] vfio: add page-by-page mapping API

2022-06-02 Thread David Marchand
Hello Anatoly, On Tue, Nov 2, 2021 at 4:54 PM Burakov, Anatoly wrote: > > On 28-Oct-21 3:09 PM, Anatoly Burakov wrote: > > Currently, there is no way to map memory for DMA in a way that allows > > unmapping it partially later, because some IOMMU's do not support > > partial unmapping. There is a

Re: [dpdk-dev] [PATCH v2 1/1] vfio: add page-by-page mapping API

2021-11-02 Thread Burakov, Anatoly
On 28-Oct-21 3:09 PM, Anatoly Burakov wrote: Currently, there is no way to map memory for DMA in a way that allows unmapping it partially later, because some IOMMU's do not support partial unmapping. There is a workaround of mapping all of these segments separately, but this is inconvenient and s

[dpdk-dev] [PATCH v2 1/1] vfio: add page-by-page mapping API

2021-10-28 Thread Anatoly Burakov
Currently, there is no way to map memory for DMA in a way that allows unmapping it partially later, because some IOMMU's do not support partial unmapping. There is a workaround of mapping all of these segments separately, but this is inconvenient and silly, so this commit adds a proper API that doe