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 6FEDC46488 for ; Wed, 26 Mar 2025 15:14:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D1AF402E0; Wed, 26 Mar 2025 15:14:45 +0100 (CET) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id D34AA402DF for ; Wed, 26 Mar 2025 15:14:43 +0100 (CET) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-227b650504fso79542485ad.0 for ; Wed, 26 Mar 2025 07:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1742998483; x=1743603283; 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=islgWoBMf2vnrTi5HZON49v/nD3wAFbWv2tWOvqRJic=; b=GDcZ3+Y/1Sk8R8ZiBqScbs8W1l1FIU9L2UI/lSFqKJWKNp+/Y8eDQCuAVQtQeHDqi5 nAunfBn0TmOlTABWSq151WTfZ5GXpu5K/KUlzQ9tFxnZRp2pF8dpU4HRK3Hzsn6fdxXT ErA3Zkt82hyi/6bxpm/S4UFAhTtQTeLJsSuUnKLQBDfkT0W3/UiLZQl62DZdmKtY3vCw UfppPMoxsOB5YYeJOrIK/xro0st+ECXdz4wqRNx4nOzK9D/uw/6EcJnIlQi4hYG9B/nn dDqId0C2hwdx3p4cWBkcyzLRIUA4h+Xov6jWp1ic1OUHvljvlpp1aDomQ7aPSrddFbTt Lxkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742998483; x=1743603283; 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=islgWoBMf2vnrTi5HZON49v/nD3wAFbWv2tWOvqRJic=; b=jTTvks5xTRLko4KNR5k9m9Rcs557B2PmUzbhqGiS+dl2ueKlfEaHOx8GtlbE22XUWL UyMrHn3OUr2RMZZUU48arU9SA8q9SS663uktc1mrUwRe9ty1ps9FIXl5MXbYQIrBFR4a aPIRkdes6dc0naEE+4BvjcDjrpH5+dQHPf5EePdtuiiH0wIH3RZ+G1QAeyz0TFZbY5Jz 9cMDVaelE436kzg7qw3rAIaRTOlQAJRgUpZmXS+1ZhQlu7YP9NWpludsZVYa5VFH9Zsw wkwsz94A7mmYCaOSe3SUca0Cc/UBxOPYI1b22qWj3jiMFMSMFIVqCPTYmTEJV6HGGFN4 22Bw== X-Forwarded-Encrypted: i=1; AJvYcCVArTwVz60C5xlgw2mVvSw2SdKQOZD/8//8nwyeOGrGri16fUS1Bl2O5gigIH1tsgi7yc1Kkw==@dpdk.org X-Gm-Message-State: AOJu0YyHS1uGYkNy0kIsdt4pGvh7biMQmLPfAXXL9QFonbVHzmQRA0t3 D/qd1zUzL0N6acPgUDbVw/TREn45FW7WWN8ynRCZ2YiSWLqcyNZXwti16FuDCns= X-Gm-Gg: ASbGncvn4wVv6uE+27XdNIBRaovnzJUUH7Z41e//qfolUIx+CrE29C/d3oWUJiK4Tut 58pBKf46poY+L3y/JtK8Fy/twYpI2MERUZB8Sn3vXYM6iLlftWo927Bo+4ibBiDhwzTDYbqDJzs HItbWdCdtr3EXpsTQ3nPLe6u2MTM2lqyDfS0OgPUQccdP6TIAeArSGgfjcpPQe7rQMpTtueUssZ jYQj7FtmFw2pFHBu/H17qJiYBNChifRX4A8jB1zqKZBM9sqJqWqEzjEJ8IhPzcpWPVO8xJC7u1B hSDs8D7uCiEdiB5ksXKgc3KMQAhKzu0rvx3eLP4X5pOtkqHVoWbRolR2w1DAxH6Ljqpin2CFrR+ hD2QSmWBSMX4OoTvakfi9 X-Google-Smtp-Source: AGHT+IFHD/Y2BlOgInKQ0DrRlIXeAp0ShOV3ZKY0TGprfWb3WVdX7W2kTotSofgAzb1x70IanfpDZA== X-Received: by 2002:a17:903:1110:b0:21f:ba77:c45e with SMTP id d9443c01a7336-22780e20562mr266760275ad.45.1742998482704; Wed, 26 Mar 2025 07:14:42 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73906159fa1sm12212177b3a.151.2025.03.26.07.14.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Mar 2025 07:14:42 -0700 (PDT) Date: Wed, 26 Mar 2025 07:14:16 -0700 From: Stephen Hemminger To: "Kompella V, Purnima" Cc: "Lombardo, Ed" , "users@dpdk.org" Subject: Re: tailqs issue Message-ID: <20250326071416.4f7a2394@hermes.local> In-Reply-To: References: <20250319161659.573e9660@hermes.local> <20250325152006.00619b1f@hermes.local> <20250325154130.475c390c@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Wed, 26 Mar 2025 10:27:40 +0000 "Kompella V, Purnima" wrote: > Hi Stephen > > Isn't it possible to gather all the MEMPOOL_REGISTER_OPS (xxx) calls to a separate .c file in the dpdk source code > Like say drivers/mempool/common/rte_mempool_ops_reg.c containing below lines > > 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); That would be inflexible. Not every build needs all the ops. If you want to fix, a better approach would be to harden the registration process. Initializers and destructors are a problematic construct to debug.