Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/98623/?format=api
http://patchwork.dpdk.org/api/patches/98623/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/df468aa1f2a8d28584d5f3bc3eb1e27b4911df55.1631277001.git.anatoly.burakov@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<df468aa1f2a8d28584d5f3bc3eb1e27b4911df55.1631277001.git.anatoly.burakov@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/df468aa1f2a8d28584d5f3bc3eb1e27b4911df55.1631277001.git.anatoly.burakov@intel.com", "date": "2021-09-10T12:30:06", "name": "[v1,4/7] mem: promote memseg API's to stable", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "22dc6f4bf1e6197f869ab92a2202d1c4afa503d8", "submitter": { "id": 4, "url": "http://patchwork.dpdk.org/api/people/4/?format=api", "name": "Anatoly Burakov", "email": "anatoly.burakov@intel.com" }, "delegate": { "id": 24651, "url": "http://patchwork.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/df468aa1f2a8d28584d5f3bc3eb1e27b4911df55.1631277001.git.anatoly.burakov@intel.com/mbox/", "series": [ { "id": 18839, "url": "http://patchwork.dpdk.org/api/series/18839/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18839", "date": "2021-09-10T12:30:07", "name": "[v1,1/7] eal: promote IPC API's to stable", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18839/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/98623/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/98623/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 42939A0547;\n\tFri, 10 Sep 2021 14:32:40 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CF192411A5;\n\tFri, 10 Sep 2021 14:30:46 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 162BC4114B\n for <dev@dpdk.org>; Fri, 10 Sep 2021 14:30:25 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Sep 2021 05:30:15 -0700", "from silpixa00401191.ir.intel.com ([10.55.128.95])\n by orsmga002.jf.intel.com with ESMTP; 10 Sep 2021 05:30:14 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10102\"; a=\"243386286\"", "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"243386286\"", "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"450460457\"" ], "X-ExtLoop1": "1", "From": "Anatoly Burakov <anatoly.burakov@intel.com>", "To": "dev@dpdk.org,\n\tRay Kinsella <mdr@ashroe.eu>", "Date": "Fri, 10 Sep 2021 12:30:06 +0000", "Message-Id": "\n <df468aa1f2a8d28584d5f3bc3eb1e27b4911df55.1631277001.git.anatoly.burakov@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "\n <029012e59f555be16bed829229e8b48016157371.1631277001.git.anatoly.burakov@intel.com>", "References": "\n <029012e59f555be16bed829229e8b48016157371.1631277001.git.anatoly.burakov@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v1 4/7] mem: promote memseg API's to stable", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "As per ABI policy, move the formerly experimental API's to the stable\nsection.\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/eal/include/rte_memory.h | 17 -----------------\n lib/eal/version.map | 34 +++++++++++++++++-----------------\n 2 files changed, 17 insertions(+), 34 deletions(-)", "diff": "diff --git a/lib/eal/include/rte_memory.h b/lib/eal/include/rte_memory.h\nindex bba9b5300a..4acb2a72a8 100644\n--- a/lib/eal/include/rte_memory.h\n+++ b/lib/eal/include/rte_memory.h\n@@ -127,7 +127,6 @@ rte_iova_t rte_mem_virt2iova(const void *virt);\n * Virtual address corresponding to iova address (or NULL if address does not\n * exist within DPDK memory map).\n */\n-__rte_experimental\n void *\n rte_mem_iova2virt(rte_iova_t iova);\n \n@@ -142,7 +141,6 @@ rte_mem_iova2virt(rte_iova_t iova);\n * @return\n * Memseg pointer on success, or NULL on error.\n */\n-__rte_experimental\n struct rte_memseg *\n rte_mem_virt2memseg(const void *virt, const struct rte_memseg_list *msl);\n \n@@ -154,7 +152,6 @@ rte_mem_virt2memseg(const void *virt, const struct rte_memseg_list *msl);\n * @return\n * Memseg list to which this virtual address belongs to.\n */\n-__rte_experimental\n struct rte_memseg_list *\n rte_mem_virt2memseg_list(const void *virt);\n \n@@ -209,7 +206,6 @@ typedef int (*rte_memseg_list_walk_t)(const struct rte_memseg_list *msl,\n * 1 if stopped by the user\n * -1 if user function reported error\n */\n-__rte_experimental\n int\n rte_memseg_walk(rte_memseg_walk_t func, void *arg);\n \n@@ -231,7 +227,6 @@ rte_memseg_walk(rte_memseg_walk_t func, void *arg);\n * 1 if stopped by the user\n * -1 if user function reported error\n */\n-__rte_experimental\n int\n rte_memseg_contig_walk(rte_memseg_contig_walk_t func, void *arg);\n \n@@ -253,7 +248,6 @@ rte_memseg_contig_walk(rte_memseg_contig_walk_t func, void *arg);\n * 1 if stopped by the user\n * -1 if user function reported error\n */\n-__rte_experimental\n int\n rte_memseg_list_walk(rte_memseg_list_walk_t func, void *arg);\n \n@@ -272,7 +266,6 @@ rte_memseg_list_walk(rte_memseg_list_walk_t func, void *arg);\n * 1 if stopped by the user\n * -1 if user function reported error\n */\n-__rte_experimental\n int\n rte_memseg_walk_thread_unsafe(rte_memseg_walk_t func, void *arg);\n \n@@ -291,7 +284,6 @@ rte_memseg_walk_thread_unsafe(rte_memseg_walk_t func, void *arg);\n * 1 if stopped by the user\n * -1 if user function reported error\n */\n-__rte_experimental\n int\n rte_memseg_contig_walk_thread_unsafe(rte_memseg_contig_walk_t func, void *arg);\n \n@@ -310,7 +302,6 @@ rte_memseg_contig_walk_thread_unsafe(rte_memseg_contig_walk_t func, void *arg);\n * 1 if stopped by the user\n * -1 if user function reported error\n */\n-__rte_experimental\n int\n rte_memseg_list_walk_thread_unsafe(rte_memseg_list_walk_t func, void *arg);\n \n@@ -335,7 +326,6 @@ rte_memseg_list_walk_thread_unsafe(rte_memseg_list_walk_t func, void *arg);\n * - ENOENT - ``ms`` is an unused segment\n * - ENOTSUP - segment fd's are not supported\n */\n-__rte_experimental\n int\n rte_memseg_get_fd(const struct rte_memseg *ms);\n \n@@ -360,7 +350,6 @@ rte_memseg_get_fd(const struct rte_memseg *ms);\n * - ENOENT - ``ms`` is an unused segment\n * - ENOTSUP - segment fd's are not supported\n */\n-__rte_experimental\n int\n rte_memseg_get_fd_thread_unsafe(const struct rte_memseg *ms);\n \n@@ -385,7 +374,6 @@ rte_memseg_get_fd_thread_unsafe(const struct rte_memseg *ms);\n * - ENOENT - ``ms`` is an unused segment\n * - ENOTSUP - segment fd's are not supported\n */\n-__rte_experimental\n int\n rte_memseg_get_fd_offset(const struct rte_memseg *ms, size_t *offset);\n \n@@ -410,7 +398,6 @@ rte_memseg_get_fd_offset(const struct rte_memseg *ms, size_t *offset);\n * - ENOENT - ``ms`` is an unused segment\n * - ENOTSUP - segment fd's are not supported\n */\n-__rte_experimental\n int\n rte_memseg_get_fd_offset_thread_unsafe(const struct rte_memseg *ms,\n \t\tsize_t *offset);\n@@ -678,7 +665,6 @@ typedef void (*rte_mem_event_callback_t)(enum rte_mem_event event_type,\n * -1 on unsuccessful callback register, with rte_errno value indicating\n * reason for failure.\n */\n-__rte_experimental\n int\n rte_mem_event_callback_register(const char *name, rte_mem_event_callback_t clb,\n \t\tvoid *arg);\n@@ -697,7 +683,6 @@ rte_mem_event_callback_register(const char *name, rte_mem_event_callback_t clb,\n * -1 on unsuccessful callback unregister, with rte_errno value indicating\n * reason for failure.\n */\n-__rte_experimental\n int\n rte_mem_event_callback_unregister(const char *name, void *arg);\n \n@@ -747,7 +732,6 @@ typedef int (*rte_mem_alloc_validator_t)(int socket_id,\n * -1 on unsuccessful callback register, with rte_errno value indicating\n * reason for failure.\n */\n-__rte_experimental\n int\n rte_mem_alloc_validator_register(const char *name,\n \t\trte_mem_alloc_validator_t clb, int socket_id, size_t limit);\n@@ -766,7 +750,6 @@ rte_mem_alloc_validator_register(const char *name,\n * -1 on unsuccessful callback unregister, with rte_errno value indicating\n * reason for failure.\n */\n-__rte_experimental\n int\n rte_mem_alloc_validator_unregister(const char *name, int socket_id);\n \ndiff --git a/lib/eal/version.map b/lib/eal/version.map\nindex 6f768e66d0..359b784c16 100644\n--- a/lib/eal/version.map\n+++ b/lib/eal/version.map\n@@ -168,12 +168,29 @@ DPDK_22 {\n \trte_mcfg_tailq_read_unlock;\n \trte_mcfg_tailq_write_lock;\n \trte_mcfg_tailq_write_unlock;\n+\trte_mem_alloc_validator_register;\n+\trte_mem_alloc_validator_unregister;\n+\trte_mem_event_callback_register;\n+\trte_mem_event_callback_unregister;\n+\trte_mem_iova2virt;\n \trte_mem_lock_page;\n \trte_mem_virt2iova;\n+\trte_mem_virt2memseg;\n+\trte_mem_virt2memseg_list;\n \trte_mem_virt2phy;\n \trte_memdump;\n \trte_memory_get_nchannel;\n \trte_memory_get_nrank;\n+\trte_memseg_contig_walk;\n+\trte_memseg_contig_walk_thread_unsafe;\n+\trte_memseg_get_fd;\n+\trte_memseg_get_fd_offset;\n+\trte_memseg_get_fd_offset_thread_unsafe;\n+\trte_memseg_get_fd_thread_unsafe;\n+\trte_memseg_list_walk;\n+\trte_memseg_list_walk_thread_unsafe;\n+\trte_memseg_walk;\n+\trte_memseg_walk_thread_unsafe;\n \trte_memzone_dump;\n \trte_memzone_free;\n \trte_memzone_lookup;\n@@ -272,17 +289,7 @@ EXPERIMENTAL {\n \trte_dev_event_monitor_start; # WINDOWS_NO_EXPORT\n \trte_dev_event_monitor_stop; # WINDOWS_NO_EXPORT\n \trte_log_register_type_and_pick_level;\n-\trte_mem_alloc_validator_register;\n-\trte_mem_alloc_validator_unregister;\n \trte_mem_check_dma_mask;\n-\trte_mem_event_callback_register;\n-\trte_mem_event_callback_unregister;\n-\trte_mem_iova2virt;\n-\trte_mem_virt2memseg;\n-\trte_mem_virt2memseg_list;\n-\trte_memseg_contig_walk;\n-\trte_memseg_list_walk;\n-\trte_memseg_walk;\n \n \t# added in 18.08\n \trte_class_find;\n@@ -291,9 +298,6 @@ EXPERIMENTAL {\n \trte_class_unregister;\n \trte_dev_iterator_init;\n \trte_dev_iterator_next;\n-\trte_memseg_contig_walk_thread_unsafe;\n-\trte_memseg_list_walk_thread_unsafe;\n-\trte_memseg_walk_thread_unsafe;\n \n \t# added in 18.11\n \trte_delay_us_sleep;\n@@ -302,10 +306,6 @@ EXPERIMENTAL {\n \trte_dev_hotplug_handle_enable; # WINDOWS_NO_EXPORT\n \trte_mem_check_dma_mask_thread_unsafe;\n \trte_mem_set_dma_mask;\n-\trte_memseg_get_fd;\n-\trte_memseg_get_fd_offset;\n-\trte_memseg_get_fd_offset_thread_unsafe;\n-\trte_memseg_get_fd_thread_unsafe;\n \n \t# added in 19.02\n \trte_extmem_attach;\n", "prefixes": [ "v1", "4/7" ] }{ "id": 98623, "url": "