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 D0C5F457C0; Wed, 14 Aug 2024 12:52:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A2B9542DE4; Wed, 14 Aug 2024 12:50:47 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id D282042E10 for ; Wed, 14 Aug 2024 12:50:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723632645; x=1755168645; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=17secMHMGKoq+KGHU4O8QvcEXWZWAnaLexRVHDbDxPQ=; b=HkbiOA6NqBusYoxXyosw+tUmmBqjj0q43Vi512dTfIVJIZqxzAb3HDCO mxgwUMVqNQwrodY8lnZw5R9vGk0IvW6OmqPsQTRZeda470Rq+y4jn9KW2 raQ67Z/UDtIUKk0fxaO1CWQ1dUpPuhEFgi/j3gN/4OEb3EEY7gzM/N8Gn bsjBijMCp1La7mAdZus3Boi8K6S7hYLZnAjwmU/aJcW9H3ZfrOZjj+CzL T00z3qZFLyhdlk3nu472i8m5dDiX3epjG6gxS/qJ/jrXt/neZcJEL5stX tdYhPTCCtuWrSPYjU5mOaOKLV9jxM3C7gH8MbWmWHwccqVdgdo4oSxZuk A==; X-CSE-ConnectionGUID: 0OhZ6rkBTxG34AfUzli0xg== X-CSE-MsgGUID: yMVy4PnxSUiVaYpiyqN+kw== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360357" X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360357" 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:44 -0700 X-CSE-ConnectionGUID: qwXbPSxzRUqMy3vpDE1yOg== X-CSE-MsgGUID: ft7lDJCoSsyeLFJWmGD2qw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481769" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:43 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 19/26] app/dumpcap: use separate Rx and Tx queue limits Date: Wed, 14 Aug 2024 11:49:25 +0100 Message-ID: <20240814104933.14062-20-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 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 Acked-by: Morten Brørup --- 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