diff options
author | Ido Barnea <ibarnea@cisco.com> | 2017-03-27 15:37:21 +0300 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2017-03-30 18:04:15 +0300 |
commit | fa6068394a80766175b59a2b38b4881ec70e7760 (patch) | |
tree | 98969a757daf77cd89a0fcfbbe5140d654247c81 /src/stateless/dp/trex_stateless_dp_core.cpp | |
parent | 2c839ec5098bf1ad39ec574729891c622a485083 (diff) |
Supporting more flows in stateless flow stats, according to NIC type, and running mode
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/stateless/dp/trex_stateless_dp_core.cpp')
-rw-r--r-- | src/stateless/dp/trex_stateless_dp_core.cpp | 2 |
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 b6aa15be..dd5282b8 100644 --- a/src/stateless/dp/trex_stateless_dp_core.cpp +++ b/src/stateless/dp/trex_stateless_dp_core.cpp @@ -998,7 +998,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; + uint16_t hw_id = stream->m_rx_check.m_hw_id; assert (hw_id < MAX_FLOW_STATS + MAX_FLOW_STATS_PAYLOAD); node->set_stat_hw_id(hw_id); // no support for cache with flow stat payload rules |