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 AF989A00E6 for ; Thu, 13 Jun 2019 16:25:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DAB661D615; Thu, 13 Jun 2019 16:24:16 +0200 (CEST) Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id ADBB01D5FC for ; Thu, 13 Jun 2019 16:24:08 +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 1hbQdy-0000g2-Uf; Thu, 13 Jun 2019 10:24:03 -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 x5DENp7a009359; Thu, 13 Jun 2019 10:23:51 -0400 Received: (from nhorman@localhost) by hmswarspite.think-freely.org (8.15.2/8.15.2/Submit) id x5DENp7G009358; Thu, 13 Jun 2019 10:23:51 -0400 From: Neil Horman To: dev@dpdk.org Cc: Neil Horman , Jerin Jacob Kollanukkaran , Bruce Richardson , Thomas Monjalon , Hemant Agrawal , Shreyansh Jain Date: Thu, 13 Jun 2019 10:23:40 -0400 Message-Id: <20190613142344.9188-7-nhorman@tuxdriver.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190613142344.9188-1-nhorman@tuxdriver.com> References: <20190525184346.27932-1-nhorman@tuxdriver.com> <20190613142344.9188-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 v2 06/10] 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