diff options
| author | Xuan Zhuo <[email protected]> | 2022-08-01 14:38:22 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2022-08-11 04:06:38 -0400 |
| commit | 3086e9fc9173166774652a488467e4176ee1c81b (patch) | |
| tree | 37c7dbf726eb15c0b319c85d631a1f64b13f49fe /tools/perf/scripts/python/stackcollapse.py | |
| parent | da802961832f9852886304290135457519815497 (diff) | |
virtio: struct virtio_config_ops add callbacks for queue_reset
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 reset, add two callbacks in struct
virtio_config_ops to implement steps 1 and 4.
Signed-off-by: Xuan Zhuo <[email protected]>
Acked-by: Jason Wang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions