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 AE0FC457BB; Wed, 14 Aug 2024 09:50:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45EC4410F6; Wed, 14 Aug 2024 09:49:09 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id 0A82340650 for ; Tue, 13 Aug 2024 18:00:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723564845; x=1755100845; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1g130S4oFxYeunT7xK8lFqwmUiCMbyMdf+Da1nznpF0=; b=jtrXGMLNKiUp8mpvIBoCH9vMOLaJDW5idyjQ9DNgAJM377NZwsSglys8 ecTHWV+RqM2y6y0pmK20JdxYUlfHw++xJF3fXqwq/awhPbCclW/q9iw4X 9VNM5Fgn+FQkHZAsEMIwot0eJ2fBodfIinhTDBG+TNBSQ26mCLh+plmI2 YSn7vU3HdRIxNwZ9TOoIJT8zqlZt8jQy2I0SmTsamUQPnTR+Mf+4ASahC X3Dp5Dlbn40sFiOKQyIBGdkBDbg42VQG2ZcqjLP42etWRNiriWaIzFLgl qcCt67gHDBTFdxUT76UV0G2xfLvWPQbSDPXrhCC0UMSN78OPLbw++rQQE g==; X-CSE-ConnectionGUID: ojFvtDBAQcyXxpTD8xuNeQ== X-CSE-MsgGUID: AFilDzznRUWOmgF0JJsyRw== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="12987889" X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="12987889" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2024 09:00:45 -0700 X-CSE-ConnectionGUID: ahwxR/ptQcORBvgL70Oj3Q== X-CSE-MsgGUID: /BJsJ3ZPRWKXGC7C5N8YJA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="58406664" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa007.fm.intel.com with ESMTP; 13 Aug 2024 09:00:43 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson , Bruce Richardson Subject: [RFC PATCH v2 22/26] examples/l3fwd-power: use separate Rx and Tx queue limits Date: Tue, 13 Aug 2024 16:59:59 +0100 Message-ID: <20240813160003.423935-23-bruce.richards@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240813160003.423935-1-bruce.richards@intel.com> References: <20240812132910.162252-1-bruce.richardson@intel.com> <20240813160003.423935-1-bruce.richards@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 14 Aug 2024 09:48:35 +0200 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 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 --- examples/l3fwd-power/main.c | 2 +- examples/l3fwd-power/perf_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 2bb6b092c3..bf95cdc487 100644 --- a/examples/l3fwd-power/main.c +++ b/examples/l3fwd-power/main.c @@ -1660,7 +1660,7 @@ parse_config(const char *q_arg) unsigned size; unsigned int max_fld[_NUM_FLD] = { RTE_MAX_ETHPORTS, - RTE_MAX_QUEUES_PER_PORT, + RTE_MAX_ETHPORT_RX_QUEUES, RTE_MAX_LCORE }; diff --git a/examples/l3fwd-power/perf_core.c b/examples/l3fwd-power/perf_core.c index 6c0f7ea213..479626ffb9 100644 --- a/examples/l3fwd-power/perf_core.c +++ b/examples/l3fwd-power/perf_core.c @@ -134,7 +134,7 @@ parse_perf_config(const char *q_arg) unsigned int size; unsigned int max_fld[_NUM_FLD] = { RTE_MAX_ETHPORTS, - RTE_MAX_QUEUES_PER_PORT, + RTE_MAX_ETHPORT_RX_QUEUES, 255, RTE_MAX_LCORE }; -- 2.43.0