From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id A7B9211A2 for ; Wed, 11 Mar 2015 08:44:36 +0100 (CET) Received: by pablj1 with SMTP id lj1so9224842pab.10 for ; Wed, 11 Mar 2015 00:44:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=fOJLjif/1prhMwoCfFW2maXpqKkiF2w7kLgWuZBHaYw=; b=MJWXq6v9CouNX9TpXdRb5HMOY1ga7u1fQTVIPnUfpatrMYu4VAA8NShUD2ddMuUlTj qPujjdyzWPj3mipw6NrQxIE+PRXw5gAH9FdUGUvYojIEAlu0HNTtk4HlWLXFQRqZAh5F 7pZyYAFAVvYoucFpdaIyXgOln4pyRMky5jlWXVxQ9VzMHqfIvkRjwvCEs80VlAcvqNeu j1f3mPWutDxxcQ+B1lVrfYq6rTJ1eSlSimPaY9o+ub9Rm61e4DlRMyGqkSRHQB9FLb3m UPIiFaCkkaJnYashKs7kLTkHVgx9/SOsSh/NbM6WcL7cQuLfEm7fVW1vdZrdbbSwP9hQ CV1g== X-Gm-Message-State: ALoCoQn7qnN6p/bw999BCOEKmxJ3baQPdHSJ/VEKdEJ0TLplKGWWS/FT3O7QZa32Om2h1jRftM0f X-Received: by 10.70.54.103 with SMTP id i7mr13085704pdp.114.1426059875852; Wed, 11 Mar 2015 00:44:35 -0700 (PDT) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id os6sm4531795pac.28.2015.03.11.00.44.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2015 00:44:35 -0700 (PDT) Message-ID: <54FFF261.9030407@igel.co.jp> Date: Wed, 11 Mar 2015 16:44:33 +0900 From: Tetsuya Mukawa User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: David Marchand References: <1425505810-9269-1-git-send-email-david.marchand@6wind.com> <20150306002636.GA6785@neilslaptop.think-freely.org> <2038190.P10mg0IX0N@xps13> In-Reply-To: <2038190.P10mg0IX0N@xps13> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 07:44:37 -0000 On 2015/03/10 20:20, Thomas Monjalon wrote: > 2015-03-05 19:26, Neil Horman: >> On Wed, Mar 04, 2015 at 10:50:00PM +0100, David Marchand wrote: >>> This is a first cleanup at trying to remove references to other dpdk libraries >>> from eal. >>> >>> This cleanup is focused on rte_tailq api which has been marked as "for internal >>> use" for quite some time now. >>> Rather than have a static list in eal for all users of rte_tailq, a new register >>> system is introduced. >>> This register system uses constructors which have no access to dpdk shared >>> memory, so a two step registration is done: first step inserts the requested >>> tailq in a local list ("local" in multi process context), then in second step, >>> eal init allocates/looks up for a real tailq from shared memory for all elements >>> of this local list. >>> >>> I have tried to think of different cases (libraries loaded before/after eal >>> init...). The unit tests have been updated accordingly. >>> >>> >> This all seems pretty reasonable. >> >> It might make sense to add a deprecation notice for this, since its removing >> public macros, but since we're not really doing that until the 2.0 release is >> out, I think we can skip it >> >> For the series >> Acked-by: Neil Horman > Applied, thanks Hi David, It seems I cannot invoke testpmd with igb_uio device using latest master branch. Here are steps I did. $ T=x86_64-native-linuxapp-gcc make install $ sudo ./tools/dpdk_nic_bind.py -b igb_uio $ sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c f -n 1 -- -i EAL: Detected lcore 0 as core 0 on socket 0 (snip) EAL: PCI device 0000:84:00.0 on NUMA socket 1 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: PCI memory mapped at 0x7fffc0000000 EAL: PCI memory mapped at 0x7fffc0100000 $ As a result of bisecting, it seems one of following commits may cause the issue. 95b6a46 tailq: remove static slots a234816 tailq: move to dynamic tailq Could you please check it? Thanks, Tetsuya