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 0963F457C0; Wed, 14 Aug 2024 12:52:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A3A842E49; Wed, 14 Aug 2024 12:50:50 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id BA67342DFA for ; Wed, 14 Aug 2024 12:50:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723632648; x=1755168648; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=C7J/ReBtl28YEwkPnECWBetJhrkmGO9MXA0vlFoorso=; b=VJowQLFTE58oLoL5WD8rhes8fFfdiiJKJeL7qkxMPqf3j+Bu5pFQyngV ufEAifhe/P7NyD22Jm3ePg3/W55ZyX0S5NNnP6LusNofrox9KdooOFasH g2LicG3vAX6wQJzdMXE+2mNEfhNnDc/GBvDJstghkNlKqR/Us12SHDZLh +R4/P7s9wJ9HeRIiauEYBDlPE9Cl04fP6F7r+4lbUCf+d//nSp7vWqn++ Hjopk4hZOFPJAf8cR6cviaPHDtfcCbU/6M7+5NNExGRGqa6JYUB70H2fj BZaExcsU3zLB+Qekgf9jAqJRnChTbvhhftb0FZjAi4IZZjCtwMsh3Gfbl w==; X-CSE-ConnectionGUID: YKJjv9h1SZubEtaKJwviJA== X-CSE-MsgGUID: jRvPIpPgQ266PFnllMxcTw== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="44360378" X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="44360378" 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:47 -0700 X-CSE-ConnectionGUID: XnTcvb7vSAC5Cp6JxwctvA== X-CSE-MsgGUID: +C+OgpZRT+aKnkrcdYbf3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,145,1716274800"; d="scan'208";a="96481786" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa001.jf.intel.com with ESMTP; 14 Aug 2024 03:50:46 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v3 21/26] examples/ipsec-secgw: use separate Rx and Tx queue limits Date: Wed, 14 Aug 2024 11:49:27 +0100 Message-ID: <20240814104933.14062-22-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 example 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 --- examples/ipsec-secgw/ipsec-secgw.c | 2 +- examples/ipsec-secgw/ipsec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index e98ad2572e..fc72e10037 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -1050,7 +1050,7 @@ parse_config(const char *q_arg) uint32_t size; uint32_t max_fld[_NUM_FLD] = { RTE_MAX_ETHPORTS, - RTE_MAX_QUEUES_PER_PORT, + RTE_MAX_ETHPORT_RX_QUEUES, RTE_MAX_LCORE }; diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c index b52b0ffc3d..ff65c1c919 100644 --- a/examples/ipsec-secgw/ipsec.c +++ b/examples/ipsec-secgw/ipsec.c @@ -584,7 +584,7 @@ create_inline_session(struct socket_ctx *skt_ctx, struct ipsec_sa *sa, .rss_key_len = sizeof(rss_key), }; struct rte_eth_dev_info dev_info; - uint16_t queue[RTE_MAX_QUEUES_PER_PORT]; + uint16_t queue[RTE_MAX_ETHPORT_RX_QUEUES]; struct rte_flow_action_rss action_rss; unsigned int i; unsigned int j; -- 2.43.0