On 7/24/24 12:08 PM, Martin KaFai Lau wrote:
For the tests without having its own netns, they can either move to netns (which I think it is a good thing to do) or use the traffic_monitor_start/stop() manually by changing the testing code, or a better way is to ask test_progs do it for the host netns (init_netns) automatically for all tests in the libpcap.list.
After another thought, probably scrape the init_netns auto capturing idea for now. I think it could be too noisy for the tests that do use netns.