From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <david.marchand@6wind.com>
Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com
 [209.85.218.52]) by dpdk.org (Postfix) with ESMTP id DD2E7231C
 for <dev@dpdk.org>; Thu, 27 Nov 2014 12:44:01 +0100 (CET)
Received: by mail-oi0-f52.google.com with SMTP id h136so3330873oig.39
 for <dev@dpdk.org>; Thu, 27 Nov 2014 03:44:01 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=chdGoyLakT2luodqQnLOnoMqCRnZxVe/kZsIGxeA29c=;
 b=GsLaDLy4OieOIVr/Ra/fZO0IJzGF4oJ0+1sWbg8q8NCllanEcGCNYA6oEAE0TUSHrs
 kWgHW3mGi2jn61S/jpo6vYYqZrCUAO/HNDmEL76CfZ0g9A5urjH5pjGtFM+YBTWXMsJR
 n5iiPjOn6z0Tr6EGUgo8TVvjyxq3sgwf4GWgkILftWHq4Gtcdr3kUqblBOGaEt42dfjq
 b6Evc5P6SPo/0NRD/hE+8kYpBHuw4Njbcol9E3Gws2oCe+rpB8a1ui31l3FPSHVcKS2c
 JIYjqy+o5JWqtKlbNGv/9fblpnps68NyH6cjkR2tQjpOl3tEsapUKXXv3BfxwL1cryWk
 dizg==
X-Gm-Message-State: ALoCoQn8a7t9KvX4d7VkZ3mvFQrqdLNbTa4/XEDZJ4Wm6WFS5E9K6GtqqUJ76bJdCrHv/usaIa8h
MIME-Version: 1.0
X-Received: by 10.202.189.139 with SMTP id n133mr16944804oif.63.1417088641196; 
 Thu, 27 Nov 2014 03:44:01 -0800 (PST)
Received: by 10.202.60.197 with HTTP; Thu, 27 Nov 2014 03:44:01 -0800 (PST)
In-Reply-To: <1417088558-13055-1-git-send-email-david.marchand@6wind.com>
References: <1417088558-13055-1-git-send-email-david.marchand@6wind.com>
Date: Thu, 27 Nov 2014 12:44:01 +0100
Message-ID: <CALwxeUsVP2btL3cRebCP3trVO-6sigNroYdx0DWkSqjeGrQy7A@mail.gmail.com>
From: David Marchand <david.marchand@6wind.com>
To: Sujith Sankar <ssujith@cisco.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] config: disable enic driver on Power
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 11:44:02 -0000

Hello Sujith,

Please can you have a look at this in your enic driver ?
I find it weird to use these types while we could use <stdint.h> types such
as uint8_t etc...

Thanks.

--=20
David Marchand


On Thu, Nov 27, 2014 at 12:42 PM, David Marchand <david.marchand@6wind.com>
wrote:

> enic driver is giving trouble because of non-standard types :
>
>   CC enic_res.o
> In file included from
> lib/librte_pmd_enic/enic_res.c:36:0:
> lib/librte_pmd_enic/enic_compat.h:92:1: error: unknown type name
> =E2=80=98u_int32_t=E2=80=99
>  static inline u_int32_t ioread32(volatile void *addr)
>  ^
>
> Disable it on Power for now.
>
> Signed-off-by: David Marchand <david.marchand@6wind.com>
> ---
>  config/defconfig_ppc_64-power8-linuxapp-gcc |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
> b/config/defconfig_ppc_64-power8-linuxapp-gcc
> index cefb3be..48018c3 100644
> --- a/config/defconfig_ppc_64-power8-linuxapp-gcc
> +++ b/config/defconfig_ppc_64-power8-linuxapp-gcc
> @@ -52,6 +52,7 @@ CONFIG_RTE_LIBRTE_I40E_PMD=3Dn
>  CONFIG_RTE_LIBRTE_VIRTIO_PMD=3Dn
>  CONFIG_RTE_LIBRTE_VMXNET3_PMD=3Dn
>  CONFIG_RTE_LIBRTE_PMD_BOND=3Dn
> +CONFIG_RTE_LIBRTE_ENIC_PMD=3Dn
>
>  # This following libraries are not available on Power. So they're turned
> off.
>  CONFIG_RTE_LIBRTE_LPM=3Dn
> --
> 1.7.10.4
>
>