summaryrefslogtreecommitdiff
path: root/include/linux/virtio_pci_modern.h
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-05-02 12:33:19 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-05-03 11:55:51 +0300
commit122b84a1267aec28ab929edae1ac700a03fb65e0 (patch)
treec833ffc67dc6b298fa46189845193fdd21d464ea /include/linux/virtio_pci_modern.h
parent3fd02fbbfac0dabb624606d1303d309f34ec15d4 (diff)
downloadlinux-122b84a1267aec28ab929edae1ac700a03fb65e0.tar.xz
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 'include/linux/virtio_pci_modern.h')
0 files changed, 0 insertions, 0 deletions