DUNE-DAQ / dpdklibs

DPDK related wrappers (for EAL), modules, and utilities.
0 stars 1 forks source link

Launch rte-wokers at the end of configuring #112

Closed alessandrothea closed 8 months ago

alessandrothea commented 8 months ago

For monitoring and pinning purposes, it is useful to start rte-worker threads at the end of configure, such that thread pinning can be performed before packet flow is established.

This PR moves the start of IFaceWrappers at the end of NICReader::do_conf and introduces a new m_lcore_enable_flow that is used to enable packet forwarding to output queues. m_lcore_enable_flow is set to true at start and set back to false at stop. Only if m_lcore_enable_flow is true, packets are forwarded to output queues.