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/debug.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/debug.cpp')
-rw-r--r-- | src/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index ccef8499..d20721bf 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -399,7 +399,7 @@ int CTrexDebug::verify_hw_rules(bool recv_all) { memset(pkt_per_q, 0, sizeof(pkt_per_q)); // We don't know which interfaces connected where, so sum all queue 1 and all queue 0 for (int port = 0; port < m_max_ports; port++) { - for(int queue_id = 0; queue_id <= m_rx_q_num; queue_id++) { + for(int queue_id = 0; queue_id < m_rx_q_num; queue_id++) { lp = &m_ports[port]; uint16_t cnt = lp->rx_burst(queue_id, rx_pkts, 32); pkt_per_q[queue_id] += cnt; |