]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
virtio: rename dma helpers
authorJason Wang <jasowang@redhat.com>
Thu, 21 Aug 2025 06:46:35 +0000 (14:46 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Oct 2025 11:24:43 +0000 (07:24 -0400)
commitb41cb3bcf67fcb7b8297e5acc5bb3309c96c2ff2
treeac1ecd0d6d573114a144425d3e6eb2f2604246f2
parent447beec8065b7505c09d1c16257ff9057ec29672
virtio: rename dma helpers

Following patch will introduce virtio mapping function to avoid
abusing DMA API for device that doesn't do DMA. To ease the
introduction, this patch rename "dma" to "map" for the current dma
mapping helpers.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20250821064641.5025-4-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
drivers/net/virtio_net.c
drivers/virtio/virtio_ring.c
include/linux/virtio.h