Re: [PATCH v12 30/40] virtio_pci: support VIRTIO_F_RING_RESET

2022-07-21 Thread Xuan Zhuo
On Thu, 21 Jul 2022 17:15:11 +0800, Jason Wang wrote: > > 在 2022/7/20 11:04, Xuan Zhuo 写道: > > 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 su

Re: [PATCH v12 30/40] virtio_pci: support VIRTIO_F_RING_RESET

2022-07-21 Thread Jason Wang
在 2022/7/20 11:04, Xuan Zhuo 写道: 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 ena

[PATCH v12 30/40] virtio_pci: support VIRTIO_F_RING_RESET

2022-07-19 Thread Xuan Zhuo
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 vir