[PATCH v4] app/testpmd: fix secondary process not forwarding
Ferruh Yigit
ferruh.yigit at amd.com
Wed Mar 8 11:20:44 CET 2023
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 'rte_eth_rx/tx_queue_info_get'
> to get queue state from shared memory.
>
> Fixes: 3c4426db54fc ("app/testpmd: do not poll stopped queues")
> Cc: stable at dpdk.org
>
> Signed-off-by: Shiyang He <shiyangx.he at intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at amd.com>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list