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 C8C34A0C4B; Mon, 4 Oct 2021 07:56:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09DF1412C0; Mon, 4 Oct 2021 07:56:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 7DF2F412BB for ; Mon, 4 Oct 2021 07:56:49 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 194193Mm032628; Sun, 3 Oct 2021 22:56:48 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=SW1p9LNvfD0N5XdGaQr/BYBx43cl/QGxqkIt3XK92ss=; b=WSmi7WzPiEixwZa8qfoyP5KtApoCvNPU4B1U1S1RQvUx438oqFAhitrKuD8ZbqhfBDrZ 4ybkUzLhSG8ei0IyMNmQkbWA/KCFhdiUxBaRQoPCbHmLxPwiMCfGM+dVuEDx90muFfbc 4UwH+NCTLCHMhYfOVgWKawE9YBNjyMb9OB6g9nyOOzk1tyr8z7mCisZ1TXr8Y+ztLY/1 Xi/B8lG4bywJtNT8fGKtkwvksCeOm+U+tcX+HC0b93mJYjdPh2A4V8A5cHRJUsCnTWKt u5h6sbbBNCsuvmCCtMa1STHSOi17S509PHhWNQT9uWxbOuxyMhRVBHvbwF6yOGFHriEL +A== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3bfqptrh1p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 03 Oct 2021 22:56:48 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 3 Oct 2021 22:56:47 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Sun, 3 Oct 2021 22:56:46 -0700 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 6CE573F7043; Sun, 3 Oct 2021 22:56:44 -0700 (PDT) From: To: , , Harman Kalra , Ashish Gupta , Fiona Trahe , Anoob Joseph CC: , Pavan Nikhilesh Date: Mon, 4 Oct 2021 11:26:37 +0530 Message-ID: <20211004055638.13176-2-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211004055638.13176-1-pbhagavatula@marvell.com> References: <20211003203659.11379-1-pbhagavatula@marvell.com> <20211004055638.13176-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: f77WpOHU9vX0qqlfjDMuAeaUVtgGvUKR X-Proofpoint-ORIG-GUID: f77WpOHU9vX0qqlfjDMuAeaUVtgGvUKR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-04_01,2021-10-01_02,2020-04-07_01 Subject: [dpdk-dev] [PATCH v5 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" From: Pavan Nikhilesh Due to Linux kernel AF(Admin function) driver dependency, only enable build for 64-bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- 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(-) 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 # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif 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 +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['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 = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif deps += ['bus_pci'] deps += ['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 +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = 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 -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = 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 -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif -- 2.17.1