#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
-#include <sys/types.h>
#include <sys/queue.h>
#include <unistd.h>
-#include <linux/vhost.h>
#include <linux/virtio_net.h>
#include <sys/socket.h>
#include <linux/if.h>
uint64_t guest_notifications;
uint64_t iotlb_hits;
uint64_t iotlb_misses;
+ uint64_t inflight_submitted;
+ uint64_t inflight_completed;
};
/**
struct rte_mbuf *mbuf;
uint16_t descs; /* num of descs inflight */
uint16_t nr_buffers; /* num of buffers inflight for packed ring */
+ struct virtio_net_hdr nethdr;
};
struct vhost_async {