On Tue, Mar 14, 2023 at 3:32 PM Jason Wang wrote:
>
> On Wed, Mar 8, 2023 at 2:44 PM Xuan Zhuo wrote:
> >
> > virtio core only supports virtual addresses, dma is completed in virtio
> > core.
> >
> > In some scenarios (such as the AF_XDP), the memory is allocated
> > and DMA is completed in advan
On Wed, Mar 8, 2023 at 2:44 PM Xuan Zhuo wrote:
>
> virtio core only supports virtual addresses, dma is completed in virtio
> core.
>
> In some scenarios (such as the AF_XDP), the memory is allocated
> and DMA is completed in advance, so it is necessary for us to support
Should be "DMA mapping is
virtio core only supports virtual addresses, dma is completed in virtio
core.
In some scenarios (such as the AF_XDP), the memory is allocated
and DMA is completed in advance, so it is necessary for us to support
passing the DMA address to virtio core.
Drives can use sg->dma_address to pass the ma