diff options
author | Eli Cohen <[email protected]> | 2021-08-23 08:21:21 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-09-05 16:23:07 -0400 |
commit | e4fc66508c884b87422a98259cdfe135edae130f (patch) | |
tree | bbf28d6e3548b90ebda439f57795f45a606cc8a2 /tools/perf/util/trace-event-scripting.c | |
parent | db296d252dfb977885391e47d3fb6ac5a1f9601c (diff) |
vdpa/mlx5: Ensure valid indices are provided
Following patches add control virtuqeue and multiqueue support. We want
to verify that the index value to callbacks referencing a virtqueue is
valid.
The logic defining valid indices is as follows:
CVQ clear: 0 and 1.
CVQ set, MQ clear: 0, 1 and 2
CVQ set, MQ set: 0..nvq where nvq is whatever provided to
_vdpa_register_device()
Signed-off-by: Eli Cohen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions