[PATCH v2] app/testpmd: stop secondary process fwd_lcores during primary teardown
Stephen Hemminger
stephen at networkplumber.org
Thu Sep 11 19:53:05 CEST 2025
On Thu, 11 Sep 2025 03:25:01 -0700
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>
NAK
As you said, you did not test it on Windows, yet you added #ifdef
for Windows support. Since Windows doesn't support secondary
processes (yet) how could you.
Adding Windows here has to wait until it can be tested.
More information about the dev
mailing list