From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 681F9A00E6 for ; Wed, 12 Jun 2019 22:40:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A0F71D138; Wed, 12 Jun 2019 22:39:38 +0200 (CEST) Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id C4CEF1D0B7 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 1hbA1l-0004Ps-Kr; Wed, 12 Jun 2019 16:39:29 -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 x5CKdJXx016754; Wed, 12 Jun 2019 16:39:19 -0400 Received: (from nhorman@localhost) by hmswarspite.think-freely.org (8.15.2/8.15.2/Submit) id x5CKdJuv016752; Wed, 12 Jun 2019 16:39:19 -0400 From: Neil Horman To: dev@dpdk.org Cc: Neil Horman , Jerin Jacob Kollanukkaran , Bruce Richardson , Thomas Monjalon , Akhil Goyal , Hemant Agrawal Date: Wed, 12 Jun 2019 16:39:03 -0400 Message-Id: <20190612203903.16565-10-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 X-Spam-Score: -2.9 (--) X-Spam-Status: No Subject: [dpdk-dev] [PATCH v1 9/9] dpaa2: 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 dpaa2 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: Akhil Goyal CC: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 4 ++-- drivers/crypto/dpaa2_sec/dpaa2_sec_event.h | 4 ++-- .../crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map | 13 ++++++------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 0d273bb62..6a4a42d1b 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -3152,7 +3152,7 @@ dpaa2_sec_process_atomic_event(struct qbman_swp *swp __attribute__((unused)), } int -dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev, +__rte_internal dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev, int qp_id, uint16_t dpcon_id, const struct rte_event *event) @@ -3195,7 +3195,7 @@ dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev, } int -dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev, +__rte_internal dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev, int qp_id) { struct dpaa2_sec_dev_private *priv = dev->data->dev_private; diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_event.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_event.h index 977099429..c142646fc 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_event.h +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_event.h @@ -7,12 +7,12 @@ #define _DPAA2_SEC_EVENT_H_ int -dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev, +__rte_internal dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev, int qp_id, uint16_t dpcon_id, const struct rte_event *event); -int dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev, +int __rte_internal dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev, int qp_id); #endif /* _DPAA2_SEC_EVENT_H_ */ diff --git a/drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map b/drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map index 0bfb986d0..ca0aedf3e 100644 --- a/drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map +++ b/drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map @@ -1,12 +1,11 @@ -DPDK_17.05 { - - local: *; -}; - -DPDK_18.11 { +INTERNAL { global: dpaa2_sec_eventq_attach; dpaa2_sec_eventq_detach; +}; + +DPDK_17.05 { -} DPDK_17.05; + local: *; +}; -- 2.20.1