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 F0790457C0; Wed, 14 Aug 2024 12:50:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E568642D83; Wed, 14 Aug 2024 12:50:29 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 4F03142D35 for ; Wed, 14 Aug 2024 12:50:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723632627; x=1755168627; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Ey14Wp3sJ8mOesvYAfLh1st9ErklXMQwScIalda58js=; b=cyCEgzqZrDeoXT9Ick5XvfhcSd8Z6pa33x42UMU/t/7PAKmu2yFQXvAm 9R9X+hsZRJ1kQfelkedH5UojTaxCip23uR86ArfvDLNcL1dofeHOikkAa LvdPZ+jWT9TsJ+9xKr+5gKM53k6Dshajv3cDogSIWU00CkXm0Dgk7apjj 3fHAqOR4FiCeSB0JWOjIkLtRHw4Hmea6czdxKl30jwhT4iawwawtoJc2t JeH8c6JDfWg+6eJWaLPiB5AZ8Xouaq36fiKB5ZqaEYURAOjs+cgGJuu9I rHpxBgEAk15ICeE5a6GgUBjUi8IoHvwsALT2/bGwNrwOHXZERmN/JIlD9 w==; X-CSE-ConnectionGUID: DnX2hJuwTo+KJgQR9hIsVg== X-CSE-MsgGUID: D6qus/d8Rv2N9qcCV1uPFw== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360273" X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360273" 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:27 -0700 X-CSE-ConnectionGUID: rupa5i5kQkaBIWbhujjwhQ== X-CSE-MsgGUID: W0KpAmyVQQu5y0KSAH3X4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481688" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:26 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 07/26] latencystats: use separate Rx and Tx queue limits Date: Wed, 14 Aug 2024 11:49:13 +0100 Message-ID: <20240814104933.14062-8-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 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 Acked-by: Morten Brørup --- 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