diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-03-15 13:46:22 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-03-22 17:40:01 +0200 |
commit | 582d3f74d66b81fbe798e54e75ade27561da58d8 (patch) | |
tree | 6f3af27a1e632880f272e23f75ff012cf3a0968c /src/main_dpdk.h | |
parent | 64dd1f33ad253014d70db8f440bd2e9f7b7e9faf (diff) |
1g pkt flow stat working
Diffstat (limited to 'src/main_dpdk.h')
-rw-r--r-- | src/main_dpdk.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main_dpdk.h b/src/main_dpdk.h index a475d321..c5d2d4d7 100644 --- a/src/main_dpdk.h +++ b/src/main_dpdk.h @@ -39,8 +39,9 @@ class CPhyEthIFStats { uint64_t imcasts; /**< Total number of multicast received packets. */ uint64_t rx_nombuf; /**< Total number of RX mbuf allocation failures. */ uint64_t m_rx_per_flow [MAX_FLOW_STATS]; // Per flow RX statistics - // Previous fdir stats values read from HW. Since on xl710 this is 32 bit, we save old value, to handle wrap around. - uint32_t m_fdir_prev_stats [MAX_FLOW_STATS]; + // Previous fdir stats values read from driver. Since on xl710 this is 32 bit, we save old value, to handle wrap around. + uint32_t m_fdir_prev_pkts [MAX_FLOW_STATS]; + uint32_t m_fdir_prev_bytes [MAX_FLOW_STATS]; public: void Clear(); void Dump(FILE *fd); |