summaryrefslogtreecommitdiffstats
path: root/src/stateless/cp/trex_dp_port_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stateless/cp/trex_dp_port_events.cpp')
-rw-r--r--src/stateless/cp/trex_dp_port_events.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stateless/cp/trex_dp_port_events.cpp b/src/stateless/cp/trex_dp_port_events.cpp
index 533ab605..f74068a3 100644
--- a/src/stateless/cp/trex_dp_port_events.cpp
+++ b/src/stateless/cp/trex_dp_port_events.cpp
@@ -64,6 +64,11 @@ TrexDpPortEvents::wait_for_event(TrexDpPortEvent::event_e ev, int event_id, int
m_events[ev].wait_for_event(event_id, timeout_ms);
}
+void
+TrexDpPortEvents::disable(TrexDpPortEvent::event_e ev) {
+ m_events[ev].disable();
+}
+
/**
* handle an event
*