From patchwork Wed May 13 13:27:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186602 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp469069ilb; Wed, 13 May 2020 06:31:15 -0700 (PDT) X-Google-Smtp-Source: APiQypIJHQZbWmYPv/OI4ykK6lD8vsoBca9R/08mWXCSvw7WTPNlz5He7WRQOAN57RtDi2onOEdI X-Received: by 2002:a05:600c:2dda:: with SMTP id e26mr34310582wmh.42.1589376675109; Wed, 13 May 2020 06:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589376675; cv=none; d=google.com; s=arc-20160816; b=wa+IbnBmgvn1ziDpe8BrkWG6DRR6nrXkMlbzWTOP/ggr36tqJGLr/FQpg8E/7s9Az7 MMyoVyoXTGV858rvrqpu0bQaaoDoOCU//9ZRdar//ZdgryVhUOsLSYitpLoVW+lIfsIn MkRzH32Eh7LZgqnf5kuIqQvMSnGu+H06P6xDz+WtlSgrxSNvqI5SSIN0STMzaMT2hyZB 9Iy5Xpgjs5x1fZaEzGWAzSXxsJuUCESw/TVYRlCLdF3t0fmNO6xshUqvYokt6F2KY9s2 evziMwWAetWC41eEuAkvOaKxgkp3qNBWHsIWwKHQKO/feMbUFV8w0Tny2/UyaeO+4qnK ahiw== 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=h+aT3kZoRc7LPyi+kRKehyVqoq0n8Pn3WYooo91tmAM4P8/tQVionl+E6QM7VYm56z lHorFjOq/QT0D8fhfwmTQ+rH9vICqlfUKLgN1Y5L9Ir0fTI9vL2ouS2Im4qGQ0m9s433 1/F6PZt+BI56wV9qa72lFa+pA1J/jhW/AJZjapWLG5sQ2u8h21hYxW5tKgBkeXJsprCG G2DcwH77WKZWleHPEpqtZ2y0ipDiNuh5ejGki+n0c2L4fZ2UH05EJPqZwjXk1QL5CDLT wqARHjUzj4NdnDWt04roGC18y/CTsUphNZBcRvn806T8ounrzOVnS+QARVXzAGrEzJoH Zz2A== 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 s206si15351702wme.150.2020.05.13.06.31.14; Wed, 13 May 2020 06:31:15 -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 D46781D616; Wed, 13 May 2020 15:30:24 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id AFDB31D5DC for ; Wed, 13 May 2020 15:30:14 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 94F00201367; Wed, 13 May 2020 15:30:14 +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 91752201372; Wed, 13 May 2020 15:30:12 +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 F1661402B4; Wed, 13 May 2020 21:30:09 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Cc: Hemant Agrawal Date: Wed, 13 May 2020 18:57:39 +0530 Message-Id: <20200513132745.9006-7-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200513132745.9006-1-hemant.agrawal@nxp.com> References: <20200512140100.26803-1-hemant.agrawal@nxp.com> <20200513132745.9006-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v3 06/12] 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;