]> Git Repo - linux.git/commit
virtio_ring: introduce virtqueue_dma_dev()
authorXuan Zhuo <[email protected]>
Thu, 10 Aug 2023 12:30:50 +0000 (20:30 +0800)
committerMichael S. Tsirkin <[email protected]>
Sun, 3 Sep 2023 22:10:23 +0000 (18:10 -0400)
commit2df64759071bdca2a12edb9af4f071e4419ad745
tree93b5c07e34c34572f96514dd1366394cc0f27911
parentd7344a2f71e38eb04fc16e3fef4f0580f42cbbd5
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 <[email protected]>
Acked-by: Jason Wang <[email protected]>
Message-Id: <20230810123057[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
drivers/virtio/virtio_ring.c
include/linux/virtio.h
This page took 0.053864 seconds and 4 git commands to generate.