Files
linux-stable-mirror/include/linux
Xuan ZhuoandGreg Kroah-Hartman 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-03-04 07:19:30 -05:00
2026-03-25 11:03:01 +01:00
2025-09-11 17:19:15 +02:00
2024-12-14 19:53:51 +01:00
2026-07-24 15:54:27 +02:00
2024-12-14 19:54:37 +01:00
2026-07-24 15:54:17 +02:00
2026-01-11 15:19:01 +01:00
2025-07-06 10:58:04 +02:00
2026-01-11 15:18:35 +01:00
2025-06-04 14:40:25 +02:00
2026-06-01 17:39:24 +02:00
2025-08-15 12:04:54 +02:00
2026-06-19 13:37:20 +02:00
2026-01-11 15:18:48 +01:00
2025-02-01 18:30:05 +01:00
2026-01-11 15:19:13 +01:00