From patchwork Thu Feb 25 17:02:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 88237 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AA0EBA034F; Thu, 25 Feb 2021 18:03:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B7F8160808; Thu, 25 Feb 2021 18:03:14 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 8FD941607FB for ; Thu, 25 Feb 2021 18:03:12 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0x7P009415 for ; Thu, 25 Feb 2021 09:03:11 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=jAS1SfYByrEMVL5XwA2A7w5LoC0iSCavppwzjK/o71s=; b=em52oIqkwN271vLJH5qEOblIXr4DYz9u2S1OHpH2nT9Jgn6jmWU9lhbR3RFHdBaoAFmx Sp+w451Axuph7Rpm9BgSIbzkqcPf0by9u1jDFPv8mo4Kkn4lO0dVo2z8dRxTaz325SQ8 CGqUQXhA+3cByilwMxisvi3IS70PfedogYenvTSHg4wX/d2O2jlVQq6xxBaFjU7qrBz5 6aI93z5xy/bWwZtqhm/DOf1IZ5z2xixR3Ot173W9DQgwlfuMVPlrB3V0lv+AdGrsxtQW BQkj2DO8z2spfmnFelJYJehpFQMeaicuwCMtRHITbbWcpJasMsr4HH0NP0eLzMR47zd7 Xw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 36wxbwtvr7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:03:11 -0800 Received: from SC-EXCH04.marvell.com (10.93.176.84) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:46 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:45 -0800 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.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:45 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id AA9BD3F703F; Thu, 25 Feb 2021 09:02:43 -0800 (PST) From: To: , Harman Kalra , Nithin Dabilpuram CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:32 +0530 Message-ID: <20210225170238.15581-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 1/7] common/octeontx: enable build only on 64bit 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 dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh --- drivers/common/octeontx/meson.build | 6 ++++++ drivers/common/octeontx2/meson.build | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/common/octeontx/meson.build b/drivers/common/octeontx/meson.build index 203d1ef49..f29b58320 100644 --- a/drivers/common/octeontx/meson.build +++ b/drivers/common/octeontx/meson.build @@ -2,4 +2,10 @@ # 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('octeontx_mbox.c') diff --git a/drivers/common/octeontx2/meson.build b/drivers/common/octeontx2/meson.build index 84fb11524..3ae106792 100644 --- a/drivers/common/octeontx2/meson.build +++ b/drivers/common/octeontx2/meson.build @@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif From patchwork Thu Feb 25 17:02:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 88232 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E628A034F; Thu, 25 Feb 2021 18:02:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B52F9406B4; Thu, 25 Feb 2021 18:02:53 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1F5E240692 for ; Thu, 25 Feb 2021 18:02:51 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0MBE023103 for ; Thu, 25 Feb 2021 09:02:51 -0800 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=NRMVrAWbJJVRs3UfIf28rSH04+k+4HxufguCB0Gt8hM=; b=N3yJT12xH3OC/NPGG19wZBDo2KkX88YWbOLs3oO+P5looG585oy2JSDiz3VjgZivIJH2 +GlnDKgJrCdw8a/aJCLJK5hlqpvWkS5sZB0R48ni9RoJqwebPySA9hxWV+TMp5Nu9hmM 2H9NmHA7PXdEMZuIU3xobsyOpc1LJBJO7dd9ToGr0suBA5NES2lftzmysCtcifgxRjHZ Y3LCjdz1hM2EFlsYgx1v94/eSvzWo/hRDOD/BV4Xj0PMboYHQCApWFUV1FJKTvYwCyO0 1I9WROFwMlSviXiI3Rdibmtbk1pQCUq3v7n094kHi2+FP2N1plzApDZFo8A/OYIuuc1o nw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wqr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:02:51 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:49 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:49 -0800 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.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:49 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 4C5D23F7040; Thu, 25 Feb 2021 09:02:46 -0800 (PST) From: To: , Harman Kalra , Nithin Dabilpuram CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:33 +0530 Message-ID: <20210225170238.15581-2-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 2/7] mempool/octeontx: enable build only on 64bit 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 dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh --- drivers/mempool/octeontx/meson.build | 5 +++-- drivers/mempool/octeontx2/meson.build | 9 ++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/mempool/octeontx/meson.build b/drivers/mempool/octeontx/meson.build index b5695a932..4607dfe23 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('octeontx_fpavf.c', diff --git a/drivers/mempool/octeontx2/meson.build b/drivers/mempool/octeontx2/meson.build index 0586321ab..c67d8e2d2 100644 --- a/drivers/mempool/octeontx2/meson.build +++ b/drivers/mempool/octeontx2/meson.build @@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif From patchwork Thu Feb 25 17:02:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 88233 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2681DA034F; Thu, 25 Feb 2021 18:03:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D72C81607D4; Thu, 25 Feb 2021 18:02:57 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 3AF281607D0 for ; Thu, 25 Feb 2021 18:02:56 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0Mkn023109 for ; Thu, 25 Feb 2021 09:02:55 -0800 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=NpQPGtF0tAiNgR1MjbJdkCGsZeLWf5mKpRjK9P3Maww=; b=eT9TcmSR9F3DjDJfzQs8rvWH7+2pLcSbkMO6BbjeU7DTQA4+JJuBLiRw88bXSTaiitBi car3898IbVAYkR93GUfSkz7137HlgB4cIvqpWyQAAZLY9qTS2og6O1th/ayob3SyynCx ikSl8NhNRVaQTYvt4ZwhR1zd2xxwveRH8Kc91+YyNezchijnvvbMEekuxd9qLLkhjq6b +kLaIIwrBr55pCQDxSK+9naFTakg45wPK9JJG4l8Xcy5DYt90Rdh8TlLrUAbTI0mFb9n nOznxWIkTYlsknRHt2YXvpQit3J4oF0cpCKnJABD8mKmpQ9qYd9ZSrKqzNcfgjUMEdXs kw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wr0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:02:55 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:53 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:53 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id E029E3F703F; Thu, 25 Feb 2021 09:02:50 -0800 (PST) From: To: , Harman Kalra , Nithin Dabilpuram , Kiran Kumar K , "Maciej Czekaj" CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:34 +0530 Message-ID: <20210225170238.15581-3-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 3/7] net/octeontx: enable build only on 64bit 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 dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh --- drivers/net/octeontx/meson.build | 4 ++-- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/net/thunderx/meson.build | 4 ++-- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/net/octeontx/meson.build b/drivers/net/octeontx/meson.build index 4e784b948..a0d0fb80e 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 diff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build index e2c139a8b..6f639fa7e 100644 --- a/drivers/net/octeontx2/meson.build +++ b/drivers/net/octeontx2/meson.build @@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build index dad5c5924..97a84d587 100644 --- a/drivers/net/thunderx/meson.build +++ b/drivers/net/thunderx/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 From patchwork Thu Feb 25 17:02:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 88234 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37A50A034F; Thu, 25 Feb 2021 18:03:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 189A71607E3; Thu, 25 Feb 2021 18:03:01 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id A525E1607E1 for ; Thu, 25 Feb 2021 18:02:59 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0Mko023109 for ; Thu, 25 Feb 2021 09:02:58 -0800 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=MITQQXYUNsTbKG5fRr0NZpZ9VwzQ5YGcV5WhSjEIjJ4=; b=TnktlopE15w07S++Z8eZ5ke6k33D8UJdVtJop6HmgU3oTIT9khtpcd0SVcTTLYiMT36p G2DRx9yAT8BO/ztWCfZauEVllLLOzjkOZuJgh9TsHRoGOGg+GWcd02DpGtf3XOTkGO60 XESl1OofA2GNe0TJ2uVc7tGtWw31xc6dw9eTiSZwnnVhpomgLaPO/3w5tajj4fdN1was y/JSvtCZqy0mSZ6vbmaTg8kglf4GzVOifBnVTBXRKQf1jp5v6oqK3wRCXL5klDrtvT5C H6/Qs6KZSdhyPtM1gn32Gh9kKdocgUlHGeRhnx7EY8P5c/YkiaN0WX8nFRlETpez6Vku aA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wre-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:02:58 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:57 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:57 -0800 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.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:57 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 476203F703F; Thu, 25 Feb 2021 09:02:54 -0800 (PST) From: To: , Anoob Joseph CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:35 +0530 Message-ID: <20210225170238.15581-4-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 4/7] crypto/octeontx: enable build only on 64bit 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 dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh --- drivers/crypto/octeontx/meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/octeontx/meson.build b/drivers/crypto/octeontx/meson.build index a353d37a1..2e5838641 100644 --- a/drivers/crypto/octeontx/meson.build +++ b/drivers/crypto/octeontx/meson.build @@ -1,8 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc -if not is_linux +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on Linux' + reason = 'only supported on 64-bit Linux' + subdir_done() endif deps += ['bus_pci'] From patchwork Thu Feb 25 17:02:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 88238 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC40BA034F; Thu, 25 Feb 2021 18:03:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 522B116081C; Thu, 25 Feb 2021 18:03:18 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 3B9781606D4 for ; Thu, 25 Feb 2021 18:03:16 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0x7S009415 for ; Thu, 25 Feb 2021 09:03:15 -0800 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=+tYxwPtCerxzKNAF0NGIZK/udSRCqqpPjMvz6IqDCkE=; b=XGdz1a0NXhiupjpDMQu7Pk7VsREd7YguLuKUAkCuPhb26pc5/0Kt072satLDr4lL0rgz 9o4sZ7FJCnxO+wnI9jDOct8RKM98b78WsM3UC4N2dD0g3Emf4MssuRkXoOPgYup1lNLS kWYr6JL974Wkw4iX986e5ZJD7cfLEGU6DHiajIHEBBN2DUobTlfGpF1Tbi74uYO9L1Av 3rRfhKcipjwLNeevFISu8INiFzcVIQIv6UhQV4ztBa/LJbu9gPbImS3gizGcv82Xkcx4 dHISpV9emJ9VPRMcPaSc/Djap35sZgP/AG8TGZbWtGIJfDAmFEI7oTw3UT2R5n8oRZ80 iQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 36wxbwtvr7-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:03:15 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:03:00 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:03:00 -0800 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.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:59 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 77FEE3F703F; Thu, 25 Feb 2021 09:02:58 -0800 (PST) From: To: , Pavan Nikhilesh CC: Date: Thu, 25 Feb 2021 22:32:36 +0530 Message-ID: <20210225170238.15581-5-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 5/7] event/octeontx: enable build only on 64bit 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 dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh --- drivers/event/octeontx/meson.build | 6 ++++++ drivers/event/octeontx2/meson.build | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/event/octeontx/meson.build b/drivers/event/octeontx/meson.build index 41e367684..0e3b61044 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', 'ssovf_evdev_selftest.c', diff --git a/drivers/event/octeontx2/meson.build b/drivers/event/octeontx2/meson.build index 22e7e4cb6..c81950cef 100644 --- a/drivers/event/octeontx2/meson.build +++ b/drivers/event/octeontx2/meson.build @@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif From patchwork Thu Feb 25 17:02:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 88235 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC861A034F; Thu, 25 Feb 2021 18:03:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 561691607EC; Thu, 25 Feb 2021 18:03:08 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 199751607EC for ; Thu, 25 Feb 2021 18:03:05 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0Mkq023109 for ; Thu, 25 Feb 2021 09:03:05 -0800 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=eRL4ORaoIiAsS+uLmShhE/w8DpaR02QKzJA8aFbvAoM=; b=PbFfakqvqrhAlvGdKw1LKm5oU6yG4Pn0NY28LOGq4ZSuClpng2SI/omXdl1E5rz0BHwj FiJ8Qby6Rr+kjLZwQOnL19Aryui23TncZb3V/uuE+TWYmqSb+0fqCF7pq4UphbxAAA7z w2nct6yZ9nQk05FWZoCxyL95vctRgg9FJDlBzN/9xxQ7nW9odsnxwUuPw6XAd6Jw1kPv z9+7W48GizzrcEi6vrAFugiHxdn6Q+6xl1bwJMqPFm0sh3JaRRqiPZJUHabK/UVCncl/ D1s9nKCz1F5FsvoHltLorsEEFnZ7ZnzU4RoBFe442lGF6+Z3RYW2ogakhXr0RcozxJ2M 2Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wsb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:03:05 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:03:03 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 25 Feb 2021 09:03:03 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 5EA293F704A; Thu, 25 Feb 2021 09:03:00 -0800 (PST) From: To: , Radha Mohan Chintakuntla , Veerasenareddy Burru CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:37 +0530 Message-ID: <20210225170238.15581-6-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 6/7] raw/octeontx2: enable build only for 64bit 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 dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Radha Mohan Chintakuntla --- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/raw/octeontx2_dma/meson.build b/drivers/raw/octeontx2_dma/meson.build index 11f74680a..191035125 100644 --- a/drivers/raw/octeontx2_dma/meson.build +++ b/drivers/raw/octeontx2_dma/meson.build @@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +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', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag) From patchwork Thu Feb 25 17:02:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 88236 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C771BA034F; Thu, 25 Feb 2021 18:03:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D78A71607D0; Thu, 25 Feb 2021 18:03:10 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C85FC160807 for ; Thu, 25 Feb 2021 18:03:09 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0L15023063; Thu, 25 Feb 2021 09:03:09 -0800 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=b+mRprEGFsmYnNpZKCpV9pvC4agxuJlN7fAUOR31oHU=; b=kjvwOSG3Q8Md1PXTFcmmzHqJCpkjt3PlTW/RPkudg6NvIdf7j/MV4bvw/TmgaPGIPzXq Av53oLWkwpzbTkHL6UssyUspXVO7eZKf6CCLjEjkNczwrfBYWxZPU3hmBaUz3asn8Yjo qbwMw60cmpIM25zhq2x9Qc9oyrsrLe2IweUj++FVZ87JnnUf1dpPWZKKujiJs8G47NoW fVOMp5P6PJNWCaR9iOfEu2CPS06C4S0MBMgdRMwqypwTColthog0Ivc1LDS2Cpih4sPs tRRQjcyZmbbKLdvNC8Xw1nZGAUWcV5L5fdNDNZg+8oEkDjbRLQXnPl2f4TtBI6Q4s0xJ 0w== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wsr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 25 Feb 2021 09:03:08 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:03:07 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:03:07 -0800 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.2 via Frontend Transport; Thu, 25 Feb 2021 09:03:07 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id E9BBC3F703F; Thu, 25 Feb 2021 09:03:04 -0800 (PST) From: To: , Ashish Gupta , Fiona Trahe CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:38 +0530 Message-ID: <20210225170238.15581-7-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 7/7] compress/octeontx: enable build only for 64bit 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 dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Ashish Gupta --- drivers/compress/octeontx/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/compress/octeontx/meson.build b/drivers/compress/octeontx/meson.build index e1b7bed42..cd8687fde 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']