From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A0C53A04DD; Tue, 26 Nov 2019 07:15:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA8862B88; Tue, 26 Nov 2019 07:15:34 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 8C54A28EE for ; Tue, 26 Nov 2019 07:15:33 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAQ6F1MG003583 for ; Mon, 25 Nov 2019 22:15:32 -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-type; s=pfpt0818; bh=7eUigcOAljx6qTnLNWg9UUKEAqlHF87c3rnMCF0Y/5E=; b=H25Z5ATaN9gqq0ATJNg9+AjA7Y1bwnj50W+Yq8uuftDwrq1pjZ/4uQACNX6fI+9Czkmw 7HkgI+ZZ8kDNFiMal2KRbxUpabK5XRhszkPemoY+DL/LeVp9xMJ36pvaOd63F7WdbJja 9oDpLC0OCgAs8GSwpD4iQ9zmiOQyCN3TzYCJWEyut8TtjXxBCqLFoTka7/G0q1aP/bVl X6k7UbhG7YiJClbS+/kVHN2UHMljpygj+i3ew282OBupo667mE697qm3iDWJ/EJZReC4 jwN5NfxroSFMew/+QgvnWOZZr8Qz8sXfCiwhli6cVLvpvUbHeeBf08o6ZuCyqS19uwyv QA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2wgn07a6jg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 25 Nov 2019 22:15:32 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 25 Nov 2019 22:15:31 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Mon, 25 Nov 2019 22:15:31 -0800 Received: from localhost.localdomain (unknown [10.28.34.200]) by maili.marvell.com (Postfix) with ESMTP id 87ACD3F703F; Mon, 25 Nov 2019 22:15:29 -0800 (PST) From: Sunil Kumar Kori To: Jerin Jacob , Nithin Dabilpuram , Vamsi Attunuru , "Kiran Kumar K" , Satha Rao CC: , Sunil Kumar Kori Date: Tue, 26 Nov 2019 11:45:25 +0530 Message-ID: <20191126061525.28507-1-skori@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191125113537.25266-1-skori@marvell.com> References: <20191125113537.25266-1-skori@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-26_01:2019-11-21,2019-11-26 signatures=0 Subject: [dpdk-dev] [PATCH v2 1/5] drivers/octeontx2: allow experimental symbols 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" Multiple experimental symbols are used. They must be allowed to avoid compilation error. Signed-off-by: Sunil Kumar Kori --- drivers/common/octeontx2/Makefile | 2 ++ drivers/common/octeontx2/meson.build | 2 ++ drivers/net/octeontx2/Makefile | 2 ++ drivers/net/octeontx2/meson.build | 2 ++ drivers/raw/octeontx2_dma/Makefile | 2 ++ drivers/raw/octeontx2_dma/meson.build | 2 ++ 6 files changed, 12 insertions(+) diff --git a/drivers/common/octeontx2/Makefile b/drivers/common/octeontx2/Makefile index eaff29433..b1c1792fb 100644 --- a/drivers/common/octeontx2/Makefile +++ b/drivers/common/octeontx2/Makefile @@ -22,6 +22,8 @@ CFLAGS += -diag-disable 2259 endif endif +CFLAGS += -DALLOW_EXPERIMENTAL_API + EXPORT_MAP := rte_common_octeontx2_version.map # diff --git a/drivers/common/octeontx2/meson.build b/drivers/common/octeontx2/meson.build index b79145788..a03c6a39b 100644 --- a/drivers/common/octeontx2/meson.build +++ b/drivers/common/octeontx2/meson.build @@ -8,6 +8,8 @@ sources= files('otx2_dev.c', 'otx2_common.c', ) +allow_experimental_apis = true + extra_flags = [] # This integrated controller runs only on a arm64 machine, remove 32bit warnings if not dpdk_conf.get('RTE_ARCH_64') diff --git a/drivers/net/octeontx2/Makefile b/drivers/net/octeontx2/Makefile index 68f5765db..3da4d8cc1 100644 --- a/drivers/net/octeontx2/Makefile +++ b/drivers/net/octeontx2/Makefile @@ -26,6 +26,8 @@ CFLAGS += -diag-disable 2259 endif endif +CFLAGS += -DALLOW_EXPERIMENTAL_API + EXPORT_MAP := rte_pmd_octeontx2_version.map # diff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build index fad3076a3..a976a2c19 100644 --- a/drivers/net/octeontx2/meson.build +++ b/drivers/net/octeontx2/meson.build @@ -24,6 +24,8 @@ sources = files('otx2_rx.c', 'otx2_ethdev_devargs.c' ) +allow_experimental_apis = true + deps += ['bus_pci', 'common_octeontx2', 'mempool_octeontx2'] cflags += ['-flax-vector-conversions'] diff --git a/drivers/raw/octeontx2_dma/Makefile b/drivers/raw/octeontx2_dma/Makefile index c64ca3497..0d0c530fe 100644 --- a/drivers/raw/octeontx2_dma/Makefile +++ b/drivers/raw/octeontx2_dma/Makefile @@ -22,6 +22,8 @@ CFLAGS += -diag-disable 2259 endif endif +CFLAGS += -DALLOW_EXPERIMENTAL_API + EXPORT_MAP := rte_rawdev_octeontx2_dma_version.map # diff --git a/drivers/raw/octeontx2_dma/meson.build b/drivers/raw/octeontx2_dma/meson.build index 11f74680a..f8f88aa7e 100644 --- a/drivers/raw/octeontx2_dma/meson.build +++ b/drivers/raw/octeontx2_dma/meson.build @@ -5,6 +5,8 @@ deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') +allow_experimental_apis = true + extra_flags = [] # This integrated controller runs only on a arm64 machine, remove 32bit warnings if not dpdk_conf.get('RTE_ARCH_64') -- 2.17.1