diff options
author | Max Gurtovoy <[email protected]> | 2021-05-02 12:33:19 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-05-03 04:55:51 -0400 |
commit | 122b84a1267aec28ab929edae1ac700a03fb65e0 (patch) | |
tree | c833ffc67dc6b298fa46189845193fdd21d464ea /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3fd02fbbfac0dabb624606d1303d309f34ec15d4 (diff) |
virtio-net: don't allocate control_buf if not supported
Not all virtio_net devices support the ctrl queue feature. Thus, there
is no need to allocate unused resources.
Signed-off-by: Max Gurtovoy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions