From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_SBL,URIBL_SBL_A,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C784C31E46 for ; Wed, 12 Jun 2019 20:40:09 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id D873D206E0 for ; Wed, 12 Jun 2019 20:40:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D873D206E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=tuxdriver.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C2271D10E; Wed, 12 Jun 2019 22:39:36 +0200 (CEST) Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id A79D91D0B4 for ; Wed, 12 Jun 2019 22:39:31 +0200 (CEST) Received: from [107.15.85.130] (helo=hmswarspite.think-freely.org) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1hbA1f-0004PY-6f; Wed, 12 Jun 2019 16:39:27 -0400 Received: from hmswarspite.think-freely.org (localhost [127.0.0.1]) by hmswarspite.think-freely.org (8.15.2/8.15.2) with ESMTP id x5CKdDiD016745; Wed, 12 Jun 2019 16:39:13 -0400 Received: (from nhorman@localhost) by hmswarspite.think-freely.org (8.15.2/8.15.2/Submit) id x5CKdCHf016741; Wed, 12 Jun 2019 16:39:12 -0400 From: Neil Horman To: dev@dpdk.org Cc: Neil Horman , Jerin Jacob Kollanukkaran , Bruce Richardson , Thomas Monjalon , Anoob Joseph Date: Wed, 12 Jun 2019 16:39:01 -0400 Message-Id: <20190612203903.16565-8-nhorman@tuxdriver.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190612203903.16565-1-nhorman@tuxdriver.com> References: <20190525184346.27932-1-nhorman@tuxdriver.com> <20190612203903.16565-1-nhorman@tuxdriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1 7/9] cpt: mark internal functions with __rte_internal 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" Identify functions in the cpt driver which are internal (based on their not having an rte_ prefix) and tag them with __rte_internal Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon CC: Anoob Joseph --- drivers/common/cpt/cpt_pmd_ops_helper.c | 4 ++-- drivers/common/cpt/cpt_pmd_ops_helper.h | 4 ++-- drivers/common/cpt/rte_common_cpt_version.map | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/common/cpt/cpt_pmd_ops_helper.c b/drivers/common/cpt/cpt_pmd_ops_helper.c index 1c18180f8..d8c7add66 100644 --- a/drivers/common/cpt/cpt_pmd_ops_helper.c +++ b/drivers/common/cpt/cpt_pmd_ops_helper.c @@ -13,7 +13,7 @@ #define CPT_OFFSET_CONTROL_BYTES 8 int32_t -cpt_pmd_ops_helper_get_mlen_direct_mode(void) +__rte_internal cpt_pmd_ops_helper_get_mlen_direct_mode(void) { uint32_t len = 0; @@ -27,7 +27,7 @@ cpt_pmd_ops_helper_get_mlen_direct_mode(void) } int -cpt_pmd_ops_helper_get_mlen_sg_mode(void) +__rte_internal cpt_pmd_ops_helper_get_mlen_sg_mode(void) { uint32_t len = 0; diff --git a/drivers/common/cpt/cpt_pmd_ops_helper.h b/drivers/common/cpt/cpt_pmd_ops_helper.h index dd32f9a40..314e3871b 100644 --- a/drivers/common/cpt/cpt_pmd_ops_helper.h +++ b/drivers/common/cpt/cpt_pmd_ops_helper.h @@ -20,7 +20,7 @@ */ int32_t -cpt_pmd_ops_helper_get_mlen_direct_mode(void); +__rte_internal cpt_pmd_ops_helper_get_mlen_direct_mode(void); /* * Get size of contiguous meta buffer to be allocated when working in scatter @@ -30,5 +30,5 @@ cpt_pmd_ops_helper_get_mlen_direct_mode(void); * - length */ int -cpt_pmd_ops_helper_get_mlen_sg_mode(void); +__rte_internal cpt_pmd_ops_helper_get_mlen_sg_mode(void); #endif /* _CPT_PMD_OPS_HELPER_H_ */ diff --git a/drivers/common/cpt/rte_common_cpt_version.map b/drivers/common/cpt/rte_common_cpt_version.map index dec614f0d..7459d551b 100644 --- a/drivers/common/cpt/rte_common_cpt_version.map +++ b/drivers/common/cpt/rte_common_cpt_version.map @@ -1,6 +1,10 @@ -DPDK_18.11 { +INTERNAL { global: cpt_pmd_ops_helper_get_mlen_direct_mode; cpt_pmd_ops_helper_get_mlen_sg_mode; }; + +DPDK_18.11 { + local: *; +}; -- 2.20.1