Re: [PATCH v4] app/testpmd: fix secondary process not forwarding

2023-03-08 Thread Ferruh Yigit
On 3/8/2023 4:19 PM, Shiyang He wrote: > Under multi-process scenario, the secondary process gets queue state > from the wrong location (the global variable 'ports'). Therefore, the > secondary process can not forward since "stream_init" is not called. > > This commit fixes the issue by calling 'r

[PATCH v4] app/testpmd: fix secondary process not forwarding

2023-03-08 Thread Shiyang He
Under multi-process scenario, the secondary process gets queue state from the wrong location (the global variable 'ports'). Therefore, the secondary process can not forward since "stream_init" is not called. This commit fixes the issue by calling 'rte_eth_rx/tx_queue_info_get' to get queue state f