Message ID | 20240813160003.423935-11-bruce.richards@intel.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Thomas Monjalon |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23F7B457BB; Wed, 14 Aug 2024 09:49:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86C0C411F3; Wed, 14 Aug 2024 09:48:51 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id 6A92F4065B for <dev@dpdk.org>; Tue, 13 Aug 2024 18:00:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723564827; x=1755100827; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1+OkBts6jOeLNZV2dzPN18Q+rHlr1In5yrCxxZuOlbg=; b=Uv8xWIK+OaOgyakQUksFBR44JixyrHAEziqx0R1UyBC9sigLHO6YCZcw E8gGVppAdqy4JDDgLP7zfx6AkyU1ojtEY6QP4UoouLFE2zX4QqXlkSs06 5BSFrxydiCIlGq+lz2+Zy1RTZh9NBxePHThEX+5Tazm6zXMW9RqJZrTGl L/kJEQA89li5xYwfxl4nNM3fP1e0A9aWVkbQQ0eglpnLXX92QoZrRCz8v NOQ3q7W/XflfDm2mypY4UvbLO0IRnzzJKgEGEPsQ7XciGM8E1SRmePtaH XmP2WpFOkOO2Gn5C1UIHLDg1HVcYKonux/m/boHAPDCGjwPiANpHIHbg+ A==; X-CSE-ConnectionGUID: EH1Z/jwAQXCHhDfqj3Neyg== X-CSE-MsgGUID: E88SJlsnQvSgPO/2WomTYw== X-IronPort-AV: E=McAfee;i="6700,10204,11163"; a="12987837" X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="12987837" 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:26 -0700 X-CSE-ConnectionGUID: f/6nYLl7SpCnqMybnG+5Tg== X-CSE-MsgGUID: 5v2A+1RaT+GR6OabC3yjyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,286,1716274800"; d="scan'208";a="58406271" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa007.fm.intel.com with ESMTP; 13 Aug 2024 09:00:24 -0700 From: Bruce Richardson <bruce.richards@intel.com> To: dev@dpdk.org Cc: ferruh.yigit@amd.com, thomas@monjalon.net, mb@smartsharesystems.com, Bruce Richardson <bruce.richards@intel.com>, Bruce Richardson <bruce.richardson@intel.com> Subject: [RFC PATCH v2 10/26] net/af_xdp: use separate Rx and Tx queue limits Date: Tue, 13 Aug 2024 16:59:47 +0100 Message-ID: <20240813160003.423935-11-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:34 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
add meson config options for queues per port
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | warning | coding style issues |
Commit Message
Bruce Richardson
Aug. 13, 2024, 3:59 p.m. UTC
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 <bruce.richardson@intel.com>
---
drivers/net/af_xdp/rte_eth_af_xdp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte_eth_af_xdp.c index 0bc0d9a55a..1cc8b40acc 100644 --- a/drivers/net/af_xdp/rte_eth_af_xdp.c +++ b/drivers/net/af_xdp/rte_eth_af_xdp.c @@ -185,7 +185,7 @@ struct pmd_internals { }; struct pmd_process_private { - int rxq_xsk_fds[RTE_MAX_QUEUES_PER_PORT]; + int rxq_xsk_fds[RTE_MAX_ETHPORT_RX_QUEUES]; }; #define ETH_AF_XDP_IFACE_ARG "iface"