summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2023-08-10 20:30:56 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-09-03 18:10:23 -0400
commit8bd2f71054bd0bc997833e9825143672eb7e2801 (patch)
treed311672bfc9f0faad96a12cbf835a874dadefadd /drivers/net/virtio_net.c
parentb6253b4e21939f1bb54e8fdb84c23af9c3fb834a (diff)
downloadlwn-8bd2f71054bd0bc997833e9825143672eb7e2801.tar.gz
lwn-8bd2f71054bd0bc997833e9825143672eb7e2801.zip
virtio_ring: introduce dma sync api for virtqueue
These API has been introduced: * virtqueue_dma_need_sync * virtqueue_dma_sync_single_range_for_cpu * virtqueue_dma_sync_single_range_for_device These APIs can be used together with the premapped mechanism to sync the DMA address. Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Message-Id: <20230810123057.43407-12-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions