net/virtio: allocate vrings on device NUMA node
[dpdk.git] / drivers / net / mvneta / mvneta_ethdev.h
index 46a29ee..101b0a8 100644 (file)
@@ -7,6 +7,10 @@
 #ifndef _MVNETA_ETHDEV_H_
 #define _MVNETA_ETHDEV_H_
 
+#include <rte_ethdev.h>
+#include <rte_malloc.h>
+#include <rte_log.h>
+
 /*
  * container_of is defined by both DPDK and MUSDK,
  * we'll declare only one version.
@@ -62,6 +66,7 @@ struct mvneta_priv {
        struct neta_ppio_params ppio_params;
 
        uint64_t rate_max;
+       struct rte_eth_stats prev_stats;
 };
 
 /** Current log type. */