diff options
author | 2023-08-10 20:30:50 +0800 | |
---|---|---|
committer | 2023-09-03 18:10:23 -0400 | |
commit | 2df64759071bdca2a12edb9af4f071e4419ad745 (patch) | |
tree | 93b5c07e34c34572f96514dd1366394cc0f27911 /scripts/generate_rust_analyzer.py | |
parent | virtio_ring: support add premapped buf (diff) | |
download | linux-rng-2df64759071bdca2a12edb9af4f071e4419ad745.tar.xz linux-rng-2df64759071bdca2a12edb9af4f071e4419ad745.zip |
virtio_ring: introduce virtqueue_dma_dev()
Added virtqueue_dma_dev() to get DMA device for virtio. Then the
caller can do dma operation in advance. The purpose is to keep memory
mapped across multiple add/get buf operations.
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230810123057.43407-6-xuanzhuo@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions