From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E4F4BA0C47; Mon, 18 Oct 2021 09:03:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEF8D40041; Mon, 18 Oct 2021 09:03:26 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 456474003C for ; Mon, 18 Oct 2021 09:03:25 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19HLqjSG029806; Mon, 18 Oct 2021 00:03:24 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by mx0b-0016f401.pphosted.com with ESMTP id 3brt1s1f4s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Oct 2021 00:03:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kWgaAzw8qrBqdo0KydADDSL+SioL+VoMPgLsdpmTlUvzLNor6u0nhCTdfaShFZheXdi0rFSh9o9omPAxfJ1sRK4j8sVmDrr31EcpRhqKGwqzyAQ/EcZIQ0lHBoa1BhL5gP6KQ5rYoovfOtavTREiXsw9dZJ/fRmxHdzbLg6P9RZ2pCSBZEiO+4oIFaSDPuTqUeX0sPrazEjRW1y/5NQeLOuqbvBl1boIecqG4a6cMYt5pMieDJ9vqX26lg4o3V0FQiViOsQ4s4d1nQmkfKEQVEaFDF625xoJsF7tuklnLkw7oOJunYKDgre//1ehcQHt3FOHL1O127eipIi/1DnxrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=n3YlmMmSlN/SA0gmKiQ1nqZDoTezKkoQNT7ddT9xbps=; b=SUqZmfw08blJCr/6ZvSOvpf0DdHFGqbpqLoDSIjyNWqOOJvxaYZx2uPaI2q7iA3CuXAyT2IAPYFfA94pg+FuVCxCS94qN/Ws7/vqU4BnfhM5i28GHH9BE1f9kkUP8HM0g35VjGYtbXMnyk9keaSM64RoY7QRN/fmFEjmMD6T6rUOC8o8bgnm1Vn7GBciDBvJj1Ti25oaSMGSR8z9/h2x16MmtNjzMRr1HacBzHx3bCNmFqQNigDiKHA65nPdwkZq6umD0Vd2bqffmmv7MfKL2wRq4MuWV0WJpRgzcDw02aK/wBfi0a0QeLdKcaTzd9V+8rXedFTjIBy5FzUe8WtCug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n3YlmMmSlN/SA0gmKiQ1nqZDoTezKkoQNT7ddT9xbps=; b=cQfB5mtyrxEWTlHL7io4Ql7bhD7bGhkDiATWMntugQKWHvlBtV2/YfPqzwBL1QJSy1/zUNZpUHitb6jnKKyOgg728LqL9+w6wlpEAkJt8kLGbrQXV1t87lR7w5gnCiP2ZTJBOz6dPlFwGaOXI9STn4iqx24Dm//vwnw78r1ipIw= Received: from BN9PR18MB4204.namprd18.prod.outlook.com (2603:10b6:408:119::18) by BN6PR18MB1636.namprd18.prod.outlook.com (2603:10b6:404:131::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Mon, 18 Oct 2021 07:03:22 +0000 Received: from BN9PR18MB4204.namprd18.prod.outlook.com ([fe80::29f4:8e3d:264f:26b1]) by BN9PR18MB4204.namprd18.prod.outlook.com ([fe80::29f4:8e3d:264f:26b1%8]) with mapi id 15.20.4608.018; Mon, 18 Oct 2021 07:03:22 +0000 From: Harman Kalra To: Pavan Nikhilesh Bhagavatula , "ferruh.yigit@intel.com" , Jerin Jacob Kollanukkaran , Ashish Gupta , Fiona Trahe , Anoob Joseph CC: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula Thread-Topic: [dpdk-dev] [PATCH v6 2/3] common/octeontx: enable build only on 64-bit Linux Thread-Index: AQHXwTWvPd8Yu6VQi0GgOWoRB1Ge2KvYWadg Date: Mon, 18 Oct 2021 07:03:22 +0000 Message-ID: References: <20211004055638.13176-1-pbhagavatula@marvell.com> <20211014195653.625-1-pbhagavatula@marvell.com> <20211014195653.625-2-pbhagavatula@marvell.com> In-Reply-To: <20211014195653.625-2-pbhagavatula@marvell.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 42f754a2-b9af-4dee-1b92-08d992055fb3 x-ms-traffictypediagnostic: BN6PR18MB1636: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:215; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c/swpiN4NSxEC2fLSwTqIJQoFC6hBocgORIGvUnbB0loIUzL0vh4SgjzySvjlxWapVGnXoUQyHGPZCqhssb84GedP6GpGEtnQ+IDtacCvj0DVs6I9mVvtJjFHMNIur1drARdqcVQFfZuKap2789w9adp0cX2Qjw9G7m1GwFBdJdR1DtNmkdJ4XWAlRLuZ+nNTh7z7vuGBPS9OsdBzcqdUPRo5STbEZgFkpMHIEDNeRPaxmKStsOeoABv47gbJYNMhLQ9+hdfoBbcO65y6B45o/yLmwuaAcw+0z7hSQ/GCbafHzOdT63cd2xmHeoxOcyJvRdPW7VO2XabRHxQ+GWeM3+uuwnnGjYik2lzHmXS4i/2dEifTbT2F6eMFKaQc4CgkawCU+2sgTEXc1miL4rhf5pDrCwa8ZkkPiOOK58jC35mhq70bmS0wg5ELuaVF2BdeC4dZgyH4zSkR311v/lIRsznXWG6/D4xJZ8RFKyeNWVnGlOCyxk1fVSGEcNDPjT7Fc60zADUoN9AESz5hIXE+pKLZrNP2geahEtXPYBqonB5ziXSSj0CDno5KEQ7SrTDCydnLo8BTE6p53WMowb31G/9xraLrAm8Pk9W0WSPY3sjcNM1sDlV5nVgzTECrbSkA4B1Cz2LC4dRnUMwoCUCh7XAJwyQVVEUbf5zW4WDg9CyXJybVEZcjLDuuE0uvssL5Seqcc7b0zwSOEF3MeUGFw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR18MB4204.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(8936002)(38100700002)(122000001)(26005)(52536014)(66476007)(508600001)(4326008)(186003)(6506007)(71200400001)(86362001)(2906002)(38070700005)(33656002)(83380400001)(6636002)(76116006)(66556008)(316002)(64756008)(107886003)(53546011)(9686003)(55016002)(66446008)(7696005)(110136005)(54906003)(66946007)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FDL3dWXQvz9KegG3JIlUA4+vWLn/fMZHkkuwWG9SG4/mGo3StMD+oEk7EJ5J?= =?us-ascii?Q?zQo5IsoH/TBO2s5fhjcq86jAXl+aPDS4CxPr3V4foj9Ixv1URBm5/4zPG5/G?= =?us-ascii?Q?8CHTwEhnGW//3JD/gQ7U6etNI4BXFOw/PsvV5RzY7N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CpfylVGJ3Db09z8EIllXPz+rSsYvA9xvQyF/bfZ+o?= =?us-ascii?Q?8wTn688hx7daJC0+9koiyJ16ZITbeOVZq6jwqKl9WMBKwOXvJxpo8TXpzcjX?= =?us-ascii?Q?E/j7sgSju3k89ZEiW3d5aF4d6l47eB0AycPXX/WcwN5UTOSQ7GzgHkOt+SU1?= =?us-ascii?Q?+Bo0XHO7/87X3LnW5pxdQ8oTi434cBITzYf7BzhlnRGi63zre97tLanrRyDY?= =?us-ascii?Q?7heg+l7CPu/TulT9SB92bPft5gGjnxh9xDu8Et4PBKRaLUXJBOy7tC0NfXGh?= =?us-ascii?Q?Nwm6QslbBFDYq3LiqmV1WBua?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR18MB4204.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42f754a2-b9af-4dee-1b92-08d992055fb3 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2021 07:03:22.6476 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: d377ecU7T7xm4TdSB+G49jdFHxMN/D3QL91DX/INz7EhlLri2ZICxnwtVqZFxWrP3GVMXr3LZzzHlYXdHbI+kQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR18MB1636 X-Proofpoint-ORIG-GUID: uUT2FAgINNHbretRxbdqy4Niqn31pzek X-Proofpoint-GUID: uUT2FAgINNHbretRxbdqy4Niqn31pzek X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-18_02,2021-10-14_02,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH v6 2/3] common/octeontx: enable build only on 64-bit Linux X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: pbhagavatula@marvell.com > Sent: Friday, October 15, 2021 1:27 AM > To: ferruh.yigit@intel.com; Jerin Jacob Kollanukkaran ; > Harman Kalra ; Ashish Gupta > ; Fiona Trahe ; Anoob > Joseph > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > > Subject: [dpdk-dev] [PATCH v6 2/3] common/octeontx: enable build only on > 64-bit Linux >=20 > From: Pavan Nikhilesh >=20 > Since AARCH32 extension is not implemented on octeontx family, only > enable build for 64bit. > Due to Linux kernel AF(Admin function) driver dependency, only enable bui= ld > for 64-bit Linux. >=20 > Signed-off-by: Pavan Nikhilesh > Acked-by: Jerin Jacob > --- Acked-by: Harman Kalra Thanks Harman > drivers/common/octeontx/meson.build | 4 ++-- > drivers/compress/octeontx/meson.build | 6 ++++++ > drivers/crypto/octeontx/meson.build | 7 +++++++ > drivers/event/octeontx/meson.build | 6 ++++++ > drivers/mempool/octeontx/meson.build | 5 +++-- > drivers/net/octeontx/meson.build | 4 ++-- > 6 files changed, 26 insertions(+), 6 deletions(-) >=20 > diff --git a/drivers/common/octeontx/meson.build > b/drivers/common/octeontx/meson.build > index fcda0f6445..dc060dfea1 100644 > --- a/drivers/common/octeontx/meson.build > +++ b/drivers/common/octeontx/meson.build > @@ -2,9 +2,9 @@ > # Copyright(c) 2018 Cavium, Inc > # >=20 > -if is_windows > +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') > build =3D false > - reason =3D 'not supported on Windows' > + reason =3D 'only supported on 64-bit Linux' > subdir_done() > endif >=20 > diff --git a/drivers/compress/octeontx/meson.build > b/drivers/compress/octeontx/meson.build > index e1b7bed422..cd8687fde3 100644 > --- a/drivers/compress/octeontx/meson.build > +++ b/drivers/compress/octeontx/meson.build > @@ -1,6 +1,12 @@ > # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc >=20 > +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') > + build =3D false > + reason =3D 'only supported on 64-bit Linux' > + subdir_done() > +endif > + > sources =3D files('otx_zip.c', 'otx_zip_pmd.c') includes +=3D > include_directories('include') deps +=3D ['mempool_octeontx', 'bus_pci']= diff -- > git a/drivers/crypto/octeontx/meson.build > b/drivers/crypto/octeontx/meson.build > index 244b16230e..bc6187e1cf 100644 > --- a/drivers/crypto/octeontx/meson.build > +++ b/drivers/crypto/octeontx/meson.build > @@ -1,5 +1,12 @@ > # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc > +# > + > +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') > + build =3D false > + reason =3D 'only supported on 64-bit Linux' > + subdir_done() > +endif >=20 > deps +=3D ['bus_pci'] > deps +=3D ['bus_vdev'] > diff --git a/drivers/event/octeontx/meson.build > b/drivers/event/octeontx/meson.build > index 0d9eec3f2e..eb17e059d8 100644 > --- a/drivers/event/octeontx/meson.build > +++ b/drivers/event/octeontx/meson.build > @@ -1,6 +1,12 @@ > # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc >=20 > +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') > + build =3D false > + reason =3D 'only supported on 64-bit Linux' > + subdir_done() > +endif > + > sources =3D files( > 'ssovf_worker.c', > 'ssovf_evdev.c', > diff --git a/drivers/mempool/octeontx/meson.build > b/drivers/mempool/octeontx/meson.build > index a57213e2d8..fb05928129 100644 > --- a/drivers/mempool/octeontx/meson.build > +++ b/drivers/mempool/octeontx/meson.build > @@ -1,9 +1,10 @@ > # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc >=20 > -if is_windows > +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') > build =3D false > - reason =3D 'not supported on Windows' > + reason =3D 'only supported on 64-bit Linux' > + subdir_done() > endif >=20 > sources =3D files( > diff --git a/drivers/net/octeontx/meson.build > b/drivers/net/octeontx/meson.build > index 84cd4e1142..a5a6c9661c 100644 > --- a/drivers/net/octeontx/meson.build > +++ b/drivers/net/octeontx/meson.build > @@ -1,9 +1,9 @@ > # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc >=20 > -if is_windows > +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') > build =3D false > - reason =3D 'not supported on Windows' > + reason =3D 'only supported on 64-bit Linux' > subdir_done() > endif >=20 > -- > 2.17.1