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 66030A0C47; Tue, 5 Oct 2021 14:22:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A57441349; Tue, 5 Oct 2021 14:22:06 +0200 (CEST) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by mails.dpdk.org (Postfix) with ESMTP id 7F24C41343 for ; Tue, 5 Oct 2021 14:22:04 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 291C5580ACA; Tue, 5 Oct 2021 08:22:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 05 Oct 2021 08:22:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= wpl2J/7BIZmmpWPi4hZuA7nOtxALr/DSiBz9W5ef3pY=; b=CkBdXFeY/9zdzTtN oV54NYIB/HdykY99P0YVqk+I0Qy4lVJH5Vw6MhFR3R2/dc5I+IFzqzL9rG9bG9H6 +ngLnbUYK0VZmK5DzdKXmYjt7YmEcbA0ALLVyP/64P9N3G6MzpLuNdGwcGg8oe03 OJZv5WmmE64o1tNTsam4S8WIGSFY7975exWCdEOHRGn43ZK6+N//nECNhoqLryIb rxFi8ylIQeOrpHjjdr2EUH3HOO1vVpn+HYpmv/eV6CxHLPcAJwc2lMp4zg6EfxwT Lj+mpX9rr/0TS49J+IQp23UVjmPWCJQlgl3yM4vas8MBb4MymdO+r0naTnlX93Uo SxoY0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=wpl2J/7BIZmmpWPi4hZuA7nOtxALr/DSiBz9W5ef3 pY=; b=YbuHwAZtoq+TVkuqsINCU5MkuPzumJRkHSHdbYDYsbq+2SaPVlHEOSjTS I2mBuGYQ5G0OQDBgEe353pU2ZVYd09SRPZlv63UbLhlbo8y4cLmzBiTf/0qDVxmf lKk7cUXjmegQdgBUPZEgDJEjrbAsEKhazp6VsQyqhtjOL4ZOeb1OKDBnrqkWIS/+ GAJKoOoOrAjx45NP7WHb6ueXWKx6DQrCwRC0KGg+gAkiQDuh8Ow3GymfHTZypR0h 9pr74l6aZsmVbkVvibe2O6IjrH5sZ8XbeKdYT+lo/cfwM9eX1hgmQdB6cRw+7npv 1EU6bD/Fh3aXNWhoF6+1fnaJpvh3Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelgedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Oct 2021 08:21:54 -0400 (EDT) From: Thomas Monjalon To: Konstantin Ananyev Cc: dev@dpdk.org, xiaoyun.li@intel.com, anoobj@marvell.com, jerinj@marvell.com, ndabilpuram@marvell.com, adwivedi@marvell.com, shepard.siegel@atomicrules.com, ed.czeck@atomicrules.com, john.miller@atomicrules.com, irusskikh@marvell.com, ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com, rahul.lakkireddy@chelsio.com, hemant.agrawal@nxp.com, sachin.saxena@oss.nxp.com, haiyue.wang@intel.com, johndale@cisco.com, hyonkim@cisco.com, qi.z.zhang@intel.com, xiao.w.wang@intel.com, humin29@huawei.com, yisen.zhuang@huawei.com, oulijun@huawei.com, beilei.xing@intel.com, jingjing.wu@intel.com, qiming.yang@intel.com, matan@nvidia.com, viacheslavo@nvidia.com, sthemmin@microsoft.com, longli@microsoft.com, heinrich.kuhn@corigine.com, kirankumark@marvell.com, andrew.rybchenko@oktetlabs.ru, mczekaj@marvell.com, jiawenwu@trustnetic.com, jianwang@trustnetic.com, maxime.coquelin@redhat.com, chenbo.xia@intel.com, ferruh.yigit@intel.com, mdr@ashroe.eu, jay.jayatheerthan@intel.com Date: Tue, 05 Oct 2021 14:21:52 +0200 Message-ID: <2473391.GheQTyUncB@thomas> In-Reply-To: <20211004135603.20593-2-konstantin.ananyev@intel.com> References: <20211001140255.5726-1-konstantin.ananyev@intel.com> <20211004135603.20593-1-konstantin.ananyev@intel.com> <20211004135603.20593-2-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 1/7] ethdev: allocate max space for internal queue array 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 Sender: "dev" 04/10/2021 15:55, Konstantin Ananyev: > At queue configure stage always allocate space for maximum possible > number (RTE_MAX_QUEUES_PER_PORT) of queue pointers. The problem with this max is that it cannot be changed dynamically. That could be another patch, but I would like to see this number a default max which can be changed with an init function called before any other configuration.