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 123D046ECE for ; Thu, 11 Sep 2025 19:53:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 091DE40652; Thu, 11 Sep 2025 19:53:13 +0200 (CEST) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by mails.dpdk.org (Postfix) with ESMTP id 375D7402C4 for ; Thu, 11 Sep 2025 19:53:11 +0200 (CEST) Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-80cc99fe980so94628785a.2 for ; Thu, 11 Sep 2025 10:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1757613190; x=1758217990; 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=3dhV2MCMDHjAwx7SGrgR7GJ1MnmImjtYVd75RsVVyeg=; b=A2IP4wRUMLrcmAOaDu6LYpAl0OnmSesawsYh55q6D1H+EQpazqTtYsAQdbMkSLZoE6 ntfWKXxHdR6+y4P18njdt0WsQKMS59KIqd/6D8PV6RNQJ5N0f9YzmMpEBK0yae3PEWRK a1g22YsAlCwm0lFK9qGb+cB1lviLwITCH9DmrmAwvftVwwQ2WR6LoBua5750HMioKBFV VAYXLjCCTUy3sbNM6Ni3/vLyGKLZXHPdOVfZdlt+P3D4cEfxqThaCzoaov7zBrIgAQX8 EitJe9rpHcz9bRnc0KZkOUInnyoNcU/syAJ3mjIphEXeN9CYKlKgyKNImyqvgANeshv9 OQQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757613190; x=1758217990; 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=3dhV2MCMDHjAwx7SGrgR7GJ1MnmImjtYVd75RsVVyeg=; b=Jj9dMfG/rqL/XZo15182AlW1/l/vo+0TenXcmoNCyq45M2+IdAI14XkGo68ryeMWR2 kvHxtky7GmYQrxaAskGqHkigHMvB2gWO6SVgvzXHCFS3JWwAjK4GvdfvZ3FH6cqpffDl 8nqsyNhfT/cNx94K2NxHNimCRK9QBpMveDim0Pja/eCMEG5Qf7c0WWS0n5GziDl4WtsG mJj+ZLquyBmmxOQgOEqRa1BhxjbQ2TM/eMR1KqTQjqKqITFSakTNLUc5PjyCxs+PFTZz W4oLEC9+nru98JLDRGa79xo6X6KzH+DqFplMpep5l2T5W9oeML5hrYI2pT97vvA/Vm5Q gi3A== X-Forwarded-Encrypted: i=1; AJvYcCWaopEx3/cDwC2qSXzzxm0U8NutlQA2inp33Zg5p2hxNI1nLP9V+IADLWNfnNPdWT2OqrPdASU=@dpdk.org X-Gm-Message-State: AOJu0Yzi5WEyQ6U/7qgLIXptQArcKOz5X5wu0ZR9T6YTcgiQdd8izhEP Lql2Bxa2r3smH5EANg3R1P0A/scR7sRf9oiGtlXy2WFHSOpTVPI//hIBE2cMygtYT0Y= X-Gm-Gg: ASbGncsuHSrIj9HUOgvZ0oe2vTafS+qs0tL038tBYox82GYsHmefXPq8WOHmsfmBjnG SfRB88Qri0TmsfzZaMNT2JCbHMC8SRqglgBo6hEvAgQSzhvKkyo8cLSAx0jTKxwMr73R0y3tWvy L8mRi4yWQx/Ax034k2pdWQRbhmGAqXkQ7L/O/MukjdG/30JEo7r9wq40xer1rksV/T7+JhAJ6IB Gj42tpQi8opkg+TeE3FXkTA614rSInHgMlr2+MzOSd+VLmKFPQbREtJQs97EbUqZYBIAkKJCSaI V4jMImp6HsYk3nB5btKdRp3TX/0Q+Io4FtSt1k55kXUnEILzficeiBZmBJGvQ0Xcj+hBGW68mhW tiolFxgJWtcXG57iVYnPqcJb8KHQspxvSUbm+AEZpxJCGa43qI1i2dHX2at/TWlMwVBat5QlQ0D Y= X-Google-Smtp-Source: AGHT+IGBCXNDowvSqDFWjg0+RA0MKUHQReEurNIFKJfQXcCfFOVaXfFjvyxKDguQ5ZMw27DmthHPiw== X-Received: by 2002:a05:620a:a217:b0:813:9023:981d with SMTP id af79cd13be357-823fc1d337amr33704885a.19.1757613190049; Thu, 11 Sep 2025 10:53:10 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id af79cd13be357-820cf0079dasm138899485a.60.2025.09.11.10.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 10:53:09 -0700 (PDT) Date: Thu, 11 Sep 2025 10:53:05 -0700 From: Stephen Hemminger To: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk> Cc: Aman Singh , Anatoly Burakov , Ajit Khaparde , Lijun Ou , Ferruh Yigit , Andrew Rybchenko , dev@dpdk.org, stable@dpdk.org Subject: Re: [PATCH v2] app/testpmd: stop secondary process fwd_lcores during primary teardown Message-ID: <20250911105305.5eb9c67a@hermes.local> In-Reply-To: <20250911102501.473167-1-14pwcse1224@uetpeshawar.edu.pk> References: <20250910110237.460825-1-14pwcse1224@uetpeshawar.edu.pk> <20250911102501.473167-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 Thu, 11 Sep 2025 03:25:01 -0700 Khadem Ullah <14pwcse1224@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@dpdk.org > > Signed-off-by: Khadem Ullah <14pwcse1224@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.