]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_user/virtio_user_dev.h
net/virtio-user: do not close tap when disabling queue pairs
[dpdk.git] / drivers / net / virtio / virtio_user / virtio_user_dev.h
index ad868377177e02a7e345070bf49777a1452f4c6c..3b6b6065a557e4a1fcf7ad9059b2ba0f1685df54 100644 (file)
@@ -49,6 +49,7 @@ struct virtio_user_dev {
                struct vring_packed     packed_vrings[VIRTIO_MAX_VIRTQUEUES];
        };
        struct virtio_user_queue packed_queues[VIRTIO_MAX_VIRTQUEUES];
+       bool            qp_enabled[VIRTIO_MAX_VIRTQUEUE_PAIRS];
 
        struct virtio_user_backend_ops *ops;
        pthread_mutex_t mutex;