On Wed, 30 Jul 2025 02:08:18 -0400
Khadem Ullah <[email protected]> wrote:

> In secondary processes, accessing device after primary has exited
> will cause crash.
> 
> This patch adds a mechanism in testpmd to monitor the primary process
> from the secondary process.
> When primary process exits it forces secondary to exit avoiding
> issues from cleanup logic.
> 
> Fixes: a550baf24af9 ('app/testpmd: support multi-process')
> Cc: [email protected]
> 
> Signed-off-by: Khadem Ullah <[email protected]>
> Signed-off-by: Stephen Hemminger <[email protected]>

The problem with this patch, is the build now fails on Windows
where there is no primary/secondary process support.

Either add stubs for Windows or #ifdef the code in test-pmd
as necessary.

Reply via email to