summaryrefslogtreecommitdiffstats
path: root/src/flow_stat.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-04-03 16:51:42 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-04-03 16:51:42 +0300
commitc70b71af56c49e320553d6f210ea3f912f69ec3c (patch)
tree66b6f849ac29fc39d8c36eedd0f4ae1e96415115 /src/flow_stat.h
parent82a3c6f217e2bf96d0e9a83239a23b1d950d9011 (diff)
Enabled flow stats for all interface types + needed corrections
Diffstat (limited to 'src/flow_stat.h')
-rw-r--r--src/flow_stat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flow_stat.h b/src/flow_stat.h
index b20a8b31..06b54d70 100644
--- a/src/flow_stat.h
+++ b/src/flow_stat.h
@@ -37,6 +37,8 @@
typedef std::map<uint32_t, uint16_t> flow_stat_map_t;
typedef std::map<uint32_t, uint16_t>::iterator flow_stat_map_it_t;
+class CRxCoreStateless;
+
class tx_per_flow_t_ {
public:
tx_per_flow_t_() {
@@ -220,6 +222,7 @@ class CFlowStatRuleMgr {
CFlowStatUserIdMap m_user_id_map; // map user ids to hw ids
uint8_t m_num_ports; // How many ports are being used
const TrexPlatformApi *m_api;
+ const CRxCoreStateless *m_rx_core;
int m_max_hw_id; // max hw id we ever used
uint32_t m_num_started_streams; // How many started (transmitting) streams we have
CNodeRing *m_ring_to_rx; // handle for sending messages to Rx core