From patchwork Mon May 11 16:40:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Kiss X-Patchwork-Id: 48308 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 989082121F for ; Mon, 11 May 2015 16:42:54 +0000 (UTC) Received: by wiun10 with SMTP id n10sf27594745wiu.1 for ; Mon, 11 May 2015 09:42:53 -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:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=D4xQpMrujnitE/svK85AhUKNAzSqTcdbbB7oSXb2i1w=; b=Eh0VvZ40aPGzuy20LXlfmN9NYwTv5ehkzFY4ueQeWXA2vDY6dMfCQfHz6DxO8tb1k3 m85j7DKSJv00Im90A9Dwslcewj3z480F4BQHmySXkpv0KpgERXZRAwqVaB2TirY2k/Ip xhm6GIxLYOylPTKIqA0a1sl1IhLz0TposW/zVbWQkRhy9zJz+JBy1584wxwsnxqMJU3o kgWRh+MFgAfdY7BiprlhloyZu3fgwLMy2c9neFZVC+DMC5erJVqDFUly09zeQY/8xYTK aPZR67pCh2dKPstMdJdiyn8gL9lhbWjN7nWHFusruKikLv44QPvrCzfc7q+WCNgxeJX5 YyDw== X-Gm-Message-State: ALoCoQncY9SnI20mBFj/C4u/cFs/TIe2MGmCSfW4A5rxTd2mV4CfMyLFRvcpNvRAYmewfI/3td8T X-Received: by 10.180.83.72 with SMTP id o8mr8408699wiy.3.1431362573950; Mon, 11 May 2015 09:42:53 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.73 with SMTP id i9ls659267lai.100.gmail; Mon, 11 May 2015 09:42:53 -0700 (PDT) X-Received: by 10.152.6.1 with SMTP id w1mr8506323law.91.1431362573790; Mon, 11 May 2015 09:42:53 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id ok4si8640262lbb.110.2015.05.11.09.42.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 09:42:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbqq2 with SMTP id qq2so98135182lbb.3 for ; Mon, 11 May 2015 09:42:53 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr8757209laj.88.1431362573708; Mon, 11 May 2015 09:42:53 -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.112.108.230 with SMTP id hn6csp1607671lbb; Mon, 11 May 2015 09:42:53 -0700 (PDT) X-Received: by 10.140.216.5 with SMTP id m5mr15373744qhb.52.1431362572514; Mon, 11 May 2015 09:42:52 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i195si13509756qhc.17.2015.05.11.09.42.51; Mon, 11 May 2015 09:42:52 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 674BD61D76; Mon, 11 May 2015 16:42:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 70E3961D7E; Mon, 11 May 2015 16:41:51 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A247B61D75; Mon, 11 May 2015 16:41:38 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by lists.linaro.org (Postfix) with ESMTPS id 833ED61D87 for ; Mon, 11 May 2015 16:40:35 +0000 (UTC) Received: by widdi4 with SMTP id di4so113076689wid.0 for ; Mon, 11 May 2015 09:40:34 -0700 (PDT) X-Received: by 10.194.89.70 with SMTP id bm6mr20963212wjb.146.1431362434767; Mon, 11 May 2015 09:40:34 -0700 (PDT) Received: from localhost.localdomain ([90.152.119.35]) by mx.google.com with ESMTPSA id jq3sm23621168wjc.22.2015.05.11.09.40.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 May 2015 09:40:34 -0700 (PDT) From: Zoltan Kiss To: lng-odp@lists.linaro.org Date: Mon, 11 May 2015 17:40:09 +0100 Message-Id: <1431362411-8686-5-git-send-email-zoltan.kiss@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431362411-8686-1-git-send-email-zoltan.kiss@linaro.org> References: <1431362411-8686-1-git-send-email-zoltan.kiss@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 4/6] dpdk: enable PCAP support and add compiler options for default X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zoltan.kiss@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.217.179 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: Zoltan Kiss --- helper/platform/dpdk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helper/platform/dpdk b/helper/platform/dpdk index 1b99a93..05c46e9 100644 --- a/helper/platform/dpdk +++ b/helper/platform/dpdk @@ -52,7 +52,8 @@ dpdk_build() { sed -ri 's,(CONFIG_RTE_MBUF_SCATTER_GATHER=).*,\1n,' "${dpdk_target}"/.config sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_BOND=).*,\1n,' "${dpdk_target}"/.config sed -ri 's,(CONFIG_RTE_LIBRTE_IP_FRAG=).*,\1n,' "${dpdk_target}"/.config - make -j ${NUM_CPUS} install T="${dpdk_target}" EXTRA_CFLAGS="-fPIC" + sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' "${dpdk_target}"/.config + make -j ${NUM_CPUS} install T="${dpdk_target}" EXTRA_CFLAGS="-fPIC -g -O3" } dpdk_cleanup(){