From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by dpdk.org (Postfix) with ESMTP id 2395E8BA7 for ; Fri, 20 Apr 2018 07:26:13 +0200 (CEST) Received: by mail-lf0-f65.google.com with SMTP id p142-v6so3353940lfd.6 for ; Thu, 19 Apr 2018 22:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Okw1hhEKcGCkwb++4eA83P1isr6+SrPWE8SdAbh2Uk4=; b=gbGmDnOmMKt1cXDJkGIipd90+r/2y3OiLQcwfhq7A93zGVhvmK0YQ7QwpDw35b1XZZ 7jgmsubEBsqN1KEhF7c3Wd9sh2Qg5IJRV/CsNuoZKW0VGG9r+je/rz1HJmFNIOKkDLiz JuQPhw7eCohoauBi+BdzduUZUUpkDbWGp3dApOEk0OGxC8NdKkFdolqLtCaZxlQ5Os4y dKYuRfrYoLaSGdtVxwIyF1QKUQHqfjHUljmLhRFV//lUS3kkdzeM5CNz3/QwpbHKkeNi JKI1ezG7EJQfdNa1xcwBLa10fOQNILYvk1HJ8MyEy5HTtfmOFhvK4kmWco9XMqMQbtgi N6eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Okw1hhEKcGCkwb++4eA83P1isr6+SrPWE8SdAbh2Uk4=; b=Xm+bin94en17XWcjugb79pEyKvBuH7IYr12xojZ8zIp3jtGTft0AbAH8s5IJ0LCowd kvCJOC5FINea6fkIsYkPPwtx/gepqKVfUPSpkQyssxTamdsi6TyYAHGk0wTBCXpGuq7P S3i3qTPO4YVZcicK4Q/fYCrdOb6QDCm/DGs9P1OEHaS9EtA/pqGJ/1/i+fMSHk9nA3Gs 7cxnEPy5/6T/J3kpXe8PfjU+pYTG5qnPDeNgy1jJbCZJVh+LviosZUcErqf1b+SgqD8e yc0idUbtXp0buxDQHY654htk8G8cewlmPJ4eNyEwZs+zvCLtQFUp6mAX9C75+szGUzA9 t47w== X-Gm-Message-State: ALQs6tAsuqodkH9WrbIojZkazmB5IO/zrg3p1IUmPQEywdMLfsz3+Fy+ Of+WuwH3pai81nHteInfEfxlWw== X-Google-Smtp-Source: AB8JxZoFteU4yQsBsjhEW/tgTAl869A9P9VHikaabFITMp9Tgt2WfxQgpjcgK2aj/4EaKANkQShPFA== X-Received: by 2002:a19:1294:: with SMTP id 20-v6mr1774463lfs.21.1524201972761; Thu, 19 Apr 2018 22:26:12 -0700 (PDT) Received: from localhost (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id a21-v6sm1143585lfl.15.2018.04.19.22.26.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 22:26:11 -0700 (PDT) Date: Fri, 20 Apr 2018 07:26:10 +0200 From: Tomasz Duszynski To: Thomas Monjalon Cc: dev@dpdk.org, nsamsono@marvell.com, ferruh.yigit@intel.com Message-ID: <20180420052610.GA30666@sh> References: <20180419160934.24577-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20180419160934.24577-1-thomas@monjalon.net> User-Agent: Mutt/1.5.23.1 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] net/mvpp2: fix build 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: Fri, 20 Apr 2018 05:26:13 -0000 On Thu, Apr 19, 2018 at 06:09:34PM +0200, Thomas Monjalon wrote: > The iterator RTE_ETH_FOREACH_DEV (added in below commit) > requires to enable experimental APIs. > > Fixing also the config option rename in the build test. > > Fixes: 8728ccf37615 ("fix ethdev ports enumeration") > Fixes: fe93968722af ("net/mrvl: rename PMD as mvpp2") > > Reported-by: Ferruh Yigit > Signed-off-by: Thomas Monjalon > --- > devtools/test-build.sh | 2 +- > drivers/net/mvpp2/Makefile | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/devtools/test-build.sh b/devtools/test-build.sh > index 3362edcc5..28e032417 100755 > --- a/devtools/test-build.sh > +++ b/devtools/test-build.sh > @@ -202,7 +202,7 @@ config () # > test -z "$LIBMUSDK_PATH" || \ > sed -ri 's,(PMD_MRVL_CRYPTO=3D)n,\1y,' $1/.config > test -z "$LIBMUSDK_PATH" || \ > - sed -ri 's,(MRVL_PMD=3D)n,\1y,' $1/.config > + sed -ri 's,(MVPP2_PMD=3D)n,\1y,' $1/.config > build_config_hook $1 $2 $3 > > # Explicit enabler/disabler (uppercase) > diff --git a/drivers/net/mvpp2/Makefile b/drivers/net/mvpp2/Makefile > index 2383ec18c..db4576f9c 100644 > --- a/drivers/net/mvpp2/Makefile > +++ b/drivers/net/mvpp2/Makefile > @@ -27,6 +27,7 @@ CFLAGS +=3D -I$(LIBMUSDK_PATH)/include > CFLAGS +=3D -DMVCONF_TYPES_PUBLIC > CFLAGS +=3D -DMVCONF_DMA_PHYS_ADDR_T_PUBLIC > CFLAGS +=3D $(WERROR_FLAGS) > +CFLAGS +=3D -DALLOW_EXPERIMENTAL_API > CFLAGS +=3D -O3 > LDLIBS +=3D -L$(LIBMUSDK_PATH)/lib > LDLIBS +=3D -lmusdk > -- > 2.16.2 > Looks good: Acked-by: Tomasz Duszynski -- - Tomasz Duszy=C5=84ski