diff options
author | Jiri Pirko <jiri@nvidia.com> | 2024-07-08 09:47:59 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-07-17 05:20:57 -0400 |
commit | c502eb85c34e29bb185e3d15dd9b8fce8a74f303 (patch) | |
tree | 931d0922cd5e1cabfa6df26d918f3c3f0140d70d /tools/perf/scripts/python/intel-pt-events.py | |
parent | 959538c11a88298672195a0eb3289c0f2f88b02d (diff) |
virtio: introduce virtio_queue_info struct and find_vqs_info() config op
Introduce a structure virtio_queue_info to carry name, callback and ctx
together. In order to allow config implementations to accept config op
with array of virtio_queue_info structures, introduce a new
find_vqs_info() op. Do the needed conversion in virtio_find_vqs_ctx().
Note that whole virtio_find_vqs_ctx() is going to be eventually removed
at the and of this patchset.
Suggested-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Message-Id: <20240708074814.1739223-5-jiri@resnulli.us>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions