get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/98625/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 98625,
    "url": "http://patchwork.dpdk.org/api/patches/98625/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/ec3f9b7e899f1c4efe2d5ba75028efeabdc83b06.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": "<ec3f9b7e899f1c4efe2d5ba75028efeabdc83b06.1631277001.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/ec3f9b7e899f1c4efe2d5ba75028efeabdc83b06.1631277001.git.anatoly.burakov@intel.com",
    "date": "2021-09-10T12:30:05",
    "name": "[v1,3/7] eal: promote malloc API's to stable",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "00f151b5827263488f152224cca66d8d6dabeca3",
    "submitter": {
        "id": 4,
        "url": "http://patchwork.dpdk.org/api/people/4/?format=api",
        "name": "Burakov, Anatoly",
        "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/ec3f9b7e899f1c4efe2d5ba75028efeabdc83b06.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/98625/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/98625/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 56728A0547;\n\tFri, 10 Sep 2021 14:32:50 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1EA15411B1;\n\tFri, 10 Sep 2021 14:30:49 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 803154114A\n for <dev@dpdk.org>; Fri, 10 Sep 2021 14:30:26 +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:13 -0700",
            "from silpixa00401191.ir.intel.com ([10.55.128.95])\n by orsmga002.jf.intel.com with ESMTP; 10 Sep 2021 05:30:13 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10102\"; a=\"243386282\"",
            "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"243386282\"",
            "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"450460454\""
        ],
        "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:05 +0000",
        "Message-Id": "\n <ec3f9b7e899f1c4efe2d5ba75028efeabdc83b06.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 3/7] eal: promote malloc 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_malloc.h | 10 ----------\n lib/eal/version.map          | 20 ++++++++++----------\n 2 files changed, 10 insertions(+), 20 deletions(-)",
    "diff": "diff --git a/lib/eal/include/rte_malloc.h b/lib/eal/include/rte_malloc.h\nindex 895bb6e849..ed02e15119 100644\n--- a/lib/eal/include/rte_malloc.h\n+++ b/lib/eal/include/rte_malloc.h\n@@ -157,7 +157,6 @@ rte_realloc(void *ptr, size_t size, unsigned int align)\n  *     align is not a power of two).\n  *   - Otherwise, the pointer to the reallocated memory.\n  */\n-__rte_experimental\n void *\n rte_realloc_socket(void *ptr, size_t size, unsigned int align, int socket)\n \t__rte_alloc_size(2);\n@@ -339,7 +338,6 @@ rte_malloc_get_socket_stats(int socket,\n  *     EPERM  - attempted to add memory to a reserved heap\n  *     ENOSPC - no more space in internal config to store a new memory chunk\n  */\n-__rte_experimental\n int\n rte_malloc_heap_memory_add(const char *heap_name, void *va_addr, size_t len,\n \t\trte_iova_t iova_addrs[], unsigned int n_pages, size_t page_sz);\n@@ -371,7 +369,6 @@ rte_malloc_heap_memory_add(const char *heap_name, void *va_addr, size_t len,\n  *     ENOENT - heap or memory chunk was not found\n  *     EBUSY  - memory chunk still contains data\n  */\n-__rte_experimental\n int\n rte_malloc_heap_memory_remove(const char *heap_name, void *va_addr, size_t len);\n \n@@ -396,7 +393,6 @@ rte_malloc_heap_memory_remove(const char *heap_name, void *va_addr, size_t len);\n  *     EPERM  - attempted to attach memory to a reserved heap\n  *     ENOENT - heap or memory chunk was not found\n  */\n-__rte_experimental\n int\n rte_malloc_heap_memory_attach(const char *heap_name, void *va_addr, size_t len);\n \n@@ -421,7 +417,6 @@ rte_malloc_heap_memory_attach(const char *heap_name, void *va_addr, size_t len);\n  *     EPERM  - attempted to detach memory from a reserved heap\n  *     ENOENT - heap or memory chunk was not found\n  */\n-__rte_experimental\n int\n rte_malloc_heap_memory_detach(const char *heap_name, void *va_addr, size_t len);\n \n@@ -441,7 +436,6 @@ rte_malloc_heap_memory_detach(const char *heap_name, void *va_addr, size_t len);\n  *     EEXIST - heap by name of ``heap_name`` already exists\n  *     ENOSPC - no more space in internal config to store a new heap\n  */\n-__rte_experimental\n int\n rte_malloc_heap_create(const char *heap_name);\n \n@@ -465,7 +459,6 @@ rte_malloc_heap_create(const char *heap_name);\n  *     EPERM  - attempting to destroy reserved heap\n  *     EBUSY  - heap still contains data\n  */\n-__rte_experimental\n int\n rte_malloc_heap_destroy(const char *heap_name);\n \n@@ -480,7 +473,6 @@ rte_malloc_heap_destroy(const char *heap_name);\n  *     EINVAL - ``name`` was NULL\n  *     ENOENT - heap identified by the name ``name`` was not found\n  */\n-__rte_experimental\n int\n rte_malloc_heap_get_socket(const char *name);\n \n@@ -496,7 +488,6 @@ rte_malloc_heap_get_socket(const char *name);\n  *   0 if socket ID refers to internal DPDK memory\n  *   -1 if socket ID is invalid\n  */\n-__rte_experimental\n int\n rte_malloc_heap_socket_is_external(int socket_id);\n \n@@ -527,7 +518,6 @@ rte_malloc_dump_stats(FILE *f, const char *type);\n  * @param f\n  *   A pointer to a file for output\n  */\n-__rte_experimental\n void\n rte_malloc_dump_heaps(FILE *f);\n \ndiff --git a/lib/eal/version.map b/lib/eal/version.map\nindex d3b2b07a78..6f768e66d0 100644\n--- a/lib/eal/version.map\n+++ b/lib/eal/version.map\n@@ -141,8 +141,17 @@ DPDK_22 {\n \trte_log_set_level_pattern;\n \trte_log_set_level_regexp;\n \trte_malloc;\n+\trte_malloc_dump_heaps;\n \trte_malloc_dump_stats;\n \trte_malloc_get_socket_stats;\n+\trte_malloc_heap_create;\n+\trte_malloc_heap_destroy;\n+\trte_malloc_heap_get_socket;\n+\trte_malloc_heap_memory_add;\n+\trte_malloc_heap_memory_attach;\n+\trte_malloc_heap_memory_detach;\n+\trte_malloc_heap_memory_remove;\n+\trte_malloc_heap_socket_is_external;\n \trte_malloc_set_limit;\n \trte_malloc_socket;\n \trte_malloc_validate;\n@@ -181,6 +190,7 @@ DPDK_22 {\n \trte_openlog_stream;\n \trte_rand;\n \trte_realloc;\n+\trte_realloc_socket;\n \trte_reciprocal_value;\n \trte_reciprocal_value_u64;\n \trte_rtm_supported;\n@@ -262,7 +272,6 @@ 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_malloc_dump_heaps;\n \trte_mem_alloc_validator_register;\n \trte_mem_alloc_validator_unregister;\n \trte_mem_check_dma_mask;\n@@ -291,14 +300,6 @@ EXPERIMENTAL {\n \trte_dev_event_callback_process;\n \trte_dev_hotplug_handle_disable; # WINDOWS_NO_EXPORT\n \trte_dev_hotplug_handle_enable; # WINDOWS_NO_EXPORT\n-\trte_malloc_heap_create;\n-\trte_malloc_heap_destroy;\n-\trte_malloc_heap_get_socket;\n-\trte_malloc_heap_memory_add;\n-\trte_malloc_heap_memory_attach;\n-\trte_malloc_heap_memory_detach;\n-\trte_malloc_heap_memory_remove;\n-\trte_malloc_heap_socket_is_external;\n \trte_mem_check_dma_mask_thread_unsafe;\n \trte_mem_set_dma_mask;\n \trte_memseg_get_fd;\n@@ -316,7 +317,6 @@ EXPERIMENTAL {\n \trte_dev_dma_map;\n \trte_dev_dma_unmap;\n \trte_intr_callback_unregister_pending;\n-\trte_realloc_socket;\n \n \t# added in 19.08\n \trte_intr_ack;\n",
    "prefixes": [
        "v1",
        "3/7"
    ]
}