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 9557B457C0; Wed, 14 Aug 2024 12:52:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0E3742D6A; Wed, 14 Aug 2024 12:50:53 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 3F13242E46 for ; Wed, 14 Aug 2024 12:50:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723632649; x=1755168649; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rnJvdTYfN60v3FP/ZyrCuqiRI7hUoWntXF/97IQe82Q=; b=B0Qpv36tdSYc+xnsNL4Y73chcWadnw5AUPfzsGiuHtCpX9tc5rjWAgaa g3ZVqw/+LhYy0qvuxYEOeUxgETwzyWzV8FqDxeoS+lWP12tpAG3IM1zlW b6UabJ0sFAPAlcy82631ym/NSYNfhqRVItSzWT+CS/oH+dzgGvHVJQMtI DnUvDiVtbBaIdwOmzd8UL/W1EAclQW7rk+f5ICHNq89/f2BheU1alJ3pb qzwEskNBHw+zOmoL9ncII3pqgKEGD30YL++cpUjC7JFpRQbT7vX7WWjdt ZyjDOypHXnZjHcOzdLp8lMfehoN6UzW+3eQE/V9nHZonZjKg9QX9YCtmP Q==; X-CSE-ConnectionGUID: QN1Uda0mRfaJooAohxIrag== X-CSE-MsgGUID: dCEDD8FBQUSpTwpstZqxnA== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360391" X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360391" 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:49 -0700 X-CSE-ConnectionGUID: vLv+v6juSYaoWZQc8ODMeg== X-CSE-MsgGUID: lHqUDXWMT0qL8s8RFPwbPQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481792" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:48 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 22/26] examples/l3fwd-power: use separate Rx and Tx queue limits Date: Wed, 14 Aug 2024 11:49:28 +0100 Message-ID: <20240814104933.14062-23-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 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 Acked-by: Morten Brørup --- 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