summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2022-08-01 14:38:52 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-08-11 04:06:40 -0400
commit04ca0b0b16f11faf74fa92468dab51b8372586cd (patch)
tree65e01fe0d2f5b41896d883b97087cda6b6562aa9 /arch/um
parent56bdc06139404b3b06ed75ec99b93445d7e0b8c3 (diff)
downloadlinux-04ca0b0b16f11faf74fa92468dab51b8372586cd.tar.bz2
virtio_pci: support VIRTIO_F_RING_RESET
This patch implements virtio pci support for QUEUE RESET. Performing reset on a queue is divided into these steps: 1. notify the device to reset the queue 2. recycle the buffer submitted 3. reset the vring (may re-alloc) 4. mmap vring to device, and enable the queue This patch implements virtio_reset_vq(), virtio_enable_resetq() in the pci scenario. Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20220801063902.129329-33-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions