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 108CD457C0; Wed, 14 Aug 2024 12:51:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6540442DC3; Wed, 14 Aug 2024 12:50:37 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id A7FB542D7F for ; Wed, 14 Aug 2024 12:50:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723632635; x=1755168635; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OU4baj+hGRtYk8IhAJDFmzmT6iK8gF+6zvwAK/xPhRc=; b=bx6rtY/FfcxCX6F18xSvercf7pmGw0gnWFEpWTiU3DIXbXKIAtGrCM7c bOkstZFS0CDcQaVXpdDOzmK30igthsooULAqIWlLfvqHdf76n6KZkZqxh /vDuLvUBK9Op94dmVlyRcrhap6Ud7icEPp8zjzqxNmJFYwuSYVcS9h9vU nTo/Cor7gx6M3AW2f6Tq1ocXlHWBBzTEjzEuigDyzM2ehkjkkNU11dzWS 01ExRq7IU350hswPIlbbH0/rtjswQCNEBSh51Gn21DRS+f4n6wa9IJNcu 0DmAJjFcYKNhGycE/IzSQiKiFgmj8UuTN0ZKFf21SdKLk+axaZrVVRiQU g==; X-CSE-ConnectionGUID: Rce0TC0kTxSMh/LBSIRSSQ== X-CSE-MsgGUID: KFqqQ0U8RRGXUndrYou94w== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360314" X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360314" 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:34 -0700 X-CSE-ConnectionGUID: Y8VJDOPBSxSLR1tUxRRXPg== X-CSE-MsgGUID: jqdebkmcRResexvQf1HsOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481729" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:33 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 12/26] net/failsafe: use separate Rx and Tx queue limits Date: Wed, 14 Aug 2024 11:49:18 +0100 Message-ID: <20240814104933.14062-13-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/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