From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 0F90F2BE3 for ; Tue, 8 Mar 2016 20:50:37 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id n186so147840374wmn.1 for ; Tue, 08 Mar 2016 11:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=PvcSVMONJ98aTFFy3UJi04BIM78UDgphqkZayOYUldk=; b=YQ8C+VN8+rKKIxUitNThyfVeePwjZTYv4TNlm/USvUQZT+Ps5ugpt2e2v+xFVX6r06 WssQj5Korg53zy0v0qXCuQPiHqmTrd2OIlWQT/2n9ufcP69SP0AKa8IjhZ5wLh+Si6+h Ti3D/eCZiQeo6Qvw6/qpshQ5mP6SmYk/ZVDh8Aam1lNPt5Or35tASsbdFH9QGaQCyeNM yhH5Wj1Z1/UJ11pjxkWOy5C5O7i6Mpo9tJ1bL1UvVJqyWusG+p7FW6v+jikZn7s5NcHi fKdxw0qskDCQNyXm4V3RFpB1wNW9ZqtzgCl2sxufWDmWsFrNde6cMATFdUFfQ31mqPMl uASA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=PvcSVMONJ98aTFFy3UJi04BIM78UDgphqkZayOYUldk=; b=ceOusZOm1Y9HcwDS8sABfZ31N8PnNLzXI+Oaw2dM8Sn/a4+6C7nY2Hf/WG0zz1oXy/ nz94KFQxjnM8qozC9aRwMeEQBT06gPA5o9oDmwpjy7ufRBN9tldMdLRl7O8Ge2jzkUXW Uq9OEXPnlPf+47y8b0n5b9LQcUWg2Q+ZWY8M5QLLoHnfeRZ/ZGF/a5WjQ4lglLEBcn9L ztRozueMTx46U6Xa2+3OxGJwV+xF3c4vEtysJDZ7PNLUDtPp2y/U8aqFi7ZwrU3FDDM1 5bfPqGWkGl0U9jUBxQBA0B5aR8jO6VDeNa3TYx+09nEonaXwcqpCOx0yp0so1x3mpHT/ ct9A== X-Gm-Message-State: AD7BkJIUuzTedGk912FqvL+uumjXlu65etsPkhIkkyMaCK6B8CvZf4OOdCP5TgEE7X3Lq+vx X-Received: by 10.194.75.164 with SMTP id d4mr30534234wjw.15.1457466636878; Tue, 08 Mar 2016 11:50:36 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id c71sm4940178wmd.4.2016.03.08.11.50.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Mar 2016 11:50:36 -0800 (PST) From: Thomas Monjalon To: Liming Sun Date: Tue, 08 Mar 2016 20:48:58 +0100 Message-ID: <6826706.qRvf5Rm8GA@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1753191.PlZlSmjA8r@xps13> References: <1450193851-9100-4-git-send-email-lsun@ezchip.com> <1753191.PlZlSmjA8r@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 1/3] driver/net/mpipe: support native build on tilegx platform. 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: Tue, 08 Mar 2016 19:50:37 -0000 Hi, 2016-02-09 21:33, Thomas Monjalon: > 2016-02-09 18:37, Liming Sun: > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > A comment about the TILE-Mx would be welcome. > > Is it supported currently? > > Isn't it an ARM arch? > > > > [lsun] Yes, it's ARM arch, but with similar mpipe driver. > > It's not fully supported yet. I'll remove this change and add it in a different serie when it's ready. > > OK > So we'll discuss how to integrate it later. > > > > +# Compile combined lib by default. > > > +CONFIG_RTE_BUILD_COMBINE_LIBS=y > > > > Why forcing this option in the defconfig file? > > > > [lsun] It's just trying to make it handy for other applications like OVS or ODP on top of DPDK. However we could remove this change if it's not the recommended way. > > Yes please remove it. > > > > ARCH ?= tile > > > + > > > +HOST_ARCH := ${shell uname -m} > > > +ifneq ($(filter tile%,${HOST_ARCH}),) CROSS = else > > > CROSS ?= tile- > > > +endif > > > > I don't think the CROSS variable should have a default value. > > It really depends on the toolchain. > > > > [lsun] Make sense. The current code (before the change) has default value 'CROSS ?= tile-' defined, which cause some issue when doing native build. Another way is to define it as "CROSS ?=" just like other platforms. So when doing cross-compile, we could pass " CROSS=tile-" . > > No need to keep a "CROSS ?=" line. > The variables defined in the command line get the priority. I have not seen patches to address these comments. Anything pending? > > Talking about the toolchain, is it possible to build DPDK with the provided binary toolchain http://www.tilera.com/scm/tilegx-x86_64.tar.bz2 ? > > This is the Tilera Open Source page: http://www.tilera.com/scm/ > > > > [lsun] I tried it just now. The gcc appears ok. But this tarball lacks of some header files and libraries to compile DPDK. > > Yes that's what I've experienced. > > > We're looking into it to see whether it can be easily fixed. > > Please keep us informed when the toolchain is ready. Thanks Any news about the ready-to-use toolchain?