summaryrefslogtreecommitdiffstats
path: root/src/stateless/dp/trex_stateless_dp_core.cpp
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-04-11 10:34:23 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-05-18 19:20:21 +0300
commitd3b66fddf9840272b367f42e26ce16198eeadaf6 (patch)
tree9c132a4133adf1a674a565676a13a58ed3f28560 /src/stateless/dp/trex_stateless_dp_core.cpp
parent8b1d07ff4019df739a233cdcb812048ee44ae554 (diff)
payload tx stat work
Diffstat (limited to 'src/stateless/dp/trex_stateless_dp_core.cpp')
-rw-r--r--src/stateless/dp/trex_stateless_dp_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stateless/dp/trex_stateless_dp_core.cpp b/src/stateless/dp/trex_stateless_dp_core.cpp
index 3d99e0fd..833fb6e1 100644
--- a/src/stateless/dp/trex_stateless_dp_core.cpp
+++ b/src/stateless/dp/trex_stateless_dp_core.cpp
@@ -804,7 +804,7 @@ TrexStatelessDpCore::add_stream(TrexStatelessDpPerPort * lp_port,
if (stream->m_rx_check.m_enabled) {
node->set_stat_needed();
uint8_t hw_id = stream->m_rx_check.m_hw_id;
- assert (hw_id < MAX_FLOW_STATS);
+ assert (hw_id < MAX_FLOW_STATS + MAX_FLOW_STATS_PAYLOAD);
node->set_stat_hw_id(hw_id);
}