On Wed, 30 Jul 2025 02:08:18 -0400 Khadem Ullah <14pwcse1...@uetpeshawar.edu.pk> 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: sta...@dpdk.org > > Signed-off-by: Khadem Ullah <14pwcse1...@uetpeshawar.edu.pk> > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> 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.