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 78A94A0C47; Tue, 5 Oct 2021 14:09:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DB5441344; Tue, 5 Oct 2021 14:09:36 +0200 (CEST) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by mails.dpdk.org (Postfix) with ESMTP id 398834133E for ; Tue, 5 Oct 2021 14:09:35 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 9D203580D26; Tue, 5 Oct 2021 08:09:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 05 Oct 2021 08:09:34 -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= KluEG+tfR2qCyyBtF0ShnlTrHd6D3uozv/oQZ+L0Is0=; b=ROP9s9O44+1HiLKk lNTThsaibcQEcsx7I+uEUJp0IHwQDpws8PxEef+YV5fuf7zuA/oR8e05TshUMbB+ oFMMAZ4w0ObpQKd6igO3a7fS1xLl/r1xemrryfT6JZW9xWbb1akBn5M3shIW9nm0 6oYpelaOGwZ/fHU+RuhjvkYygUc7KzGwYPp/c8YOCH2pTOW5HJMQaBSzced+di72 nNKao2T/V71N//W63yrjWXTqECZDgLYLliWVEWND5KgaQUsV/bAMBZawW/Q9Z/Xb crmRYkz2GZ1NX2bywN9R/77ufa6d5alXbWE7odNDWq8VQ5y8tR+FFn+1aDUwCQSj g7ImGQ== 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=KluEG+tfR2qCyyBtF0ShnlTrHd6D3uozv/oQZ+L0I s0=; b=NNCcpavOyORSpzInezNRpxNMog61ENf4PjG7kUtMcRlBfIZtGXEsgoVW7 oDczqjJ1JN0cRz/23hQwlRSRWdsuQ6QULJPtrD1e0w9+xhtDzlo4DmdBN2WFCqak cFJnX+7hDbFnWI2t7OPxhnn3rKj1g9fbgilUX+Px/4GZB7sHG/ZyIwtiq/0cu8wk FDRJXDKjRtbe2qGgZ7nxzohP2dWJiZbTtLk6GCFLkO9UuQv+ZlVPtyQZBINZlBe+ +t1TJmo+EXfaAhTjLRkMMzaezgiQwwvtu08TsfEEWxIElIqFBZSQjvmLPoo+srij 5AEgi684huSCmTpMbsxKbyA6E2ptA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelgedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Oct 2021 08:09:24 -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:09:20 +0200 Message-ID: <2309344.bJfOgahzzc@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. > That will allow 'fast' inline functions (eth_rx_burst, etc.) to refer > pointer to internal queue data without extra checking of current number > of configured queues. What is the memory usage overhead per port? We should consider cases with thousand of virtual ports.