diff options
author | Xuan Zhuo <xuanzhuo@linux.alibaba.com> | 2023-08-10 20:30:56 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-09-03 18:10:23 -0400 |
commit | 8bd2f71054bd0bc997833e9825143672eb7e2801 (patch) | |
tree | d311672bfc9f0faad96a12cbf835a874dadefadd /drivers/net/virtio_net.c | |
parent | b6253b4e21939f1bb54e8fdb84c23af9c3fb834a (diff) | |
download | linux-8bd2f71054bd0bc997833e9825143672eb7e2801.tar.gz linux-8bd2f71054bd0bc997833e9825143672eb7e2801.tar.bz2 linux-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