aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2023-08-10 20:30:48 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-09-03 18:10:22 -0400
commit8daafe9ebbd21a54bf91f9ff81decf215c203edd (patch)
tree9b15d6baeed8a4bf8c13aacdff9951f33d1e4aa3 /lib/crypto/mpi/mpi-inline.h
parent0e27fa6ddeb0e070398692e369ce52fa91f9442d (diff)
virtio_ring: introduce virtqueue_set_dma_premapped()
This helper allows the driver change the dma mode to premapped mode. Under the premapped mode, the virtio core do not do dma mapping internally. This just work when the use_dma_api is true. If the use_dma_api is false, the dma options is not through the DMA APIs, that is not the standard way of the linux kernel. Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Message-Id: <20230810123057.43407-4-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions