Re: [PATCH v12 02/40] virtio: struct virtio_config_ops add callbacks for queue_reset

2022-07-20 Thread Jason Wang
在 2022/7/20 11:03, Xuan Zhuo 写道: reset can be divided into the following four steps (example): 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

[PATCH v12 02/40] virtio: struct virtio_config_ops add callbacks for queue_reset

2022-07-19 Thread Xuan Zhuo
reset can be divided into the following four steps (example): 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 res