summaryrefslogtreecommitdiffstats
path: root/src/stateless/rx/trex_stateless_rx_core.cpp
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-05-17 14:01:20 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-05-18 19:23:49 +0300
commitd9cc63306748f0ef954667753441ebc3367708e0 (patch)
treeffc1b2b3cf95bd620b33efe5d0b1d6fdce8c0bdc /src/stateless/rx/trex_stateless_rx_core.cpp
parent614582c85a6429088464de3154c68c0d8932e280 (diff)
small corrections to counters
Diffstat (limited to 'src/stateless/rx/trex_stateless_rx_core.cpp')
-rw-r--r--src/stateless/rx/trex_stateless_rx_core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stateless/rx/trex_stateless_rx_core.cpp b/src/stateless/rx/trex_stateless_rx_core.cpp
index 463fa7d3..39ecb4f2 100644
--- a/src/stateless/rx/trex_stateless_rx_core.cpp
+++ b/src/stateless/rx/trex_stateless_rx_core.cpp
@@ -154,8 +154,8 @@ void CRxCoreStateless::handle_rx_pkt(CLatencyManagerPerPortStl *lp, rte_mbuf_t *
m_rfc2544[hw_id].out_of_order += 1;
// We thought it was lost, but it was just out of order
m_rfc2544[hw_id].seq_err -= 1;
- m_rfc2544[hw_id].seq_err_events_too_low++;
}
+ m_rfc2544[hw_id].seq_err_events_too_low++;
}
} else {
if (unlikely (m_rfc2544[hw_id].seq - seq > 100000)) {
@@ -166,8 +166,8 @@ void CRxCoreStateless::handle_rx_pkt(CLatencyManagerPerPortStl *lp, rte_mbuf_t *
m_rfc2544[hw_id].out_of_order += 1;
// We thought it was lost, but it was just out of order
m_rfc2544[hw_id].seq_err -= 1;
- m_rfc2544[hw_id].seq_err_events_too_low++;
}
+ m_rfc2544[hw_id].seq_err_events_too_low++;
} else {
// seq > m_rfc2544[hw_id].seq. Assuming lost packets
m_rfc2544[hw_id].seq_err += seq - m_rfc2544[hw_id].seq;