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 7BB66457C4; Wed, 14 Aug 2024 17:01:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AD6B402C4; Wed, 14 Aug 2024 17:01:26 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id BD92840274 for ; Wed, 14 Aug 2024 17:01:24 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1fc6ee64512so51314885ad.0 for ; Wed, 14 Aug 2024 08:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1723647684; x=1724252484; 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=5rNt18qU2r6cSNJ532LdxG9jcRW9DrepklhZnaujdXY=; b=Y6vpjD6yY821wei8zVOs+KJLWzF88s9eqQFTwCWUJw1O1SXOOI8rwbh/0wbL8lw0Gd vQg2l0gWre2Pd7/zXzHQfwiKkrQk8Tgji3LLBRwccv09CKjvMnhxg4xUvTSvLSzUBhOo h1e8zAMlxNjez9PXfzb1NnObtYdYirSX/cLZVNGniL2oGwZwv4on3CP9D626eLZ/L2L5 nh8DNlDDDScyfqiYLnr3KbGirb04T1/a1VyqADZKKPLIACEHZ5pWD2/nLaQZ6xPUYw3r tKE97AvYQsd2fnBTWriyBU/URgHDIa51PIP2g/yj4szg068yWJiOuULqPmRqbBIHndy6 SlWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723647684; x=1724252484; 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=5rNt18qU2r6cSNJ532LdxG9jcRW9DrepklhZnaujdXY=; b=jz1S+avNKLrKVIFnZEBpmUKlS6S7XmlOUfNHvFASp1M5jWMZqeD2yKnFTwD1UbE8NG NiGP7TGnSxmMTWAvFYSF7LCIJ2J2Zi3B6aOYZzteNOTxtwoC5pE9mx/nsEyAJNA+GtSO AHyncdzetTPAfnTSKbXIf5ISaDkcjwLkrm+scANpvKF/uiEcFOhM874An+VeNtSGjxbu m/AzgN6oXmrmejHsXDGFfJ1pELNaG5wMb/2y7vTfU2LslS3pDYRN2d5EWNgoWBVAiM5P STBjQlu49SAzhD87mOvh6XFGz585LF5NB2gOUeeb9NsnSqAWrTTF9uXC3JdC6qm8V7cf QUNg== X-Gm-Message-State: AOJu0YzcyEA50SN3YuBseSEkFh3kp5y9r+Duz+17cTUhp526/L6Ykl7M d7N7y//euxI8d5hSX/uYdv12GOaYjVsG4gxR2yuUuLE0QbzTjXKBr4FPnEF+XGc= X-Google-Smtp-Source: AGHT+IF+SYT8bBNP6XjeMOZJ7n+N5O+M00B39/xMEdYeVGuraWh/RrxWgQ4sdqAySrzeMWWPwTD4vQ== X-Received: by 2002:a17:903:188:b0:201:eb57:dfaa with SMTP id d9443c01a7336-201eb57e0c5mr7304825ad.17.1723647682677; Wed, 14 Aug 2024 08:01:22 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201cd1a9403sm30459395ad.151.2024.08.14.08.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2024 08:01:22 -0700 (PDT) Date: Wed, 14 Aug 2024 08:01:19 -0700 From: Stephen Hemminger To: Bruce Richardson Cc: dev@dpdk.org, ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: Re: [RFC PATCH v2 26/26] config: add computed max queues define for compatibility Message-ID: <20240814080119.3c1b3fbd@hermes.local> In-Reply-To: <20240813160003.423935-27-bruce.richards@intel.com> References: <20240812132910.162252-1-bruce.richardson@intel.com> <20240813160003.423935-1-bruce.richards@intel.com> <20240813160003.423935-27-bruce.richards@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 13 Aug 2024 17:00:03 +0100 Bruce Richardson wrote: > +.. note:: > + > + The define ``RTE_MAX_QUEUES_PER_PORT`` is kept for backward compatibility. > + Its value is no longer hard-coded, > + but is set, at configuration time, to the maximum of the configured max Rx and Tx queue values. Would rather it just be marked __rte_deprecated because a runtime calculation is going to break code that uses this to size arrays at compile time.