diff options
author | imarom <imarom@cisco.com> | 2017-02-16 11:38:23 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2017-02-16 15:20:24 +0200 |
commit | b22e3ed1570f5c36e012022b75d6d025c8cc44d5 (patch) | |
tree | f21c92bb16c62e013e924449af56f3ed42ae40a6 /src/stateless/rx | |
parent | 17d58dba43eeae9f1519248c1fd62e9e4d2dc302 (diff) |
tx_capture - code review
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'src/stateless/rx')
-rw-r--r-- | src/stateless/rx/trex_stateless_capture.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stateless/rx/trex_stateless_capture.cpp b/src/stateless/rx/trex_stateless_capture.cpp index 3b0273a4..bbdb8f63 100644 --- a/src/stateless/rx/trex_stateless_capture.cpp +++ b/src/stateless/rx/trex_stateless_capture.cpp @@ -269,7 +269,9 @@ TrexStatelessCaptureMngr::reset() { } } +/* define this macro to stress test the critical section */ //#define STRESS_TEST + void TrexStatelessCaptureMngr::handle_pkt_slow_path(const rte_mbuf_t *m, int port, TrexPkt::origin_e origin) { |