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

2022-07-03 Thread Jason Wang
在 2022/6/29 14:56, 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 v11 30/40] virtio_pci: support VIRTIO_F_RING_RESET

2022-06-28 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