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 3BCB2457BB; Wed, 14 Aug 2024 09:49:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 159D24275B; Wed, 14 Aug 2024 09:48:55 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id 9DC254065B for ; Tue, 13 Aug 2024 18:00:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723564830; x=1755100830; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1w8ZNS/qn9LHCSFOSK8hNbGd4zhAaqqYB6JX39NsPWE=; b=W6jCRlEYAk99q2Pe15dPCG77SkchyyQYQKrjvlEPZhnG0Vwd9cv4wQBo g8PCdjyXJH3z5Ztr6adEvYNtxxFE/Y0sjc4EF0tkYHbpu1Egb1jThveFc s5sbotLVdV2UlMBX/pXqm+1yfHV3TgxYWGM6LThoYaLmWY146iaQPSoz6 POsao3R7OS/DAMiC9GE65zcg4tvuVvOneP6bqvfWQWcsyD0r7dBCRSA5u +RDlz9Kg5j4oTuL7tmmyU0R6Ipp3tmIA4GbWfRuY1kArsOp43LggidxLg gqlLJiyzRwL6JDClBa5V+PtYv6Z/H5MWiVkCeuCQW4OfxIUUNeJsfH5n7 A==; X-CSE-ConnectionGUID: DUmwihEjTXGBZu/pJ7FdMQ== X-CSE-MsgGUID: AvEoYMuZSGyeEISxhU873g== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="12987847" X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="12987847" 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:29 -0700 X-CSE-ConnectionGUID: 0uZdI+M3QJymeyu9ethVeQ== X-CSE-MsgGUID: kC7XKIKRRhOaf5KM++jpIA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="58406357" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa007.fm.intel.com with ESMTP; 13 Aug 2024 09:00:28 -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 12/26] net/failsafe: use separate Rx and Tx queue limits Date: Tue, 13 Aug 2024 16:59:49 +0100 Message-ID: <20240813160003.423935-13-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 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 --- drivers/net/failsafe/failsafe_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/failsafe/failsafe_ops.c b/drivers/net/failsafe/failsafe_ops.c index 9c013e0419..12a01f5543 100644 --- a/drivers/net/failsafe/failsafe_ops.c +++ b/drivers/net/failsafe/failsafe_ops.c @@ -1205,8 +1205,8 @@ fs_dev_infos_get(struct rte_eth_dev *dev, infos->min_mtu = RTE_ETHER_MIN_MTU; infos->max_mtu = UINT16_MAX; infos->max_rx_pktlen = UINT32_MAX; - infos->max_rx_queues = RTE_MAX_QUEUES_PER_PORT; - infos->max_tx_queues = RTE_MAX_QUEUES_PER_PORT; + infos->max_rx_queues = RTE_MAX_ETHPORT_RX_QUEUES; + infos->max_tx_queues = RTE_MAX_ETHPORT_TX_QUEUES; infos->max_mac_addrs = FAILSAFE_MAX_ETHADDR; infos->max_hash_mac_addrs = UINT32_MAX; infos->max_vfs = UINT16_MAX; -- 2.43.0