Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/70260/?format=api
http://patches.dpdk.org/api/patches/70260/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200514142426.31583-2-hemant.agrawal@nxp.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20200514142426.31583-2-hemant.agrawal@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200514142426.31583-2-hemant.agrawal@nxp.com", "date": "2020-05-14T14:24:13", "name": "[v5,01/13] common/dpaax: move internal symbols into INTERNAL section", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6cb37794971f054844ff53dd819d1bd411f9cbac", "submitter": { "id": 477, "url": "http://patches.dpdk.org/api/people/477/?format=api", "name": "Hemant Agrawal", "email": "hemant.agrawal@nxp.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200514142426.31583-2-hemant.agrawal@nxp.com/mbox/", "series": [ { "id": 10071, "url": "http://patches.dpdk.org/api/series/10071/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10071", "date": "2020-05-14T14:24:12", "name": "NXP DPAAx: move internal symbols to INTERNAL", "version": 5, "mbox": "http://patches.dpdk.org/series/10071/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/70260/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/70260/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 241BFA00C3;\n\tThu, 14 May 2020 16:27:03 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2D8701D97D;\n\tThu, 14 May 2020 16:26:57 +0200 (CEST)", "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n by dpdk.org (Postfix) with ESMTP id A7C151D972\n for <dev@dpdk.org>; Thu, 14 May 2020 16:26:53 +0200 (CEST)", "from inva021.nxp.com (localhost [127.0.0.1])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7929C2003B8;\n Thu, 14 May 2020 16:26:53 +0200 (CEST)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n [165.114.16.14])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3F5AE200394;\n Thu, 14 May 2020 16:26:51 +0200 (CEST)", "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n [10.232.133.63])\n by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4F85B402BB;\n Thu, 14 May 2020 22:26:48 +0800 (SGT)" ], "From": "Hemant Agrawal <hemant.agrawal@nxp.com>", "To": "dev@dpdk.org,\n\tdavid.marchand@redhat.com,\n\tmdr@ashroe.eu", "Cc": "Hemant Agrawal <hemant.agrawal@nxp.com>", "Date": "Thu, 14 May 2020 19:54:13 +0530", "Message-Id": "<20200514142426.31583-2-hemant.agrawal@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200514142426.31583-1-hemant.agrawal@nxp.com>", "References": "<20200514132533.13752-1-hemant.agrawal@nxp.com>\n <20200514142426.31583-1-hemant.agrawal@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH v5 01/13] common/dpaax: move internal symbols\n\tinto INTERNAL section", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This patch moves the internal symbols to INTERNAL sections\nso that any change in them is not reported as ABI breakage.\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n devtools/libabigail.abignore | 3 +++\n drivers/common/dpaax/dpaa_of.h | 15 +++++++++++++++\n drivers/common/dpaax/dpaax_iova_table.h | 4 ++++\n drivers/common/dpaax/rte_common_dpaax_version.map | 2 +-\n 4 files changed, 23 insertions(+), 1 deletion(-)", "diff": "diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore\nindex c9ee73cb3c..b1488d5549 100644\n--- a/devtools/libabigail.abignore\n+++ b/devtools/libabigail.abignore\n@@ -48,3 +48,6 @@\n changed_enumerators = RTE_CRYPTO_AEAD_LIST_END\n [suppress_variable]\n name = rte_crypto_aead_algorithm_strings\n+; Ignore moving DPAAx stable functions to INTERNAL tag\n+[suppress_file]\n+\tfile_name_regexp = ^librte_common_dpaax\\.\ndiff --git a/drivers/common/dpaax/dpaa_of.h b/drivers/common/dpaax/dpaa_of.h\nindex 960b421766..38d91a1afe 100644\n--- a/drivers/common/dpaax/dpaa_of.h\n+++ b/drivers/common/dpaax/dpaa_of.h\n@@ -24,6 +24,7 @@\n #include <limits.h>\n #include <rte_common.h>\n #include <dpaa_list.h>\n+#include <rte_compat.h>\n \n #ifndef OF_INIT_DEFAULT_PATH\n #define OF_INIT_DEFAULT_PATH \"/proc/device-tree\"\n@@ -102,6 +103,7 @@ struct dt_file {\n \tuint64_t buf[OF_FILE_BUF_MAX >> 3];\n };\n \n+__rte_internal\n const struct device_node *of_find_compatible_node(\n \t\t\t\t\tconst struct device_node *from,\n \t\t\t\t\tconst char *type __rte_unused,\n@@ -113,32 +115,44 @@ const struct device_node *of_find_compatible_node(\n \t\tdev_node != NULL; \\\n \t\tdev_node = of_find_compatible_node(dev_node, type, compatible))\n \n+__rte_internal\n const void *of_get_property(const struct device_node *from, const char *name,\n \t\t\t size_t *lenp) __attribute__((nonnull(2)));\n+__rte_internal\n bool of_device_is_available(const struct device_node *dev_node);\n \n+\n+__rte_internal\n const struct device_node *of_find_node_by_phandle(uint64_t ph);\n \n+__rte_internal\n const struct device_node *of_get_parent(const struct device_node *dev_node);\n \n+__rte_internal\n const struct device_node *of_get_next_child(const struct device_node *dev_node,\n \t\t\t\t\t const struct device_node *prev);\n \n+__rte_internal\n const void *of_get_mac_address(const struct device_node *np);\n \n #define for_each_child_node(parent, child) \\\n \tfor (child = of_get_next_child(parent, NULL); child != NULL; \\\n \t\t\tchild = of_get_next_child(parent, child))\n \n+\n+__rte_internal\n uint32_t of_n_addr_cells(const struct device_node *dev_node);\n uint32_t of_n_size_cells(const struct device_node *dev_node);\n \n+__rte_internal\n const uint32_t *of_get_address(const struct device_node *dev_node, size_t idx,\n \t\t\t uint64_t *size, uint32_t *flags);\n \n+__rte_internal\n uint64_t of_translate_address(const struct device_node *dev_node,\n \t\t\t const uint32_t *addr) __attribute__((nonnull));\n \n+__rte_internal\n bool of_device_is_compatible(const struct device_node *dev_node,\n \t\t\t const char *compatible);\n \n@@ -146,6 +160,7 @@ bool of_device_is_compatible(const struct device_node *dev_node,\n * subsystem that is device-tree-dependent. Eg. Qman/Bman, config layers, etc.\n * The path should usually be \"/proc/device-tree\".\n */\n+__rte_internal\n int of_init_path(const char *dt_path);\n \n /* of_finish() allows a controlled tear-down of the device-tree layer, eg. if a\ndiff --git a/drivers/common/dpaax/dpaax_iova_table.h b/drivers/common/dpaax/dpaax_iova_table.h\nindex fc3b9e7a8f..230fba8ba0 100644\n--- a/drivers/common/dpaax/dpaax_iova_table.h\n+++ b/drivers/common/dpaax/dpaax_iova_table.h\n@@ -61,9 +61,13 @@ extern struct dpaax_iova_table *dpaax_iova_table_p;\n #define DPAAX_MEM_SPLIT_MASK_OFF (DPAAX_MEM_SPLIT - 1) /**< Offset */\n \n /* APIs exposed */\n+__rte_internal\n int dpaax_iova_table_populate(void);\n+__rte_internal\n void dpaax_iova_table_depopulate(void);\n+__rte_internal\n int dpaax_iova_table_update(phys_addr_t paddr, void *vaddr, size_t length);\n+__rte_internal\n void dpaax_iova_table_dump(void);\n \n static inline void *dpaax_iova_table_get_va(phys_addr_t paddr) __rte_hot;\ndiff --git a/drivers/common/dpaax/rte_common_dpaax_version.map b/drivers/common/dpaax/rte_common_dpaax_version.map\nindex f72eba761d..ad2b2b3fec 100644\n--- a/drivers/common/dpaax/rte_common_dpaax_version.map\n+++ b/drivers/common/dpaax/rte_common_dpaax_version.map\n@@ -1,4 +1,4 @@\n-DPDK_20.0 {\n+INTERNAL {\n \tglobal:\n \n \tdpaax_iova_table_depopulate;\n", "prefixes": [ "v5", "01/13" ] }{ "id": 70260, "url": "