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 C608D457BB; Wed, 14 Aug 2024 09:50:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABD2742794; Wed, 14 Aug 2024 09:49:04 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id 7B3BB4026C for ; Tue, 13 Aug 2024 18:00:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723564841; x=1755100841; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1SCgeC5P2/LXeUjvatAP/7M6pO6vVMWpLxaL3qEYY1M=; b=HTZEI763wfLvaQUKW1KyQD5gqoZqTUXOwMhBdNmLmePZCyyqKl6s5lrH /ylYFH8MzULYbh/qXHI9x2mDrkyNRzkZSQdvIj5eMLy0Vr0MoxAy2cNel Zz4pXI2fyF6WFIl9Qo2etQURKgzp3Y5IWBBRiTCTMhKfbCL6mCkBz3JLd mvwFqXmdcMavGc6b/L/u0lOgJRz4AHBnXti3Q+WPLUS6hogQH6XC/D2YL dxAs/am8E1SgI5KzeCmszmyhbwVfC95dfuh8MUiJ8NL50ovPzF61mMTQD QWTzkVfSgvxzllNO5j30J6CCV30ud8iXBDafCJ2daObkUWotVzZcc/UZO w==; X-CSE-ConnectionGUID: M9umdCEBQiuZxihObhfgBA== X-CSE-MsgGUID: nnrGON0lQQSjQJBZCo3ZjA== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="12987877" X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="12987877" 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:40 -0700 X-CSE-ConnectionGUID: /ANH2LDySOK3JN6qMw8KwA== X-CSE-MsgGUID: brBiJXqyRlqnhnURN8t0cQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="58406591" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa007.fm.intel.com with ESMTP; 13 Aug 2024 09:00:38 -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 19/26] app/dumpcap: use separate Rx and Tx queue limits Date: Tue, 13 Aug 2024 16:59:56 +0100 Message-ID: <20240813160003.423935-20-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:35 +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 app 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 --- app/dumpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c index 6feb8f5672..fbaaa4fe3f 100644 --- a/app/dumpcap/main.c +++ b/app/dumpcap/main.c @@ -95,7 +95,7 @@ struct interface { struct rte_bpf_prm *bpf_prm; char name[RTE_ETH_NAME_MAX_LEN]; - struct rte_rxtx_callback *rx_cb[RTE_MAX_QUEUES_PER_PORT]; + struct rte_rxtx_callback *rx_cb[RTE_MAX_ETHPORT_RX_QUEUES]; const char *ifname; const char *ifdescr; }; -- 2.43.0