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 008F8A00E6 for ; Wed, 12 Jun 2019 22:40:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96F111D150; Wed, 12 Jun 2019 22:39:40 +0200 (CEST) Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 20B3F1D0BD for ; Wed, 12 Jun 2019 22:39:32 +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 1hbA1d-0004PW-L4; Wed, 12 Jun 2019 16:39:25 -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 x5CKdBaJ016720; Wed, 12 Jun 2019 16:39:11 -0400 Received: (from nhorman@localhost) by hmswarspite.think-freely.org (8.15.2/8.15.2/Submit) id x5CKdBCI016719; Wed, 12 Jun 2019 16:39:11 -0400 From: Neil Horman To: dev@dpdk.org Cc: Neil Horman , Jerin Jacob Kollanukkaran , Bruce Richardson , Thomas Monjalon , Hemant Agrawal , Shreyansh Jain Date: Wed, 12 Jun 2019 16:38:59 -0400 Message-Id: <20190612203903.16565-6-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 5/9] dpaa2: Adjust dpaa2 driver to mark internal symbols 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: Hemant Agrawal CC: Shreyansh Jain --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 ++-- drivers/net/dpaa2/dpaa2_ethdev.h | 4 ++-- drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 14 ++++++-------- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 900182f66..fafdec1f9 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -1798,7 +1798,7 @@ dpaa2_dev_rss_hash_conf_get(struct rte_eth_dev *dev, return 0; } -int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev, +int __rte_internal dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev, int eth_rx_queue_id, uint16_t dpcon_id, const struct rte_event_eth_rx_adapter_queue_conf *queue_conf) @@ -1881,7 +1881,7 @@ int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev, return 0; } -int dpaa2_eth_eventq_detach(const struct rte_eth_dev *dev, +int __rte_internal dpaa2_eth_eventq_detach(const struct rte_eth_dev *dev, int eth_rx_queue_id) { struct dpaa2_dev_priv *eth_priv = dev->data->dev_private; diff --git a/drivers/net/dpaa2/dpaa2_ethdev.h b/drivers/net/dpaa2/dpaa2_ethdev.h index 33b1506aa..b7d691238 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.h +++ b/drivers/net/dpaa2/dpaa2_ethdev.h @@ -140,12 +140,12 @@ int dpaa2_remove_flow_dist(struct rte_eth_dev *eth_dev, int dpaa2_attach_bp_list(struct dpaa2_dev_priv *priv, void *blist); -int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev, +int __rte_internal dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev, int eth_rx_queue_id, uint16_t dpcon_id, const struct rte_event_eth_rx_adapter_queue_conf *queue_conf); -int dpaa2_eth_eventq_detach(const struct rte_eth_dev *dev, +int __rte_internal dpaa2_eth_eventq_detach(const struct rte_eth_dev *dev, int eth_rx_queue_id); uint16_t dpaa2_dev_loopback_rx(void *queue, struct rte_mbuf **bufs, diff --git a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map index d1b4cdb23..fcf0b8ac0 100644 --- a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map +++ b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map @@ -1,15 +1,13 @@ -DPDK_17.05 { - - local: *; -}; - -DPDK_17.11 { +INTERNAL { global: dpaa2_eth_eventq_attach; dpaa2_eth_eventq_detach; +}; -} DPDK_17.05; +DPDK_17.05 { + local: *; +}; EXPERIMENTAL { global: @@ -17,4 +15,4 @@ EXPERIMENTAL { rte_pmd_dpaa2_mux_flow_create; rte_pmd_dpaa2_set_custom_hash; rte_pmd_dpaa2_set_timestamp; -} DPDK_17.11; +} DPDK_17.05; -- 2.20.1