On Tue, Apr 11, 2023 at 3:21 PM Xuan Zhuo <xuanz...@linux.alibaba.com> wrote: > > > Hi Jason > > Can we force virtio core to use dma api without VIRTIO_F_ACCESS_PLATFORM? > >
I don't think so. Without ACCESS_PLATFORM it's not DMA, so DMA API should be avoided. And we have several software devices for virtio now. I'd suggest involving AF_XDP maintainers to join the discussion to seek a solution. I tend to agree with Christoph that everything will be simplified if DMA is done at the driver level. Thanks > Thanks. > _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization