From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2AB28A0096 for ; Mon, 3 Jun 2019 13:18:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C92E7559A; Mon, 3 Jun 2019 13:18:03 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id D52645424 for ; Mon, 3 Jun 2019 13:18:01 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id h1so11615432wro.4 for ; Mon, 03 Jun 2019 04:18:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=Hjj5bS7JDdBuuiq9eypNvNqxVWcNj1qW+00hkxlVo3U=; b=rSd5mPA0GCe3jYAEm3/k/oU9uPBLyMLllFdyzdA/pe3qtKSexReWiDsKwNwSbyM/F1 4MoYL4wC3R1uyHDSm9/lNjmd5OIOaQGN9Sh5yAHj9m7MLlrw+v7fQPyi76pSuS/wXR1f 6u4s6q6ZGJ6lRw0o3gh5zOIFxjg3HCf1rn9VrX1071f8HKnQxFfQ4+7u38g5yz0jEP5g YM6Cz7eoHgDcV7i4yF4bYIHhEOghpt4zuteyY636Kyq2Wu92tYpDpVn/5maBXwGMBM1X pp/MXjMSggM6oTHk95gnHWlDgs4VvSyKidCtjG5YA+5XZiOSvWADkD2Jik6AFlTbrNh3 HiKw== X-Gm-Message-State: APjAAAVHCDmNWVEsHNl2+ucMT+23FBBlflt9Z8RhEQaahTkPCOFjutmO ImTZ+QtLgB2aMCE72R9qoMg= X-Google-Smtp-Source: APXvYqy5HaqzS9/wQny52Dy9aZw1m0HY5ZSkD6TSJFlDhdiFTlP59ztVHtvwdxQOSWID5BteDluL2g== X-Received: by 2002:adf:c606:: with SMTP id n6mr15621047wrg.62.1559560681439; Mon, 03 Jun 2019 04:18:01 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id e5sm4790513wro.46.2019.06.03.04.18.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 03 Jun 2019 04:18:00 -0700 (PDT) Message-ID: From: Luca Boccassi To: jerinj@marvell.com, dev@dpdk.org Cc: skoteshwar@marvell.com, Vamsi Attunuru Date: Mon, 03 Jun 2019 12:17:59 +0100 In-Reply-To: <20190601182030.8282-2-jerinj@marvell.com> References: <20190601182030.8282-1-jerinj@marvell.com> <20190601182030.8282-2-jerinj@marvell.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v1 1/9] raw/octeontx2_dma: add build infra and device probe 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, 2019-06-01 at 23:50 +0530, jerinj@marvell.com wrote: > diff --git a/drivers/raw/octeontx2_dma/meson.build > b/drivers/raw/octeontx2_dma/meson.build > new file mode 100644 > index 000000000..1281268aa > --- /dev/null > +++ b/drivers/raw/octeontx2_dma/meson.build > @@ -0,0 +1,18 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(C) 2019 Marvell International Ltd. > +# > + > +deps +=3D ['rawdev', 'ring', 'kvargs', 'bus_pci', 'common_octeontx2', > 'mempool_octeontx2'] > +sources =3D files('otx2_dpi_rawdev.c') > + > +extra_flags =3D [] > +# This integrated controller runs only on a arm64 machine, remove > 32bit warnings > +if not dpdk_conf.get('RTE_ARCH_64') > + extra_flags +=3D ['-Wno-int-to-pointer-cast', '-Wno-pointer-to- > int-cast'] > +endif > + > +foreach flag: extra_flags > + if cc.has_argument(flag) > + cflags +=3D flag > + endif > +endforeach If it only works on 64bit, shouldn't the build be disabled for 32bit targets? --=20 Kind regards, Luca Boccassi