summaryrefslogtreecommitdiffstats
path: root/src/stateless
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2017-03-21 19:12:26 +0200
committerIdo Barnea <ibarnea@cisco.com>2017-03-21 19:12:26 +0200
commitfa8792d5faeabbd212dd252670bcca8d5b6eb412 (patch)
tree1ea13642c068aec997893c56718d78522ff1ce01 /src/stateless
parent0f2781cfb1d17bbae2788dcb638146e04d09f3e0 (diff)
flow stat parsers refactor and adding tests
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/stateless')
-rw-r--r--src/stateless/rx/trex_stateless_rx_port_mngr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stateless/rx/trex_stateless_rx_port_mngr.cpp b/src/stateless/rx/trex_stateless_rx_port_mngr.cpp
index ca06619b..0beeae69 100644
--- a/src/stateless/rx/trex_stateless_rx_port_mngr.cpp
+++ b/src/stateless/rx/trex_stateless_rx_port_mngr.cpp
@@ -54,7 +54,7 @@ RXLatency::create(CRFC2544Info *rfc2544, CRxCoreErrCntrs *err_cntrs) {
void
RXLatency::handle_pkt(const rte_mbuf_t *m) {
- CFlowStatParserSW parser;
+ CFlowStatParser parser(CFlowStatParser::FLOW_STAT_PARSER_MODE_SW);
int ret = parser.parse(rte_pktmbuf_mtod(m, uint8_t *), m->pkt_len);
if (m_rcv_all || (ret == 0)) {