Files
linux-stable-mirror/include/linux
Xuan Zhuo 4b6c60f45b virtio_ring: introduce dma sync api for virtqueue
[ Upstream commit 8bd2f71054 ]

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>
Stable-dep-of: 9e5ad06ea8 ("virtio-net: fix len check in receive_big()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-07-24 15:54:49 +02:00
..
2026-07-24 15:54:27 +02:00
2026-07-24 15:54:17 +02:00
2026-06-01 17:39:24 +02:00
2026-06-19 13:37:20 +02:00