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 5ECAB457C0; Wed, 14 Aug 2024 12:51:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C29A442DCE; Wed, 14 Aug 2024 12:50:41 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id F17A942D91 for ; Wed, 14 Aug 2024 12:50:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723632639; x=1755168639; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8Huakc2EqMrv01bgXBh09bZjZL8DUciuMgwjKIZXvVk=; b=klecPCLLTK+PAyJTiWAVV9Zcm2oJYL9bTSjSvr+3t5BnO/vwdwDrrUVL v/wvKcTy3LAFPv9lxjhXFk1XqV7lSbgrX1uEn5QlUs6mzC0MPdR/AQyD7 UPhH+Qw6pRXw3qRn5M7gbyLhOHTpSy+qL9Vn5574bL6PsozC8cNlGEGqs wKnn0n6ccMR0IQVXuV5+ObVl+qaruV640HkGij1g4TOXaIwNSWwuyZSUc rGTUA6FWfpAbxISfPWDPgBUkdGM9zQRFhtXwueJExu0n9P0oXnhyQ/CI3 JfLuZCvFlU9mpdKUF96T9OdqdGf8qtAGsiFnlI7TUfHWV0MADNhcEMwNJ Q==; X-CSE-ConnectionGUID: vkj1dmpISKiPgjG4FoK3eA== X-CSE-MsgGUID: odl+ULkfQtqoTzUNjaRYvA== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360333" X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360333" 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:38 -0700 X-CSE-ConnectionGUID: eVCmvz5HSEStjbuNRvJ52g== X-CSE-MsgGUID: zrxlWa6wSuqlXbqC3qMGxg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481746" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:38 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 15/26] net/null: use separate Rx and Tx queue limits Date: Wed, 14 Aug 2024 11:49:21 +0100 Message-ID: <20240814104933.14062-16-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/null/rte_eth_null.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index f4ed3b8a7f..30185e417a 100644 --- a/drivers/net/null/rte_eth_null.c +++ b/drivers/net/null/rte_eth_null.c @@ -53,8 +53,8 @@ struct pmd_internals { unsigned int no_rx; uint16_t port_id; - struct null_queue rx_null_queues[RTE_MAX_QUEUES_PER_PORT]; - struct null_queue tx_null_queues[RTE_MAX_QUEUES_PER_PORT]; + struct null_queue rx_null_queues[RTE_MAX_ETHPORT_RX_QUEUES]; + struct null_queue tx_null_queues[RTE_MAX_ETHPORT_TX_QUEUES]; struct rte_ether_addr eth_addr; /** Bit mask of RSS offloads, the bit offset also means flow type */ -- 2.43.0