ethdev: add VF statistics
authorIntel <intel.com>
Wed, 19 Dec 2012 23:00:00 +0000 (00:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:23:28 +0000 (15:23 +0200)
Signed-off-by: Intel
lib/librte_ether/rte_ethdev.h

index 4e57af8..733aef7 100644 (file)
@@ -203,6 +203,14 @@ struct rte_eth_stats {
        /**< Total number of successfully transmitted queue bytes. */
        uint64_t q_errors[RTE_ETHDEV_QUEUE_STAT_CNTRS];
        /**< Total number of queue packets received that are dropped. */
+       uint64_t ilbpackets;
+       /**< Total number of good packets received from loopback,VF Only */
+       uint64_t olbpackets;
+       /**< Total number of good packets transmitted to loopback,VF Only */
+       uint64_t ilbbytes;
+       /**< Total number of good bytes received from loopback,VF Only */
+       uint64_t olbbytes;
+       /**< Total number of good bytes transmitted to loopback,VF Only */
 };
 
 /**