diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-06-29 16:18:13 +0300 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-06-29 16:18:13 +0300 |
commit | 7772d0893579d0627c10515aeb6d9c9c8204316d (patch) | |
tree | a4336a4aae83331dffe7608207dd39f21f7e1315 /src/main_dpdk.cpp | |
parent | 7e4ec3d452e0a3d8517147b2bec45d4abdbc041d (diff) |
flow stat/latency error counters code + documentation
Diffstat (limited to 'src/main_dpdk.cpp')
-rw-r--r-- | src/main_dpdk.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp index 45e46810..941612b1 100644 --- a/src/main_dpdk.cpp +++ b/src/main_dpdk.cpp @@ -5760,6 +5760,10 @@ int TrexDpdkPlatformApi::get_rfc2544_info(void *rfc2544_info, int min, int max, return g_trex.m_rx_sl.get_rfc2544_info((rfc2544_info_t *)rfc2544_info, min, max, reset); } +int TrexDpdkPlatformApi::get_rx_err_cntrs(void *rx_err_cntrs) const { + return g_trex.m_rx_sl.get_rx_err_cntrs((CRxCoreErrCntrs *)rx_err_cntrs); +} + int TrexDpdkPlatformApi::reset_hw_flow_stats(uint8_t port_id) const { return g_trex.m_ports[port_id].reset_hw_flow_stats(); } |