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

2023-02-21 Thread lihuisong (C)
在 2023/2/21 23:44, 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/t

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

2023-02-21 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