]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mvneta/mvneta_ethdev.h
net/virtio: allocate vrings on device NUMA node
[dpdk.git] / drivers / net / mvneta / mvneta_ethdev.h
index 46a29ee9e9330ef0ad997419afa34378c4704dea..101b0a8176d6a72b6a83953ab1e199170b7cdce7 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. */