From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 9E7DC457C0;
	Wed, 14 Aug 2024 12:52:25 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id E21D440274;
	Wed, 14 Aug 2024 12:50:54 +0200 (CEST)
Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9])
 by mails.dpdk.org (Postfix) with ESMTP id A8C0642E45
 for <dev@dpdk.org>; Wed, 14 Aug 2024 12:50:50 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1723632651; x=1755168651;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=p6kROirfN4sTNph9PulI4CGYkGAru5dgH2GM7vJZVx4=;
 b=GrVfoD5/CGeCnFKo35OPEvS8t2geQWUFpvVkjx5I3vJh8a/FRz11irki
 uoruqS2uVMEi3FkSCae4ofzYZm3qC9CYUeIOlMOsdPcmbvj7rAj/PX46G
 PeO+SU65J2rCk7BqOmnFjgFQsQCTVjk3OL8PgYt2Ktw0o1JSDfhfTmN84
 33XltZw9SqSdcB40OSMZlJmSmb01nlimiLQOSYvk/MRCnnymwp06vRxqw
 B4TMC8sFe39W/G4//MurH9M6TcZvlKtSCGPV+7blTaXdh+fFEn8kPU/zB
 UNt6eTFV2HT+ZW495MmETBetWX+wUz8iFzzIXm9AOA9rUQvy1IoAcNvzf Q==;
X-CSE-ConnectionGUID: IuZbaIaNRHCKBIHMWU1QbA==
X-CSE-MsgGUID: IW1DB56XT2eA3SzujPNPcQ==
X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360403"
X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360403"
Received: from orviesa001.jf.intel.com ([10.64.159.141])
 by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 14 Aug 2024 03:50:50 -0700
X-CSE-ConnectionGUID: VuQbpKHNRImfIhwG8BzJlQ==
X-CSE-MsgGUID: psm90lZGTuCqrfNvqmuvkA==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481798"
Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25])
 by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:49 -0700
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com,
 Bruce Richardson <bruce.richardson@intel.com>
Subject: [PATCH v3 23/26] examples/l3fwd: use separate Rx and Tx queue limits
Date: Wed, 14 Aug 2024 11:49:29 +0100
Message-ID: <20240814104933.14062-24-bruce.richardson@intel.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20240814104933.14062-1-bruce.richardson@intel.com>
References: <20240812132910.162252-1-bruce.richardson@intel.com>
 <20240814104933.14062-1-bruce.richardson@intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Update example app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES
and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define
RTE_MAX_QUEUES_PER_PORT.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
---
 examples/l3fwd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c
index 01b763e5ba..0d711dec3e 100644
--- a/examples/l3fwd/main.c
+++ b/examples/l3fwd/main.c
@@ -502,7 +502,7 @@ parse_config(const char *q_arg)
 	unsigned size;
 	uint16_t max_fld[_NUM_FLD] = {
 		RTE_MAX_ETHPORTS,
-		RTE_MAX_QUEUES_PER_PORT,
+		RTE_MAX_ETHPORT_RX_QUEUES,
 		RTE_MAX_LCORE
 	};
 
-- 
2.43.0