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 4422846CFE; Mon, 11 Aug 2025 16:44:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13EE940DDB; Mon, 11 Aug 2025 16:44:55 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2047.outbound.protection.outlook.com [40.107.243.47]) by mails.dpdk.org (Postfix) with ESMTP id B77CF402AC for ; Mon, 11 Aug 2025 16:44:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oeSO/leEn3sYJqNLmWsHA2oeS4rWSXs5HG+pErxd/CMe9CBm+bb21UbNc0gM1/4paGG0vtkOfgWTV11xpA/Famtb5yuEE19uVRUWSZSSJTeuabVYmwcQjIdEfif8DwRLV1uAck38MUl0f6dOsKTCs9flnBBnTk31jz8TwaCx0z2S4hSs49NjvuLQFqilHmftu9sR8zhlQERS68exyYoYfBsfOVlWVWdDYlYbgLjscBPdFHBIMDaX1hOR2kmti62o5etp7rCEJdNf1JygNIhpe4hqj4+Rf9bLsEYgZ2HZuhjtsWLThN3zPQi1OVhmuKUJYDFIUxuMgSqfOeEN4yYirA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6nXde1tqFK51whl7ol7FYnFBG/9K0Zlw+y/mDLIJXVQ=; b=Ng3CRypb4sGMJ0fNKC4KdLzygOIiYf496zFBFkYBAtPHKzAPe+WxiWigdS8hguBzhdw2t2aR7tRFDCKjc1U1LkosYIhZFe8DMuE1QttYE+PL3UuXkj8nqvuz5cBK+G1VxEDUc7+jOjDiVOKAQDuAF2D6T2jxoLEERr4qcXt2Zx2YhHPuWt2MErPAIzS4JpNs7Wrezc8+XSq/QTJk6K0QA3yjHMK2eonS2XQ1be7jw7GG3j+nUrWRhlXBVho5ZBkT4hy4iYwukcocG+xnff0W2mY6TCGAl09cjjyOrPkn/br7yXYf7Sv2o2Q8E1Ov9YhT4/SM7g+kuAjgCHnD5KzTkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6nXde1tqFK51whl7ol7FYnFBG/9K0Zlw+y/mDLIJXVQ=; b=um5pvzYaJC2vO7zVR72ERrw/rrdPoiKZSEdQvENv4dXoVO/iUJ9Zv4fsIEHx9CNUyclWwDRx4nOsWL0CPSxb+JlCF5lPdxtDtaI3Gzd8AdUhN9V1e8G2AOf6f4rrYR1AHID0pLEMYEjLlf2B9r+QtEKe7pnfMb5/d8XZm4e/9TA= Received: from PH7PR12MB8596.namprd12.prod.outlook.com (2603:10b6:510:1b7::6) by BN5PR12MB9462.namprd12.prod.outlook.com (2603:10b6:408:2ac::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9009.15; Mon, 11 Aug 2025 14:44:51 +0000 Received: from PH7PR12MB8596.namprd12.prod.outlook.com ([fe80::a011:943d:7291:8069]) by PH7PR12MB8596.namprd12.prod.outlook.com ([fe80::a011:943d:7291:8069%2]) with mapi id 15.20.9009.013; Mon, 11 Aug 2025 14:44:50 +0000 From: "Varghese, Vipin" To: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk> CC: Stephen Hemminger , "thomas@monjalon.net" , "Yigit, Ferruh" , "andrew.rybchenko@oktetlabs.ru" , "dev@dpdk.org" Subject: RE: [PATCH v7] app/testpmd: monitor state of primary process when using secondary Thread-Topic: [PATCH v7] app/testpmd: monitor state of primary process when using secondary Thread-Index: AQHcBTOmTMs4cZesWkSBbj/ohPqRp7RYGXxwgAArOwCAAFY/MIAAD4mAgABTxwCABE1voIAADCgAgAABZ3CAAAoKgIAALdJA Date: Mon, 11 Aug 2025 14:44:50 +0000 Message-ID: References: <20250808114909.1606758-1-14pwcse1224@uetpeshawar.edu.pk> <20250808094900.5027f034@hermes.local> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Enabled=True; MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SetDate=2025-08-11T14:41:16.0000000Z; MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Name=Open Source; MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_ContentBits=3; MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Method=Privileged authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR12MB8596:EE_|BN5PR12MB9462:EE_ x-ms-office365-filtering-correlation-id: a83455c3-a9c1-429d-3e2e-08ddd8e5a085 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|8096899003|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?V4jIP/CfXYuZTa6CxJnujZQfC6XHagaZS4ElhMAGSMcO9AooJHpBmuP6MPKE?= =?us-ascii?Q?hZ2LhMcU34nCXxDf37FuvncMWh1yiiQ6zsYDAzD6uKa+E4te0CioNq5LQJ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PpZfFRRRwBjwxjGjZzcaqZPxdWgfAJ?= =?us-ascii?Q?3sJD7hB9+meiaOG8ObWlJbkPutw7NC/NdrCqJBzgRE+6T82Tnm+ABwqy7HJy?= =?us-ascii?Q?lI+j4/mhkNnscvpEdmCZGYbIY00ApeHw12PhjrfZ4hKdZoOtTkdYxh5s5U7J?= =?us-ascii?Q?P4vE7p1pqh6AQXMWVELTVEKsvsxeihjyykcv1OJJcKWbmitcAeBpaIzYBOtd?= =?us-ascii?Q?iOEbq5KBwncQ2YaNOTxpDFKVJHbIvoLEcb5qez8O7w/0A7S7Hn85/lyhsAsk?= =?us-ascii?Q?ympVALKCvTSmNRb17qum7G10jl/0kxZVrw/0//Zh1EVIbbLwtEtqj7wyxXoe?= =?us-ascii?Q?hdCgf3T0V63P3tHdLtYEWHH+ZHLmc1uhTuxPH+xr2FXMxpRdbTiAH4kDOxLF?= =?us-ascii?Q?cCgNhxCVrDn37GuuE7JY82EF8aBu6opcbIw5aoSpynj7hsQyARCCzZA1lRN3?= =?us-ascii?Q?RmrAGH3q3/0oUVGgzJoEwHjPc2Gj8lyVsbcZRW/ExYYAy+sLqSURc9miZM+U?= =?us-ascii?Q?0yRmc+Xh/8S3t6I=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR12MB8596.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(8096899003)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cYIZuOkvXYBIBg3jT1i7zkMRc0zXM2kFJ7V7DZY+cwUMIKYsw0gwDwC4Mnj4?= =?us-ascii?Q?Wc1BFVy9rXwNOWH2/E1AxKC3BKAKdgXA7sI3h7NDicUBLpeuozxkXdOqLJdD?= =?us-ascii?Q?w+g0mjOpco6kJD86lNu4ysfwRcl3DAF7yXuEE8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Vf4ShaNcuEC8VgCI7qMpNGz4Ke9joPSoGXQQ/e91mnSHVaHy?= =?us-ascii?Q?rpLBYxns6/GZEGwYHDoJ9E13w4615IGDPzVfMcewPueC7hI9yq26ZBzNxYQ+?= =?us-ascii?Q?cOZYevk9xUmPDwQXyWnZTX6hs+h9uFFehb/BmdV7CG1Z4HjdggVTachr9w6k?= =?us-ascii?Q?TwiVwWKoa5kb0H2naQda/SJduWVFW1QyuAAGkz++sw/Ka0sp5LW6WQs7tYvR?= =?us-ascii?Q?DdlEYFE+B3UbWkT+W0/M0bZZqqdLeRyX1CoH1zWIfRiEIRdRqz+bLN7Kp/os?= =?us-ascii?Q?8pRRD72n+7r/ybXhDn3R9T6qBRm8/UQdlmd3gT/Yxrh6Z8otrEww4cLcosvW?= =?us-ascii?Q?EAXnLO4LCYhcwCEbJiEDXPKmFjStSTBWPDwcMm5WicUfaHm7wJlP1+laHl9e?= =?us-ascii?Q?l5lmoLiinmLJ3dAOB+7fhKq9/L0bo2+4m9Ipwe4JQJpvCk09CLlD/VAeww0O?= =?us-ascii?Q?Mfqn53HsXVdJhcrxhn4+trehXGdJy7YsqixuxDY4jkRbSvWhOKRdg/WRz5jn?= =?us-ascii?Q?041n9wwAB7mbaSZsXgWDZ7fVFhJlG/Akp4ZoWtP3?= Content-Type: multipart/alternative; boundary="_000_PH7PR12MB8596AF79DA967DCA9B68FF498228APH7PR12MB8596namp_" MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB8596.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a83455c3-a9c1-429d-3e2e-08ddd8e5a085 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2025 14:44:50.8301 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yNw3gppTSFHmzjIDLYpcibJ9tg+qFvH+N+ZsP8QK2XlR0fK5m/Ucv/95JxajCtzUAVHrvEIoRyYPbMbBi/KEIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN5PR12MB9462 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --_000_PH7PR12MB8596AF79DA967DCA9B68FF498228APH7PR12MB8596namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable [Public] Hi Khadem, Please do not use `sorry for any confusion`. Very clearly, I shared what wo= rks and why your case is different. Snipped Hi Vipin, sorry for any confusion. I am only trying to explain that these patches are= in its final state (waiting to upstream). [VV] it is not about the state, but of the quality and state. You have provided your valuable insights and I am very thankful for that. There was much discussion about these patches = from start to finish. Already mentioned that with Stephen and other community members, the discus= sion was started earlier and I have provided all the information to you in a singla email. "First we tried to prevent the crashes at PMD level, but it was not possible to add checks in each PMD. Then we tried to add safety checks in the ethdev layer, and it was not suitable as with primary closing all reference to device information (pointers) would lead to crashes." [VV] I did also share I checked these eemails, none of them discussed use f= or multi process communication as a trigger or why it is not useful. @Stephen Hemminger agreed to add a prim= ary-secondary monitoring mechanism. I am always open to healthy conversation! I will rest it here, I clearly understand your previous content ` The commu= nity agrees with the current solution. ` --_000_PH7PR12MB8596AF79DA967DCA9B68FF498228APH7PR12MB8596namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

[Public]


Hi Khadem,

 

Please do not use `sorry for any confusion`. Very cle= arly, I shared what works and why your case is different.

Snipped

 

Hi Vipin, 

sorry for any confusion. I am only trying to explain=  that these patches are in its final state (waiting to upstream).=

 

[VV] it is not about the state, but of the quality an= d state.

 

You have provided your valuable insights and 

I am very thankful for that. There was much discussi= on about these patches from start to finish.  

  

Already mentioned that with Stephen and other commun= ity members, the discussion was started earlier and I have provided all the= information 

to you in a singla email. 

 "First we = tried
to prevent the crashes at PMD level, but it was not possible to
add checks in each PMD. Then we tried to add safety checks
in the ethdev layer, and it was not suitable as with primary closing
all reference to device information (pointers) would lead to crashes."=  

[VV] I did also share = I checked these eemails, none of them discussed use for multi process commu= nication as a trigger or why it is not useful.

@Steph= en Hemminger  agreed to add a primary-secondary monitori= ng mechanism. 

 

I am always open to healthy conversation!=

 

I will rest it here, I= clearly understand your previous content ` The community agrees wit= h the current solution. `

--_000_PH7PR12MB8596AF79DA967DCA9B68FF498228APH7PR12MB8596namp_--