[PATCH 22.11] app/testpmd: stop forwarding in secondary process [ upstream commit f96273c8e9d39e472bb07acc05e493b1e712e51b ]
    Luca Boccassi 
    luca.boccassi at gmail.com
       
    Fri Oct 31 14:46:02 CET 2025
    
    
  
On Wed, 29 Oct 2025 at 11:38, Khadem Ullah
<14pwcse1224 at uetpeshawar.edu.pk> wrote:
>
> When the secondary process testpmd application running any fwd_engine
> and after that primary has exited will cause a crash.
>
> This patch forces secondary process forwarding lcores
> in fwd_engine to stop before the primary process exits.
>
> Fixes: a550baf24af90f ("app/testpmd: support multi-process")
> Cc: stable at dpdk.org
>
> Signed-off-by: Khadem Ullah <14pwcse1224 at uetpeshawar.edu.pk>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> (cherry picked from commit f96273c8e9d39e472bb07acc05e493b1e712e51b)
> ---
>  app/test-pmd/testpmd.c | 103 +++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 99 insertions(+), 4 deletions(-)
Hi,
This fails to compile:
../app/test-pmd/testpmd.c:3728:8: error: return type defaults to ‘int’
[-Wimplicit-int]
 3728 | static RTE_ATOMIC(const char *) primary_name;
Please test patches before sending them for stable backports, as we
don't want to introduce regressions. Thanks.
    
    
More information about the stable
mailing list