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 469A2A00BE; Mon, 27 Apr 2020 10:04:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 844031C194; Mon, 27 Apr 2020 10:04:28 +0200 (CEST) Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) by dpdk.org (Postfix) with ESMTP id DE45B1C18E for ; Mon, 27 Apr 2020 10:04:26 +0200 (CEST) Received: by mail-ed1-f67.google.com with SMTP id w2so12743068edx.4 for ; Mon, 27 Apr 2020 01:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ux99Y7Jy8aipDeKK7/Q/9s6XJ6OnJmYLFjQqjZkNLQ4=; b=Dr7N7a4q+wrHzjTIajlvPciBJsNVUxFisveKzzc251Ubu2QDmANYElOtrPV6sG59nM wZH7or+bmoqP8vwWRCIvot3oITqBtWANfjar5Y6x8eakVbYm4+6oj555rVj1KZeFbYDC T5U/SgbAcln2xqGzuyaqTeLrAdSiYJtW3n/IU/NO9W5umECHt5Q0c5VTEC17plnXobA7 AqGbPDOkKhhbfpzOFvjAO6ryTNA9qv530n8hjO41VbOeJpxJoY3t41MSs9XEKZRuiX0v BLOUXwEsSzodeU93Et/VAYFf31Qnv/BnZjci5KY1z3KS1OqKHAMDSa78ElU52w4PjBD3 TnAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ux99Y7Jy8aipDeKK7/Q/9s6XJ6OnJmYLFjQqjZkNLQ4=; b=j4SX1ODj1+One8ltF+Tu5GkjLmIXAgqOrjua7vexNUtVi4ezvdKnNQa4rcgz1VgHeQ hI6eeVyvm6YqEeDalGhyqLGnWuXUjcJf1mQjUzhb7SJVLq8KEua3/VQYq+tbRs887EME r50JNNbAJB/85v9BiRpATw7VbpHos1LgUhNcG7y83sICHNAgK34Q+Eap9CgPzCRKD9FU kY/uyScfM1uFe7/f3LPsKvWHjvNPfdoJASevJHehsLeoiBm69+/7LC5JPibIzW6KcnPP qHHDOmlUfUyJCAWnlmmbPg/myaZ7CA4usCWZxEEtlnFWSmfxWqAc9FgDGjQUrVPmw9Wg yuOA== X-Gm-Message-State: AGi0PuaZUczhKXnZbrVtAOGKaiBWtry6MHjyv6GzfP/rmbQCUO6VGNfo 6FYcWoWXyiensJrbW7kbHKCZu2gR2gBo/74QhAU= X-Google-Smtp-Source: APiQypKgzj46ylFhWY1dULia79xi2ycT/SPM1KsNsZE7qPUheHUxuCuyzzcE8FiDyB2jT/igr1AinnRPBzVHd1ndMFA= X-Received: by 2002:aa7:d894:: with SMTP id u20mr16408396edq.205.1587974666585; Mon, 27 Apr 2020 01:04:26 -0700 (PDT) MIME-Version: 1.0 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> <3331280.0S5aU1g85B@thomas> In-Reply-To: <3331280.0S5aU1g85B@thomas> From: Tonghao Zhang Date: Mon, 27 Apr 2020 16:03:50 +0800 Message-ID: To: Thomas Monjalon Cc: Olivier Matz , Andrew Rybchenko , Gage Eads , "Artem V. Andreev" , Jerin Jacob , Nithin Dabilpuram , Vamsi Attunuru , Hemant Agrawal , David Marchand , "Burakov, Anatoly" , Bruce Richardson , dpdk-dev Content-Type: text/plain; charset="UTF-8" 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" On Fri, Apr 17, 2020 at 6:27 AM Thomas Monjalon wrote: > > 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. will I stop update the patches or when the patch is ready and then decide applied or not? > > -- Best regards, Tonghao