From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AA041A0588; Fri, 17 Apr 2020 00:27:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 201C41DE50; Fri, 17 Apr 2020 00:27:43 +0200 (CEST) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by dpdk.org (Postfix) with ESMTP id 3894E1DE4E for ; Fri, 17 Apr 2020 00:27:42 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id BC2FB5806A3; Thu, 16 Apr 2020 18:27:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 16 Apr 2020 18:27:41 -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=mesmtp; bh=2yT1sSQMDkKiIQmho2oQ1WWGEZ4RhshWvi3hs0hlW5Q=; b=pv1Xid7Piipx BkOmsvFPik5VFU8XVDLwc7DCDY7xKISG+Ll1P5QD5NzCuQR4Q34Cqo8RrFmqUGOb 7pbgDo8HD+bpyl6d8EGHAUceqdv43BJ4O4ugpAxzUhTwWMReCmnz2AGTIQ80nMJp /0NhK1JrIVIsn6rwVFwa/IjOuLFmoBs= 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=fm2; bh=2yT1sSQMDkKiIQmho2oQ1WWGEZ4RhshWvi3hs0hlW 5Q=; b=A0zpGeQy/IT9cIXKO965OJ9LeV4HQPcb6auoY7JuXVLasPEjnti8EV22r Ouy+Xlyiz3DYyIxymbIcP4YdxIC0nkE8fk1LG5+FjkabicZHUh1QAK2PU6f+z7ky UTRHjAwV6yfQnNwa0J1ypHGhy+rZIoCvucphYKo6Exua7q2ahGB5HiTZefpdK+rS Lun3W1ZtSQGDykKUMlO9ese0uL5tw6i7MCgYSKDX/U7O5m6lzB086LbsQx7K14K+ u77Nm6ZMTDA3GnnhDomtduiDDE+SkTdpdwktrFDPhoHgiMQbl9/uy5+wtNv9pwm9 WboHyR8zXmkbhY1bGUUqcA8elLJWQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfeeigddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtufertd dttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm ohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshes mhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 0A767328005E; Thu, 16 Apr 2020 18:27:38 -0400 (EDT) From: Thomas Monjalon To: Tonghao Zhang Cc: olivier.matz@6wind.com, arybchenko@solarflare.com, gage.eads@intel.com, artem.andreev@oktetlabs.ru, jerinj@marvell.com, ndabilpuram@marvell.com, vattunuru@marvell.com, hemant.agrawal@nxp.com, david.marchand@redhat.com, anatoly.burakov@intel.com, bruce.richardson@intel.com, dev@dpdk.org, xiangxia.m.yue@gmail.com Date: Fri, 17 Apr 2020 00:27:36 +0200 Message-ID: <3331280.0S5aU1g85B@thomas> In-Reply-To: <1586787714-13890-2-git-send-email-xiangxia.m.yue@gmail.com> References: <1583114253-15345-1-git-send-email-xiangxia.m.yue@gmail.com> <1586787714-13890-1-git-send-email-xiangxia.m.yue@gmail.com> <1586787714-13890-2-git-send-email-xiangxia.m.yue@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH dpdk-dev v3 2/2] mempool: use shared memzone for rte_mempool_ops X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" 13/04/2020 16:21, xiangxia.m.yue@gmail.com: > The order of mempool initiation affects mempool index in the > rte_mempool_ops_table. For example, when building APPs with: > > $ gcc -lrte_mempool_bucket -lrte_mempool_ring ... > > The "bucket" mempool will be registered firstly, and its index > in table is 0 while the index of "ring" mempool is 1. DPDK > uses the mk/rte.app.mk to build APPs, and others, for example, > Open vSwitch, use the libdpdk.a or libdpdk.so to build it. > The mempool lib linked in dpdk and Open vSwitch is different. We are supposed to use pkg-config to link DPDK. Does the problem appear between a DPDK compiled with meson and an application linked with pkg-config information? If the problem really needs to be solved, the EAL patch (first of this series) needs to be discussed and reviewed carefully. I don't imagine it being done in 20.05.