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 11625457BB; Wed, 14 Aug 2024 09:49:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 258484111C; Wed, 14 Aug 2024 09:48:47 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id BF1144026C for ; Tue, 13 Aug 2024 18:00:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723564822; x=1755100822; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qiN5HtTIt5af2brKsa22Lt0vF/KX73ZMLN8YRwhKfQ8=; b=O7JP8RMKUj8SdTKIvMHAG9bTYyBI9gwXfNuPUe61zbKyhpFpVbx7ZBKv WAr50/GGKY30GhRBbIqwLKzrCl93oeYthk04zGiaZaIy7imuMWITr/TyF 5WjylM0M5pZ2WYt8T26+r7ep5jkA+oEXbsXvp9enMBM/q2e5IcvRcPF8l W1wRImy1C+T3Nb00gQ5iz0LM1QCWOFginKzqTigCzLzLVWFzxH35nbfO1 irPfsRxErEEqHsvju5Z8MeCXwM+qgL8SPFTuE0MyeiaviSortgzH0cMYb G2MsHh387YgjpX+lnElffaHaNLiKGomViKGV7hb+mTzmrqo6ejAoMUOGp A==; X-CSE-ConnectionGUID: sWh+x0OhQCWvTGgGCKyipQ== X-CSE-MsgGUID: 2EpwpAdOThewPDaSbNop5g== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="12987819" X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="12987819" 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:22 -0700 X-CSE-ConnectionGUID: YsUcF74cQ76/s9X15ex/yQ== X-CSE-MsgGUID: 3FcbvhOjQ52GqvGUcg3VqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="58406198" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa007.fm.intel.com with ESMTP; 13 Aug 2024 09:00:20 -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 07/26] latencystats: use separate Rx and Tx queue limits Date: Tue, 13 Aug 2024 16:59:44 +0100 Message-ID: <20240813160003.423935-8-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:34 +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 library 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 --- lib/latencystats/rte_latencystats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/latencystats/rte_latencystats.c b/lib/latencystats/rte_latencystats.c index 6a261309f9..696bbab3a4 100644 --- a/lib/latencystats/rte_latencystats.c +++ b/lib/latencystats/rte_latencystats.c @@ -60,8 +60,8 @@ struct rxtx_cbs { const struct rte_eth_rxtx_callback *cb; }; -static struct rxtx_cbs rx_cbs[RTE_MAX_ETHPORTS][RTE_MAX_QUEUES_PER_PORT]; -static struct rxtx_cbs tx_cbs[RTE_MAX_ETHPORTS][RTE_MAX_QUEUES_PER_PORT]; +static struct rxtx_cbs rx_cbs[RTE_MAX_ETHPORTS][RTE_MAX_ETHPORT_RX_QUEUES]; +static struct rxtx_cbs tx_cbs[RTE_MAX_ETHPORTS][RTE_MAX_ETHPORT_TX_QUEUES]; struct latency_stats_nameoff { char name[RTE_ETH_XSTATS_NAME_SIZE]; -- 2.43.0