summaryrefslogtreecommitdiffstats
path: root/src/stateless
diff options
context:
space:
mode:
Diffstat (limited to 'src/stateless')
-rw-r--r--src/stateless/rx/trex_stateless_rx_core.cpp1
-rw-r--r--src/stateless/rx/trex_stateless_rx_port_mngr.cpp6
2 files changed, 1 insertions, 6 deletions
diff --git a/src/stateless/rx/trex_stateless_rx_core.cpp b/src/stateless/rx/trex_stateless_rx_core.cpp
index 502af9c1..d27485de 100644
--- a/src/stateless/rx/trex_stateless_rx_core.cpp
+++ b/src/stateless/rx/trex_stateless_rx_core.cpp
@@ -211,6 +211,7 @@ void CRxCoreStateless::handle_work_stage() {
if ( (now - sync_time_sec) > 0 ) {
periodic_check_for_cp_messages();
+ sync_time_sec = now + (1.0 / 1000);
}
if ( (now - tick_time_sec) > 0) {
diff --git a/src/stateless/rx/trex_stateless_rx_port_mngr.cpp b/src/stateless/rx/trex_stateless_rx_port_mngr.cpp
index 4c54a132..5aac1ea6 100644
--- a/src/stateless/rx/trex_stateless_rx_port_mngr.cpp
+++ b/src/stateless/rx/trex_stateless_rx_port_mngr.cpp
@@ -735,12 +735,6 @@ RXPortManager::create(const TRexPortAttr *port_attr,
m_cpu_dp_u = cpu_util;
m_num_crc_fix_bytes = crc_bytes_num;
- /* if IPv4 is configured - add it to the grat service */
- uint32_t src_ipv4 = port_attr->get_src_ipv4();
- if (src_ipv4) {
- m_src_addr.insert(COneIPv4Info(src_ipv4, 0, port_attr->get_src_mac(), m_port_id));
- }
-
/* init features */
m_latency.create(rfc2544, err_cntrs);
m_server.create(m_port_id, io, &m_src_addr);