From patchwork Tue May 5 14:08:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186208 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp1174913ill; Tue, 5 May 2020 07:11:38 -0700 (PDT) X-Google-Smtp-Source: APiQypL7anEpLbfowAgEh/Nd+ZX9h+fIx2h8bYNz0UvCnaMw6zhdbRCyN0EJeB2WooXNvn/ufEug X-Received: by 2002:a17:906:4903:: with SMTP id b3mr2796798ejq.80.1588687898089; Tue, 05 May 2020 07:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588687898; cv=none; d=google.com; s=arc-20160816; b=l98FAlZ9un5IHcc3rogp8Z6vXE7KVlYe6iqLpVJjVaKVTsbRwZIj6D9RKFTrD3PL7K u0mhNYH+I8uoCyxK+sldyzpbJd+lDq2vg8eZhX4n4XuUIN116LohSWjwY5MWo4zw67PU HaT5wM/bI9e6kCIF5vO6cfzTKjeFobwqMGkF7AMKEwDbRTfhZov4EZvenntMpAf/jDRV y4PfmZC0lAxs6XTXABNsxeuujMSHX/ckSTu7H3PYuDAcOehqE2y18FVjxMrM+BA/BE4f w/mGnS7fPYiaE96Gc87++b0zLCozu1DXye5K9Ry61zBM5VCteaZ43dc8t8WXEYWRQHb1 EUCA== 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=w22UwGszSSkeWPTziVzrpcy2wg4fLAGXia+QK04doVQ=; b=MLuSHJItadUs+caNYitQDjCeeeyC1b2/oHFlYRmBBguR/awHw7/z3IdppherjaBDFp 48AjCnmqlKWhjPq23if9rJ/7ohfNHnn0O4WcZmvMfSwE+aNvt/YEEz64oVoxcHXb1/yB tq/j7KiqtqiDYWpjyzzwN1KNFum00DGYQe1hmc6fp5iNzl915GKP0uCwYI07HmlNayMA WFqL45MyRz5FiE3aNcrS0DmIXt92QOYUbUnJvhwPLxOHcfYXn/JENdMfcoRu21DDJ6tq PLe+IysGsrN2n2EaNExePVgrilSetYxujrChhzJSNKtp6+XpBq7y/Sqr3Ajuv58yT3hm zerw== 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 l5si1162342ejg.164.2020.05.05.07.11.37; Tue, 05 May 2020 07:11:38 -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 850F61D601; Tue, 5 May 2020 16:10:47 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 8D7561D5CB for ; Tue, 5 May 2020 16:10:43 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 71C53200846; Tue, 5 May 2020 16:10:43 +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 C59E7200823; Tue, 5 May 2020 16:10:41 +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 556B64030B; Tue, 5 May 2020 22:10:38 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com Cc: Hemant Agrawal Date: Tue, 5 May 2020 19:38:31 +0530 Message-Id: <20200505140832.646-6-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200505140832.646-1-hemant.agrawal@nxp.com> References: <20200505140832.646-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 6/7] 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 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) -- 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..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;