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.
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 ofNICReader::do_conf
and introduces a newm_lcore_enable_flow
that is used to enable packet forwarding to output queues.m_lcore_enable_flow
is set totrue
at start and set back tofalse
atstop
. Only ifm_lcore_enable_flow
is true, packets are forwarded to output queues.