From patchwork Thu May 14 13:25:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186714 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1403496ilb; Thu, 14 May 2020 06:29:18 -0700 (PDT) X-Google-Smtp-Source: APiQypJppGxPMuavCgBV++q0fR5a6xM7pN7emWx1LAQnSkS0v8+B0Gd/oMIAjLSBlBm8gEcs8+dI X-Received: by 2002:a7b:c4da:: with SMTP id g26mr32661620wmk.3.1589462958044; Thu, 14 May 2020 06:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589462958; cv=none; d=google.com; s=arc-20160816; b=sxedHT13MQBrfoMnVPL78HyTYFnRr4yk15sobY/RywbAIgLffiL8OyFigB655Ou27u Fl3adfrNF45BTLUPsUWNM5w4O1H5El2SQGGgEG6fD1yzrWPQVtq4VcfYmNXvVvNsC7Oq WSBjLBPpXZeqc5aKzeJx7c99JgghWlHBbpeTDWSFssjbkNoUp7J0vKaK5oYCjRIf3cIF gKU2TGGHhVaU1YzD+718hy+uKvHBalWCtJ35bMRIkasxwkOaAne80w5QxLzcc1bGc3ZA rrnee8czqQv/+8DRQV9BThROnfLzTejR/gl1HKmzNUFZBLQZjIIbnt51KiuouiPs0c6q XMYw== 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=jvZY9NZyu2XR2wtYDfQXKLuD4EUdI3Mv3mU01OUWesM=; b=bsxxKV6mgBOxpBVPFP5Wvg6Ws+YYcmqD0zDudQvUpe3Wn8ZauCIgzqJ9sSbwB+Dvwc f7m0WncSjmeDJRj8K3FQFt3w8jXENyBlR/LmPOHi805TQ9dcBhdRXKbLhxcChisX40UI 6ChPgsa8tXeKjeMJeyApOtiWiHLHRgmSbG422dGxYliYhJAooCDAsQHW/d8eD7yx89i8 GHgS49VsbV4WULTo1dDYAYMH4Lo0+0zpCIKnuyfoUx+30MTeuXdvVlaiD1PKYzOzs6hK mknSBbBOhG61nbOCDd50ZeXX6EVIhaXO5T84XljfOqAiTe9/MXYLrlmj2y8I0aQ4l00z Nkvg== 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 c184si13740778wme.86.2020.05.14.06.29.17; Thu, 14 May 2020 06:29:18 -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 8A7391D968; Thu, 14 May 2020 15:28:17 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 90F2B1D931 for ; Thu, 14 May 2020 15:28:05 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4DA6020037B; Thu, 14 May 2020 15:28:05 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4A3D1200379; Thu, 14 May 2020 15:28:03 +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 C912640245; Thu, 14 May 2020 21:27:59 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Cc: Hemant Agrawal Date: Thu, 14 May 2020 18:55:27 +0530 Message-Id: <20200514132533.13752-8-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200514132533.13752-1-hemant.agrawal@nxp.com> References: <20200513132745.9006-1-hemant.agrawal@nxp.com> <20200514132533.13752-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v4 07/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 --- devtools/libabigail.abignore | 4 +++- drivers/net/dpaa2/dpaa2_ethdev.h | 2 ++ drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index 54ac181204..d54b9675e1 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignore @@ -66,4 +66,6 @@ [suppress_function] name_regexp = ^rte_dpaa2_bpid_info [suppress_function] - name_regexp = ^dpaa \ No newline at end of file + name_regexp = ^dpaa +[suppress_file] + file_name_regexp = ^librte_pmd_dpaa2\. 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..78ea74e058 100644 --- a/drivers/net/dpaa2/rte_pmd_dpaa2_version.map +++ b/drivers/net/dpaa2/rte_pmd_dpaa2_version.map @@ -1,4 +1,4 @@ -DPDK_20.0 { +INTERNAL { global: dpaa2_eth_eventq_attach;