]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_pci.h
net/qede/base: support periodic Doorbell Recovery
[dpdk.git] / drivers / net / virtio / virtio_pci.h
index 0ec2168744c9906724755465a1e3a68c9b6948bd..58fdd3d4537adefad1aa4f04838d8ac87348b731 100644 (file)
@@ -6,6 +6,7 @@
 #define _VIRTIO_PCI_H_
 
 #include <stdint.h>
+#include <stdbool.h>
 
 #include <rte_pci.h>
 #include <rte_bus_pci.h>
@@ -240,6 +241,8 @@ struct virtio_hw {
        uint8_t     use_simple_rx;
        uint8_t     use_inorder_rx;
        uint8_t     use_inorder_tx;
+       bool        has_tx_offload;
+       bool        has_rx_offload;
        uint16_t    port_id;
        uint8_t     mac_addr[ETHER_ADDR_LEN];
        uint32_t    notify_off_multiplier;