From patchwork Fri May 15 09:47:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186819 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp266128ilb; Fri, 15 May 2020 02:51:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTmCA8yhGOcGCSnlpRrwtC0kp6yX9Ug/V+QMtWLDpiQU8yW/nkEbjZ0SauZKa8rITmVDye X-Received: by 2002:a5d:6145:: with SMTP id y5mr3132387wrt.195.1589536279581; Fri, 15 May 2020 02:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589536279; cv=none; d=google.com; s=arc-20160816; b=AAD+BGOwhfiQE2u0AhzSVPc/8odtB/SP8qTbQLK2BGg/xz3ffeQIIMftnuUYSL8KAp S9peWd+xDEiDbBNNVdZ58OYnSRoKgIZ3iSpDg13CjDd/cMkxgfI9Z8RTu7Tyt0+QfaK+ 09gLpAGV4Con6yZiXpuDdVbvdMetZ1SMBdvvIEr0tyCFPSeRK39wSOncR08bI+rViRFc CJyTrDnY26Ff5HLg5ixSc1+/4fokpcy2Ha70S561uKFF/9fLxewREEsMfL3Db2ouIz4i rqO8lAAHxrVX3uDnEza/vhccz5ASgQEmLjluQdutNpOdqTdEr1T9kukam30yQtgM2S05 1tmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=wSbHV7PUmuRFxcFyS9CfD9418ekxG2KxiIAZqdFdf9s=; b=diwtKK+rMvsLmxlTDs5PJZDIvweZFh8wbyQA9Qhp8AZdOlG1B8Og6qoPShMZKwYftn PsPmMsFTXRKlXW9dbzAX935b+iMIKAyv6vMlNKRPc7ZCAn78nMloZ2UFWei4IigpDdqp cWkxDjIKWW59gyNHBreQ/bV/b/h/7Jfdj08RnHVKindVnFM7F0ZtVFdoJO3fNI0wlqXG YoiOlzFPRt2UMSfsgShvWb0tfIyaJdKRrHtQKnJlF8woHwflb0wLDpyI2JpL5qQy0T9C MGNM0vVJwFJekAJO6EwLAqtxWaFF/G9AX4N8G4K8YL6UYQKAKtxWV4sY2MeZrDuvb+1N MkIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id i3si1537454wrv.208.2020.05.15.02.51.19; Fri, 15 May 2020 02:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12CF51DAE1; Fri, 15 May 2020 11:50:34 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id A421A1DABA for ; Fri, 15 May 2020 11:50:25 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 88CC21A06BE; Fri, 15 May 2020 11:50:25 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 84AEA1A06AD; Fri, 15 May 2020 11:50:23 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 9A0B3402BE; Fri, 15 May 2020 17:50:20 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Cc: Hemant Agrawal Date: Fri, 15 May 2020 15:17:45 +0530 Message-Id: <20200515094752.28490-7-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200515094752.28490-1-hemant.agrawal@nxp.com> References: <20200514132533.13752-1-hemant.agrawal@nxp.com> <20200515094752.28490-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v8 06/13] net/dpaa2: move internal symbols into INTERNAL section 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" This patch moves the internal symbols to INTERNAL sections so that any change in them is not reported as ABI breakage. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.h | 2 ++ drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) -- 2.17.1 diff --git a/drivers/net/dpaa2/dpaa2_ethdev.h b/drivers/net/dpaa2/dpaa2_ethdev.h index 2c49a7f01f..c7fb6539ff 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.h +++ b/drivers/net/dpaa2/dpaa2_ethdev.h @@ -164,11 +164,13 @@ int dpaa2_remove_flow_dist(struct rte_eth_dev *eth_dev, int dpaa2_attach_bp_list(struct dpaa2_dev_priv *priv, void *blist); +__rte_internal int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev, int eth_rx_queue_id, struct dpaa2_dpcon_dev *dpcon, const struct rte_event_eth_rx_adapter_queue_conf *queue_conf); +__rte_internal int dpaa2_eth_eventq_detach(const struct rte_eth_dev *dev, int eth_rx_queue_id); diff --git a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map index f2bb793319..b633fdc2a8 100644 --- a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map +++ b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map @@ -1,9 +1,4 @@ DPDK_20.0 { - global: - - dpaa2_eth_eventq_attach; - dpaa2_eth_eventq_detach; - local: *; }; @@ -14,3 +9,10 @@ EXPERIMENTAL { rte_pmd_dpaa2_set_custom_hash; rte_pmd_dpaa2_set_timestamp; }; + +INTERNAL { + global: + + dpaa2_eth_eventq_attach; + dpaa2_eth_eventq_detach; +};