bus/pci: fix Windows kernel driver categories
[dpdk.git] / drivers / net / virtio / virtio_user / virtio_user_dev.h
index 36d2410..8a62f7e 100644 (file)
@@ -29,15 +29,6 @@ struct virtio_user_dev {
        enum virtio_user_backend_type backend_type;
        bool            is_server;  /* server or client mode */
 
-       /* for vhost_vdpa backend */
-       int             vhostfd;
-
-       /* for vhost_kernel backend */
-       char            *ifname;
-       int             *vhostfds;
-       int             *tapfds;
-
-       /* for both vhost_user and vhost_kernel */
        int             callfds[VIRTIO_MAX_VIRTQUEUES];
        int             kickfds[VIRTIO_MAX_VIRTQUEUES];
        int             mac_specified;
@@ -50,12 +41,13 @@ struct virtio_user_dev {
        uint64_t        device_features; /* supported features by device */
        uint64_t        frontend_features; /* enabled frontend features */
        uint64_t        unsupported_features; /* unsupported features mask */
-       uint64_t        protocol_features; /* negotiated protocol features */
        uint8_t         status;
        uint16_t        net_status;
        uint16_t        port_id;
        uint8_t         mac_addr[RTE_ETHER_ADDR_LEN];
        char            path[PATH_MAX];
+       char            *ifname;
+
        union {
                struct vring            vrings[VIRTIO_MAX_VIRTQUEUES];
                struct vring_packed     packed_vrings[VIRTIO_MAX_VIRTQUEUES];