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 37BCD457C0; Wed, 14 Aug 2024 12:51:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CBC6442E0C; Wed, 14 Aug 2024 12:50:44 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id E48AF42DD6 for ; Wed, 14 Aug 2024 12:50:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723632642; x=1755168642; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gcuF6vvKC/p04Dc99dj1QGv0vNruGnvRUQxpIvuXx8w=; b=LHXK8jzMUtn0RoTdstbWvS+Znu7F1El1IYqwK6xK++MB0rLSPElEj6c5 Ad6ZURvd+KASNnIpMVfN8joDzjELCbH1rw9DCV5lJI8sd7Kz2uluWn/t2 VHOkjT5ApBbY4VY3oOEXmotmnVTIJI/v/4jZr9gOaprxKTALtPOs3SQFD 1IjfrfxXQlnqpWkfQ5xJmBr+EI/YCHdqKqnnDnMSKozMr8wO1d+IdMso4 GA/CJMrszbqn016XmrXPT5AVVjc+MrZ4X8f6YWeINAn70msYa1o8gCk6i LzBAuM0aHmx6DClHuq99y7WrrcGQaDrFhpG+jwC9MslF3YwNvLygYvz5S w==; X-CSE-ConnectionGUID: 7Yz/YtPyQNm6WrEw09UH6w== X-CSE-MsgGUID: bv2yBIMfRjK5VicNWlLifg== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360345" X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360345" 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:41 -0700 X-CSE-ConnectionGUID: SzOQzK93Sl+KL0ejwLnKxg== X-CSE-MsgGUID: e9RK+DIQSRK/Rrh80eqriA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481755" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:41 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 17/26] net/thunderx: use separate Rx and Tx queue limits Date: Wed, 14 Aug 2024 11:49:23 +0100 Message-ID: <20240814104933.14062-18-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 driver 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 --- drivers/net/thunderx/nicvf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c index 609d95dcfa..8c8bec885f 100644 --- a/drivers/net/thunderx/nicvf_ethdev.c +++ b/drivers/net/thunderx/nicvf_ethdev.c @@ -907,7 +907,7 @@ nicvf_configure_rss_reta(struct rte_eth_dev *dev) { struct nicvf *nic = nicvf_pmd_priv(dev); unsigned int idx, qmap_size; - uint8_t qmap[RTE_MAX_QUEUES_PER_PORT]; + uint8_t qmap[RTE_MAX_ETHPORT_RX_QUEUES]; uint8_t default_reta[NIC_MAX_RSS_IDR_TBL_SIZE]; if (nic->cpi_alg != CPI_ALG_NONE) -- 2.43.0