search for: virtio_dma_need_sync

Displaying 2 results from an estimated 2 matches for "virtio_dma_need_sync".

2023 Feb 20
1
[PATCH vhost 08/10] virtio_ring: introduce dma sync api for virtio
On Mon, 20 Feb 2023 13:38:20 +0800, Jason Wang <jasowang at redhat.com> wrote: > On Tue, Feb 14, 2023 at 3:27 PM Xuan Zhuo <xuanzhuo at linux.alibaba.com> wrote: > > > > These API has been introduced: > > > > * virtio_dma_need_sync > > * virtio_dma_sync_single_range_for_cpu > > * virtio_dma_sync_single_range_for_device > > What's the advantages of exporting internal logic like > virtio_dma_need_sync() over hiding it in > virtio_dma_sync_single_range_for_cpu() and > virtio_dma_sync_single_range_f...
2023 Feb 14
11
[PATCH vhost 00/10] virtio core prepares for AF_XDP
XDP socket(AF_XDP) is an excellent bypass kernel network framework. The zero copy feature of xsk (XDP socket) needs to be supported by the driver. The performance of zero copy is very good. ENV: Qemu with vhost. vhost cpu | Guest APP CPU |Guest Softirq CPU | PPS -----------------------------|---------------|------------------|------------ xmit by sockperf: 90% | 100%