-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/testpmd: fix secondary process packet forwarding
[ upstream commit 5028f207a4fa6d5cdd86019e43d2e2d80fa21ced ] 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: 3c4426d ("app/testpmd: do not poll stopped queues") Signed-off-by: Shiyang He <shiyangx.he@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com>
- Loading branch information
1 parent
096166c
commit 66c0e09
Showing
1 changed file
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters