From d3b66fddf9840272b367f42e26ce16198eeadaf6 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Mon, 11 Apr 2016 10:34:23 +0300 Subject: payload tx stat work --- src/stateless/dp/trex_stateless_dp_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stateless/dp') 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); } -- cgit 1.2.3-korg