From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9AB6B46CAA for ; Mon, 4 Aug 2025 17:44:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88639400D5; Mon, 4 Aug 2025 17:44:25 +0200 (CEST) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mails.dpdk.org (Postfix) with ESMTP id DF758400D5 for ; Mon, 4 Aug 2025 17:44:24 +0200 (CEST) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-459ddb41539so4087085e9.2 for ; Mon, 04 Aug 2025 08:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1754322264; x=1754927064; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=qNECXithEUKeTm+UzMFUK4CDtQQixbTxNPzZ/VvrjzI=; b=pGcOwDr7zr9nRpJxlotoAbEdXATPSRSdgweQdAGLzTyUi2dDJJ6W1yXzGDYb23MyPe /rT64QKglXIWwkQCtJXWUXVKEpzUeXtCsUY0pEgoPcsLh26l7At5vMNp+3pDynFFezJN 6wT88y0hajHMJLHyn+GRxmYHMzUgjXMikHxuopsVLMoUuYNY2Jn1Ds/tZssO8n7JCUHe KbnEJEA0n0tM6aOJ0ODFJZFrbr181ak1bGk4gkLa19tLslXsoUwxSYFjnm6uSAyhjITE VaGcA8ty5p/NIQG3a5DND2hHIfHsbQwF4H/hE3EuHhblMai7PL88/FrNvxVKBlCIgXvL 0zPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754322264; x=1754927064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qNECXithEUKeTm+UzMFUK4CDtQQixbTxNPzZ/VvrjzI=; b=CjSw/p63rDzL3Lm83U2i3MqQN2esP6D59/q55lciBp2yVR6HCcPjCxGaNlmYX5fJch K4Ij7ShJKgwc4jZRzzJvS0DizwAwazcpZpvgpZLAp8uA8pKwFwTEZ/fl4kwxyvMeDB/R h0JhEqSNiYGbHrxv5t7YCjDAXo6/wzW3Bwpn3sXKGIZZxEywTlTdsCkNIORoQ4fTHcbW oZqPOh50It6lT0YcgVnHIVlrch8t7yzYXaRZTYVxfn4YWf9qMJPzekrboL3I9U3Ioi6G Jtu+JV60EiZ5C/OzlTzs7FShOy4pg1UAGl1P3pyb5wworDLa032rOVf//4NzdBM+RUQ5 7Njw== X-Forwarded-Encrypted: i=1; AJvYcCXdspwGttBYag3O+vQU2W7y5qz0aDO0FMhPOWB5uHkj9eigqHX3Nv1c598NsDIoILbrM+yXJVA=@dpdk.org X-Gm-Message-State: AOJu0YwSeFJjzQ/6wxvHjLvyPeQxsxjGlebM+FDjyC20P0sBGtp4q5WI YckB3Wu92syp/OGEH5I8amach/3HMLlgcXtwQyESGKiES7OS5eUZ7aEGPG+Hsfs1pjw= X-Gm-Gg: ASbGncvWF5Y+ccMYPPUpR28WvFkjZqDy45t50itdfFZw8GHWwi5wYtU5zyXQvILl72U SDdAM/pbhvC33aGLu1e5xIn1bLGwsDk2F9tV0MNDSOYBPdT3Uh08NFMZSNyNGPzFEi4fk9tYpX0 hdmBQYBebGidwxXCFHQEiSEQOTMFPUX1RJa5neMOZHyNEc0NZpcH/XQ20cjywDTOVJs8pESvC/E DZnxVduFZIYZ8NUXUOJ/Fm7r/gQxly5x/+7jagQb3ezr5Kk2Rq7D9teo/d5BYrn5MPAVyoN03HT o1ul6GYoLUBm2hr6PovnuQFe2cgKutp+p7VogJW3bsI5UGJbZhxDyIM6BPWaAmpYsh6ogMLSkCS u8F6LEKgPt6zOIkB3FKe70VuMBTRthEZB5OuMNSDABrgWYDA8n8NiDSZrFMJB+7bnzqBbq048+j A= X-Google-Smtp-Source: AGHT+IES9tOMhODrlzP0zrNqCamDBuqyrUD5twVgUb59lzi2Yg/zhxtCkucnYznZ2erABiopxkQHEQ== X-Received: by 2002:a05:600c:3b23:b0:455:f6cd:8703 with SMTP id 5b1f17b1804b1-458b6b5bee8mr102096935e9.31.1754322264290; Mon, 04 Aug 2025 08:44:24 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-459ded356b9sm21971215e9.12.2025.08.04.08.44.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Aug 2025 08:44:24 -0700 (PDT) Date: Mon, 4 Aug 2025 08:44:19 -0700 From: Stephen Hemminger To: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk> Cc: thomas@monjalon.net, ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru, dev@dpdk.org, stable@dpdk.org Subject: Re: [PATCH v7] app/testpmd: monitor state of primary process when using secondary Message-ID: <20250804084419.0ad9c527@hermes.local> In-Reply-To: <20250804113322.53650-1-14pwcse1224@uetpeshawar.edu.pk> References: <20250729063919.3554143-3-14pwcse1224@uetpeshawar.edu.pk> <20250804113322.53650-1-14pwcse1224@uetpeshawar.edu.pk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Mon, 4 Aug 2025 07:33:22 -0400 Khadem Ullah <14pwcse1224@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: stable@dpdk.org > > Signed-off-by: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk> > Signed-off-by: Stephen Hemminger > --- Queued to next-net for 25.11. Wonder if Windows plans to implement primary-secondary.