From patchwork Thu Jul 24 20:00:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34251 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D1716235A9 for ; Thu, 24 Jul 2014 20:00:46 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rl12sf20610906iec.1 for ; Thu, 24 Jul 2014 13:00:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=3WlWoCPMbs/V/hy6Cwe+1lzISi6D6J5jY1kA1NENgSc=; b=mdA5c6UlrolYEk7vwS5/ZAYLYR75/rCkXqUvCUi5mJtNtqANzlBGNiE+4bB3b6JMxU CH4o/xAqSigeXzUStUtavbx7xInxStaXzvqT6cJBj+WjTNANcSvUU7n33pGHe5Lahbby 0cCzraaytCeUhDJhrwXYKX2CQhC5FFCQXwTiB9HpWUAMQBmPsuMJs9vK4oD7EeGf/QvR T7PgiPhuQnIjgoPB97nNMbRgc+eoHFC0YNTsnu+S11Z0u/7D7aoX9KkvSdsFk8YdJ2WL lSO5tz+SeUufAaJtv5TagJ3WbIraZu++yN7n2nCh86edbphJgBEXF3KvXjsQSRXWS2D3 QgLg== X-Gm-Message-State: ALoCoQmxV17oT1I4drZLm2AVMYwR5j+03RiloVnaeALjwmopa4+fkOig0kIgtBIF2wnxQ7v9Yfs9 X-Received: by 10.42.62.73 with SMTP id x9mr5281654ich.15.1406232046269; Thu, 24 Jul 2014 13:00:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.36 with SMTP id c33ls949429qgc.72.gmail; Thu, 24 Jul 2014 13:00:46 -0700 (PDT) X-Received: by 10.52.24.68 with SMTP id s4mr13026652vdf.37.1406232046155; Thu, 24 Jul 2014 13:00:46 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id bw1si6278491vcb.18.2014.07.24.13.00.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 13:00:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so5817361vcb.30 for ; Thu, 24 Jul 2014 13:00:46 -0700 (PDT) X-Received: by 10.220.50.8 with SMTP id x8mr15573982vcf.18.1406232045966; Thu, 24 Jul 2014 13:00:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp392297vcb; Thu, 24 Jul 2014 13:00:45 -0700 (PDT) X-Received: by 10.140.19.176 with SMTP id 45mr18554525qgh.46.1406232045359; Thu, 24 Jul 2014 13:00:45 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id w10si12839123qag.27.2014.07.24.13.00.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 24 Jul 2014 13:00:45 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XAPC0-0003oB-4p; Thu, 24 Jul 2014 20:00:44 +0000 Received: from mail-lb0-f175.google.com ([209.85.217.175]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XAPBu-0003o6-3d for lng-odp@lists.linaro.org; Thu, 24 Jul 2014 20:00:38 +0000 Received: by mail-lb0-f175.google.com with SMTP id 10so2726069lbg.34 for ; Thu, 24 Jul 2014 13:00:32 -0700 (PDT) X-Received: by 10.152.36.225 with SMTP id t1mr12212469laj.65.1406232031763; Thu, 24 Jul 2014 13:00:31 -0700 (PDT) Received: from localhost (c-4f66bc92-74736162.cust.telenor.se. [79.102.188.146]) by mx.google.com with ESMTPSA id v6sm4954733lal.35.2014.07.24.13.00.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 24 Jul 2014 13:00:30 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Thu, 24 Jul 2014 22:00:23 +0200 Message-Id: <1406232023-9523-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] dpdk: README: simplify and build against installed dpdk X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Anders Roxell --- platform/linux-dpdk/README | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/platform/linux-dpdk/README b/platform/linux-dpdk/README index 04a49d9..88ccbf8 100644 --- a/platform/linux-dpdk/README +++ b/platform/linux-dpdk/README @@ -21,7 +21,7 @@ $ cd $ sudo ./bootstrap $ sudo ./configure --with-platform=linux-dpdk LDFLAGS=-L/lib CFLAGS="-include /include/rte_config.h -I/include -I/include/arch -I/include/exec-env" # For example -$ sudo ./configure --with-platform=linux-dpdk LDFLAGS=-L/root/dpdk/build/lib CFLAGS="-include /root/dpdk/build/include/rte_config.h -I/root/dpdk/build/include -I/root/dpdk/build/include/arch -I/root/dpdk/build/include/exec-env" +$ sudo ./configure --with-platform=linux-dpdk LDFLAGS=-L/root/dpdk/x86_64-default-linuxapp-gcc/lib CFLAGS="-include /root/dpdk/x86_64-default-linuxapp-gcc/include/rte_config.h -I/root/dpdk/x86_64-default-linuxapp-gcc/include -I/root/dpdk/x86_64-default-linuxapp-gcc/include/arch -I/root/dpdk/x86_64-default-linuxapp-gcc/include/exec-env" $ sudo make clean $ sudo make @@ -39,20 +39,7 @@ $ cd # This has to be done only once. # Following command will generate build dir as ./build in -$ make config T=x86_64-default-linuxapp-gcc - -# If user wants to override and give a different name for build dir, -# then that can be done using the following command -$ make config T=x86_64-default-linuxapp-gcc O=my_sdk_build_dir - -$ vi /.config and set CONFIG_RTE_BUILD_COMBINE_LIBS=y - -Note: If non-intel SFP's are used in NIC, then -$ vi /.config and -set CONFIG_RTE_LIBRTE_IXGBE_ALLOW_UNSUPPORTED_SFP=y - -$ cd -$ make clean; make +$ make install T=x86_64-default-linuxapp-gcc CONFIG_RTE_BUILD_COMBINE_LIBS=y EXTRA_CFLAGS="-fPIC" # If "conflicting types for skb_set_hash" error happens during dpdk # build, then please knock-off skb_set_hash function from kcompat.h as