New upstream version 17.11-rc3
[deb_dpdk.git] / drivers / net / virtio / virtio_pci.h
index 18caebd..36d452c 100644 (file)
@@ -37,6 +37,7 @@
 #include <stdint.h>
 
 #include <rte_pci.h>
+#include <rte_bus_pci.h>
 #include <rte_ethdev.h>
 
 struct virtqueue;
@@ -259,8 +260,9 @@ struct virtio_hw {
        uint8_t     vlan_strip;
        uint8_t     use_msix;
        uint8_t     modern;
-       uint8_t     use_simple_rxtx;
-       uint8_t     port_id;
+       uint8_t     use_simple_rx;
+       uint8_t     use_simple_tx;
+       uint16_t    port_id;
        uint8_t     mac_addr[ETHER_ADDR_LEN];
        uint32_t    notify_off_multiplier;
        uint8_t     *isr;