From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 2370125B3 for ; Thu, 12 Oct 2017 04:01:40 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AAEC620BBC; Wed, 11 Oct 2017 22:01:39 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 11 Oct 2017 22:01:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=tMq9N9BPAAPXobdAfVjOqTCKFh nNg/YaC+7a/NSBiiM=; b=ShJZTS1/IDeGLurqQQcVmETiuIVTaUnJUntjvXbrsx qNNd9U1sjysB3f8Nnv6I5ytQ5FJVrkmB9nadRqoEPKanMELjjHPX5XiukyyqucBc +XEGplwzHYt0dcihPFw+1l+W+1LrvFulrIPG5Lj3ImRZdrNIspBQ6HYmoh29CYTj A= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=tMq9N9 BPAAPXobdAfVjOqTCKFhnNg/YaC+7a/NSBiiM=; b=FvSDGv5LLSVrcgD9E0tBT7 /We4fdwrb9KRHm3NZA5omRgbq+d/XLzz9gjp7M0eHyJWb7Ku0iUC2XjjFpCJ7sVx 9NryA6rWvLnxtCtgpjcW8deJ6Or6xONlBmGaqCUTXNJtdzgrEXaOK5MsFH3AnuN+ njDiaJ/Sd9U/0z7QI/TUQv3s06ygu6zQx+yWYhhhcPnjIXY6noC9+NldNTCLLqgX XvIdnCdT6ZQEj5XydLrYhiDArKzbxjyS5qM5ySdQmtIviM3Nh73pgHB8cUvIPpu5 sA2fb5/jrPkdMg1WLISuXrPu/fsbq9DJ3kdN9kYjC2WFR6tfmKuLUyGS/EdEfNwg == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 555887F949; Wed, 11 Oct 2017 22:01:39 -0400 (EDT) From: Thomas Monjalon To: Tomasz Duszynski Cc: dev@dpdk.org, mw@semihalf.com, dima@marvell.com, nsamsono@marvell.com, Jianbo.liu@linaro.org, Jacek Siuda Date: Thu, 12 Oct 2017 04:01:38 +0200 Message-ID: <2185393.f0aifqixdF@xps> In-Reply-To: <2223559.KerB5CclYn@xps> References: <1507031500-11473-1-git-send-email-tdu@semihalf.com> <1507561244-20115-17-git-send-email-tdu@semihalf.com> <2223559.KerB5CclYn@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 16/16] doc: add mrvl net pmd documentation 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: , X-List-Received-Date: Thu, 12 Oct 2017 02:01:40 -0000 11/10/2017 16:27, Thomas Monjalon: > 09/10/2017 17:00, Tomasz Duszynski: > > +- MUSDK (Marvell User-Space SDK) sources available > > + `here `__. > > + > > + MUSDK is a light-weight library that provides direct access to Marvell's > > + PPv2 (Packet Processor v2). Alternatively prebuilt MUSDK library can be > > + requested from `Marvell Extranet `_. Once > > + approval has been granted, library can be found by typing ``musdk`` in > > + the search box. > > + > > + MUSDK must be configured with the following features: > > + > > + .. code-block:: console > > + > > + --enable-bpool-dma=64 > > It is really too short. > This is what I did: > > export CROSS_COMPILE=/bin/aarch64-linux-gnu- > export CROSS_COMPILE=/bin/arm-linux-gnueabi- > export ARCH=arm64 > ./bootstrap > ./configure --host=aarch64-linux-gnu --enable-bpool-dma=64 > make install > > But if fails at link step: > > CCLD libmusdk.la > gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.1.1/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/libmusdk_la-list.o: Relocations in generic ELF (EM: 62) > lib/.libs/libmusdk_la-list.o: error adding symbols: File in wrong format > > Please help This failure was probably due to a previous wrong configuration. After "make clean", it works. When looking at your wiki, there are more options used: https://github.com/MarvellEmbeddedProcessors/dpdk-marvell/wiki/Building-and-Running --enable-bpool-cookie=64 \ --enable-bpool-dma=64 \ --enable-dma-addr=64 \ --enable-sam Are they needed?