Re: [PATCH v9 02/32] virtio: struct virtio_config_ops add callbacks for queue_reset

2022-04-11 Thread Jason Wang
On Tue, Apr 12, 2022 at 10:47 AM Jason Wang wrote: > > > 在 2022/4/6 上午11:43, Xuan Zhuo 写道: > > Performing reset on a queue is divided into four steps: > > > > 1. transport: notify the device to reset the queue > > 2. vring: recycle the buffer submitted > > 3. vring: reset/resize the

Re: [PATCH v9 02/32] virtio: struct virtio_config_ops add callbacks for queue_reset

2022-04-11 Thread Jason Wang
在 2022/4/6 上午11:43, Xuan Zhuo 写道: Performing reset on a queue is divided into four steps: 1. transport: notify the device to reset the queue 2. vring: recycle the buffer submitted 3. vring: reset/resize the vring (may re-alloc) 4. transport: mmap vring to device, and enable the

[PATCH v9 02/32] virtio: struct virtio_config_ops add callbacks for queue_reset

2022-04-05 Thread Xuan Zhuo
Performing reset on a queue is divided into four steps: 1. transport: notify the device to reset the queue 2. vring: recycle the buffer submitted 3. vring: reset/resize the vring (may re-alloc) 4. transport: mmap vring to device, and enable the queue In order to support queue reset, a