diff options
author | 2021-05-02 12:33:19 +0300 | |
---|---|---|
committer | 2021-05-03 04:55:51 -0400 | |
commit | 122b84a1267aec28ab929edae1ac700a03fb65e0 (patch) | |
tree | c833ffc67dc6b298fa46189845193fdd21d464ea /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | virtio-balloon: fix a typo in comment of virtballoon_migratepage() (diff) | |
download | linux-rng-122b84a1267aec28ab929edae1ac700a03fb65e0.tar.xz linux-rng-122b84a1267aec28ab929edae1ac700a03fb65e0.zip |
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 <mgurtovoy@nvidia.com>
Link: https://lore.kernel.org/r/20210502093319.61313-1-mgurtovoy@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions