[PATCH 0/3] testpmd support stop specify lcore

Stephen Hemminger stephen at networkplumber.org
Wed Nov 5 01:21:46 CET 2025


On Tue, 4 Nov 2025 12:09:13 +0800
Chengwen Feng <fengchengwen at huawei.com> wrote:

> This patch support stop specify lcore for testpmd, and also include
> two bugfix which found when test DCB function.
> 
> Chengwen Feng (3):
>   app/testpmd: fix invalid txp when setup DCB forward
>   app/testpmd: fix wrong Rx queues when setup DCB forward
>   app/testpmd: support stop specify lcore
> 
>  app/test-pmd/cmdline.c                      | 63 +++++++++++++++++++++
>  app/test-pmd/config.c                       |  9 +--
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst |  7 +++
>  3 files changed, 73 insertions(+), 6 deletions(-)
> 

If there is a stop lcore, why is there not a command to restart the lcore?
Looks like this just an optimization for DCB.
Could it be handled better by having testpmd not spawn lcores that
have no queues? 



More information about the dev mailing list