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 C741846485 for ; Wed, 26 Mar 2025 11:27:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57479402DF; Wed, 26 Mar 2025 11:27:44 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2054.outbound.protection.outlook.com [40.107.237.54]) by mails.dpdk.org (Postfix) with ESMTP id DB4DE402DA for ; Wed, 26 Mar 2025 11:27:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XIlMKtlkRDr1DPO3dNp87of6ONQCtNRYfSocrmT8hY2Dz/v3fAzHf0s0PjFdvxM3VstEtARjz0s2A74rlGyVQ2prACYdpAwuvKrRxenhAZWNP4YeA0Iafb+yW9CT8IOR8xeKCjIWJJhljEWEwEhMtS8SSt+a4si10Z5QT8t/1IGtBvPGFeySqlQHTrqwj+MYQ7sbZSyxS8TOsYSBoSRgV+jIuR/+CUbVZ3m7UxfgTTVOdUKSkVTCTd+8GniHe2QjStH7XR1JY6DkuR4cwLOE9CmWoI+d43zzRFyQ/YbdImWetAYjvjkFhcuYJYWssIowwNyRJXmphVKpblt/K7rU/A== 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=XL2BAXSMhti3LaK3s6niIP4OM4vvecn+5ULap/5jZ3Q=; b=ebP5Y/HyjGZczvLoUjT5NPBcmiiu/Kz1qet1NWBuYoYKqABMrGkLshol+wh6fXfeLphAXVAxyn8PuiIgYH0/+fdp3G1mdaLHxLRl0fwkASB+hZHCDYIZ6Jrt20klE5B1azd6C7I/12k1yDJJlgVq/fBhqxbrD7U0f7n5Cg/oJILRwZljhk7U5Cnd+n5nRj4vuuOeN5Sh5HzRJw3Vw7Gsbnbvg13iNy07ljNvGoLBIPHpuXRWD/Eep0tyH+nf5kMjelBy4RsR64KIycmZddnGnHrYMUFIkcNBZpgUg6h6QQsyELzDTjIez3Mzsya1WJ0ZiD3BW9RJZS2uoh3BLlzgpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=commscope.com; dmarc=pass action=none header.from=commscope.com; dkim=pass header.d=commscope.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=commscope.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XL2BAXSMhti3LaK3s6niIP4OM4vvecn+5ULap/5jZ3Q=; b=ZBV494MGF9/H5ZPltYyKPSo+xidkJ4BLrittDS7SWX+fuOn4vlQf3EU7oNy7moopfPPwZJHY8gBZmWeVVItNcZi8dz2qfASA8s38NsykG3XDO8BBq/TnLYRp2mNR8KQIAzJFIU6ReaQzEF15iI1+IA5MpJ33TdXM6qpgsfxA7rg= Received: from DM6PR14MB3597.namprd14.prod.outlook.com (2603:10b6:5:20c::16) by MN2PR14MB4064.namprd14.prod.outlook.com (2603:10b6:208:1d7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.44; Wed, 26 Mar 2025 10:27:40 +0000 Received: from DM6PR14MB3597.namprd14.prod.outlook.com ([fe80::8cb:da9e:5ec2:1c7a]) by DM6PR14MB3597.namprd14.prod.outlook.com ([fe80::8cb:da9e:5ec2:1c7a%3]) with mapi id 15.20.8534.043; Wed, 26 Mar 2025 10:27:40 +0000 From: "Kompella V, Purnima" To: "Lombardo, Ed" , Stephen Hemminger CC: "users@dpdk.org" Subject: RE: tailqs issue Thread-Topic: tailqs issue Thread-Index: AduY9RY0Q86kHIIzTwW3RWYKe22BSAAF7xuAAAKqzZAAA2FugABZg8GQAHdI0PAAGJ/dMAAD+cagAB3RdvAAEF8XwAAQLEoAAAAQ+JAAAK5dAAAAevwwABeS8XA= Date: Wed, 26 Mar 2025 10:27:40 +0000 Message-ID: References: <20250319132349.5ff339a7@hermes.local> <20250319161659.573e9660@hermes.local> <20250325152006.00619b1f@hermes.local> <20250325154130.475c390c@hermes.local> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=commscope.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR14MB3597:EE_|MN2PR14MB4064:EE_ x-ms-office365-filtering-correlation-id: d2ba5f0d-14e9-4d64-e4bf-08dd6c50d637 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?Dd0WojO1J7hotctKT83/J3qD0e9TEsq1bUtyngsb/b2mKHVRSgl8YVgekLKY?= =?us-ascii?Q?aBTD8W/h8qar6VX+tbrttxq6Mfhe5XK4q8N+LpfJvEY27600E/sMXKcSwS1j?= =?us-ascii?Q?DHvoGVY22pKyV7NKJ5g9LwNEYiXD7+fh+yviM13zxk+o6WbpHIDp3VFbcJgG?= =?us-ascii?Q?xcOsVk3fC9BULF2QJD07d2mpJr4vhTnHWlkcgXBiY+rtgVC+6DLACAdKyQgf?= =?us-ascii?Q?J7EK113JOr0YI1qq5lEIUtafpL1JvMXajF2agCnGRbOyUjlcQ1eCLbZ1LOEe?= =?us-ascii?Q?hKENuFImVkfkmlCo6ynqS8FxxVkeTKI5YVUj9+fOT+BzuH737ZOL0raplHYA?= =?us-ascii?Q?06y/CmB35iT0F/WLBgWJ1761qvrSpP9ycqSt9vIrUmTTtfAMt47dSoIma5nX?= =?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cRMUNgzIAvPH3AKDCpgmsVYPBAt0SGnWWfY/Ef3hVxEP?= =?us-ascii?Q?lEudNhGwqWNNb6iAhm5UMg2wg6idRAaQ8dgeVfnmID3A7N49a9ffqX4tuRe6?= =?us-ascii?Q?CXMld0911E6XFdWgJgbkVvkjUcK3rUIsjw+LH16lVE01KPTX7CMc/pduqSNY?= =?us-ascii?Q?y3QCuwB3Cw4LcWbqGAoDL++FwXlq8ksGTzK2hWyz4TBTPmavGT/CCA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR14MB3597.namprd14.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?U0gBdm+bqbSNSjyMZxVeYQKTRgSo7SDz3MqR2+wVGoL4VAeaMyNI65J7KOjG?= =?us-ascii?Q?nNCRjmIRr0Ooe2Ge1aYcbrmcCsnhKlSJ/aeqKEBgRb155Wff3WV58StKBAU+?= =?us-ascii?Q?O3DDTUnDx3YcU6ZmccuHGkF/sWXXOxEZ315x2KJhE/aTEpFCe4POnDoqEESk?= =?us-ascii?Q?vfG+lS+ZZL/DQ8ZLrPfmWUm3KYopgQr7ZpKWRkVob1R1ns9inys7PSFH4YA5?= =?us-ascii?Q?RQWKquCOn4JfxCkZU4wKUmDX9e6NEwrHXyuUsQ0dSEFt1DfeW4GbWWsPrvTZ?= =?us-ascii?Q?shmjZStP9QPUNUi7UWnrzmcGNcsRrKtuiykpxWYzto4fkdcp9kzjTuz/7xvu?= =?us-ascii?Q?qtSs3RiQys4TWUMDGp5FgXLerEo7ROt5c4BMMk/FfeXhPWgoKZTpEfJVORd4?= =?us-ascii?Q?TZWqAUsBED6H9tg10PjRadyVqxbtMYa1YGjQPKmRa6/2dFV1S87y7bhW7bQM?= =?us-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vA4zjfI/sEYXqiVD/9vPBkdcJzpDd?= =?us-ascii?Q?XGj5lK8sBbvALsK0vL5Bo5n0lke6Z37x+zTcLolP3Be6uTNY5wXT7op8eNct?= =?us-ascii?Q?5TF0NH038RVXBusfhEEqHYox3LaczybtKhV9wBjSWwUO8VXLTwQ62ukKk2DL?= =?us-ascii?Q?/megVpSew004NlIRJXkWujoaFsIGLhEmKQm/badgEuG34yutWYdw0HGf4aoM?= =?us-ascii?Q?jIL8vokIvDSLAxtz0s9bK1pZisBrsZAsdgH0/YleBhXslzREW/BVTvmVwfHK?= =?us-ascii?Q?Kg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: commscope.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR14MB3597.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2ba5f0d-14e9-4d64-e4bf-08dd6c50d637 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2025 10:27:40.3400 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 31472f81-8fe4-49ec-8bc3-fa1c295640d7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: M3bPgfMwa4nZSwaCCTxb+EQbYSJ9+Vz1qRyR1txQRx1VvzRPiQi8P5kHhngjtkU+JHA8Cv3VQbPQdmeZrIlcxEv78VTMCHqw8fSw/dan8T0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR14MB4064 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Stephen Isn't it possible to gather all the MEMPOOL_REGISTER_OPS (xxx) calls to a s= eparate .c file in the dpdk source code Like say drivers/mempool/common/rte_mempool_ops_reg.c containing below line= s MEMPOOL_REGISTER_OPS(ops_stack); MEMPOOL_REGISTER_OPS(ops_lf_stack); MEMPOOL_REGISTER_OPS(ops_bucket); MEMPOOL_REGISTER_OPS(ops_bucket); MEMPOOL_REGISTER_OPS(octeontx_fpavf_ops); Etc Etc This way both Primary and Secondary processes can get the same order of OPs= irrespective of the order of dpdk libs listing in their compilation. In the current method, each lib calls MEMPOOL_REGISTER_OPS(xx) in its own s= ource code and hence the order of OPs in struct rte_mempool_ops::name[] in = a DPDK process depends on the order of libs listed during compilation. Also, in struct rte_mempool, if we can add ops_name as a new data-member (a= long with ops_index that's already present), then=20 Primary process can populate struct rte_mempool::ops_name with the name of= the OP corresponding to struct rte_mempool::ops_index it had used to creat= e this mempool.=20 Secondary processes can validate whether in the secondary processes' OPs d= atabase, struct rte_mempool::ops_index is matching the struct rte_mempool::= ops_name=20 If a mismatch is detected, Secondary can call panic -- this kind of early f= ailure is better than everything only 'looking good` but not actually being= good. Regards, Purnima -----Original Message----- From: Lombardo, Ed =20 Sent: Wednesday, March 26, 2025 4:27 AM To: Stephen Hemminger Cc: Kompella V, Purnima ; users@dpdk.org Subject: RE: tailqs issue CAUTION: This message originated from an External Source outside of CommSco= pe.com. This may be a phishing email that can result in unauthorized access= to CommScope. Please use caution when opening attachments, clicking links,= scanning QR codes, or responding. You can report suspicious emails directl= y in Microsoft Outlook. Hi Stephen, Is there development work to remove this restriction, or is this impossible= ? Thanks, Ed -----Original Message----- From: Stephen Hemminger Sent: Tuesday, March 25, 2025 6:42 PM To: Lombardo, Ed Cc: Kompella V, Purnima ; users@dpdk.org Subject: Re: tailqs issue External Email: This message originated outside of NETSCOUT. Do not click l= inks or open attachments unless you recognize the sender and know the conte= nt is safe. On Tue, 25 Mar 2025 22:24:33 +0000 "Lombardo, Ed" wrote: > Hi Stephen, > I am building the dpdk-simple_mp example in meson/ninja. > > Our application is built in our custom build environment, and we are not = using DPDK shared libraries, but are linking to DPDK static libs. > > Thanks, > Ed Both need to be built the same way.