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 99EDD457BB; Wed, 14 Aug 2024 09:50:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6EBB2427AB; Wed, 14 Aug 2024 09:49:07 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id 85C2E4026C for ; Tue, 13 Aug 2024 18:00:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723564844; x=1755100844; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XXfsouQjgWtlfNJ49thvdxi/QcVlsNkRuy/fDJh9p8k=; b=Wt/WCUTwNTtabsa6O5uOtMv9Q7adSDJjKNitt0ZUWTFeedi7aek0JT6z BWJCZfHqiogjip1a5W/yDM1zXgnjDU6gO8/yvCO2Um3DlXpT2iH0rphAx t3uvXf+l2zVgrQTuZm+A4phirpZCLZ1mxX01ShCGbgWHY4G0Xu09lb3Qq PEbeFFdmWSzrH5B186rrTEe4hJITY5E1Euh3Wt6r4vJt7tt85MC83sofv y7r5rPINg1/bhTMpJlSqSVDjfLvaW/hIKd2TlDkaAlhHtF51Ud9PgskpC oPAvXZnNTVQsbu/9pY2J2dq2Y4YHMwe3FzBYLbSb8/lrgSfCG6fxlniDg A==; X-CSE-ConnectionGUID: 955uJk5ET0iMYVHileEB4A== X-CSE-MsgGUID: 4MROXYAGRi2Gn1Pv+nBC+Q== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="12987885" X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="12987885" 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:43 -0700 X-CSE-ConnectionGUID: 16hlav8MRriGajvcjQWr4g== X-CSE-MsgGUID: Aqa22d8RQ96xRrSfwEiWvg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="58406636" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa007.fm.intel.com with ESMTP; 13 Aug 2024 09:00:42 -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 21/26] examples/ipsec-secgw: use separate Rx and Tx queue limits Date: Tue, 13 Aug 2024 16:59:58 +0100 Message-ID: <20240813160003.423935-22-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 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 --- 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