Show a patch.

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

{
    "id": 73576,
    "url": "https://patches.dpdk.org/api/patches/73576/",
    "web_url": "https://patches.dpdk.org/patch/73576/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200709061212.15931-3-feifei.wang2@arm.com>",
    "date": "2020-07-09T06:12:11",
    "name": "[v2,2/3] ring: remove experimental tag for ring element APIs",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "552ddc973554df86b38f3718e7a00ca5b1255f33",
    "submitter": {
        "id": 1771,
        "url": "https://patches.dpdk.org/api/people/1771/",
        "name": "Feifei Wang",
        "email": "feifei.wang2@arm.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/patch/73576/mbox/",
    "series": [
        {
            "id": 10907,
            "url": "https://patches.dpdk.org/api/series/10907/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10907",
            "date": "2020-07-09T06:12:09",
            "name": "ring clean up",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/10907/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73576/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/73576/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Message-Id": "<20200709061212.15931-3-feifei.wang2@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "To": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Konstantin Ananyev <konstantin.ananyev@intel.com>,\n Ray Kinsella <mdr@ashroe.eu>, Neil Horman <nhorman@tuxdriver.com>",
        "Cc": "dev@dpdk.org, nd@arm.com, Ruifeng.wang@arm.com,\n Feifei Wang <feifei.wang2@arm.com>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 79A3AA0526;\n\tThu,  9 Jul 2020 08:12:47 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0246E1DAE0;\n\tThu,  9 Jul 2020 08:12:40 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id AB6F81DA58\n for <dev@dpdk.org>; Thu,  9 Jul 2020 08:12:38 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2EFD61045;\n Wed,  8 Jul 2020 23:12:38 -0700 (PDT)",
            "from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com\n [10.169.208.213])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 93AA53F71E;\n Wed,  8 Jul 2020 23:12:35 -0700 (PDT)"
        ],
        "Subject": "[dpdk-dev] [PATCH v2 2/3] ring: remove experimental tag for ring\n\telement APIs",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "In-Reply-To": "<20200709061212.15931-1-feifei.wang2@arm.com>",
        "Precedence": "list",
        "From": "Feifei Wang <feifei.wang2@arm.com>",
        "References": "<20200703102651.8918-1>\n <20200709061212.15931-1-feifei.wang2@arm.com>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Date": "Thu,  9 Jul 2020 01:12:11 -0500",
        "X-Mailman-Version": "2.1.15",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>"
    },
    "content": "Remove the experimental tag for rte_ring_xxx_elem APIs that have been\naround for 2 releases.\n\nSigned-off-by: Feifei Wang <feifei.wang2@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\nv2:\n1. add the changed API into DPDK_21 ABI in the map file. (Ray)\n\n lib/librte_ring/rte_ring.h           |  5 +----\n lib/librte_ring/rte_ring_elem.h      |  8 --------\n lib/librte_ring/rte_ring_version.map | 10 ++--------\n 3 files changed, 3 insertions(+), 20 deletions(-)",
    "diff": "diff --git a/lib/librte_ring/rte_ring.h b/lib/librte_ring/rte_ring.h\nindex 7181c33b4..35f3f8c42 100644\n--- a/lib/librte_ring/rte_ring.h\n+++ b/lib/librte_ring/rte_ring.h\n@@ -40,6 +40,7 @@ extern \"C\" {\n #endif\n \n #include <rte_ring_core.h>\n+#include <rte_ring_elem.h>\n \n /**\n  * Calculate the memory size needed for a ring\n@@ -401,10 +402,6 @@ rte_ring_sp_enqueue_bulk(struct rte_ring *r, void * const *obj_table,\n \t\t\tRTE_RING_SYNC_ST, free_space);\n }\n \n-#ifdef ALLOW_EXPERIMENTAL_API\n-#include <rte_ring_elem.h>\n-#endif\n-\n /**\n  * Enqueue several objects on a ring.\n  *\ndiff --git a/lib/librte_ring/rte_ring_elem.h b/lib/librte_ring/rte_ring_elem.h\nindex 9e5192ae6..69dc51746 100644\n--- a/lib/librte_ring/rte_ring_elem.h\n+++ b/lib/librte_ring/rte_ring_elem.h\n@@ -23,9 +23,6 @@ extern \"C\" {\n #include <rte_ring_core.h>\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice\n- *\n  * Calculate the memory size needed for a ring with given element size\n  *\n  * This function returns the number of bytes needed for a ring, given\n@@ -43,13 +40,9 @@ extern \"C\" {\n  *   - -EINVAL - esize is not a multiple of 4 or count provided is not a\n  *\t\t power of 2.\n  */\n-__rte_experimental\n ssize_t rte_ring_get_memsize_elem(unsigned int esize, unsigned int count);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice\n- *\n  * Create a new ring named *name* that stores elements with given size.\n  *\n  * This function uses ``memzone_reserve()`` to allocate memory. Then it\n@@ -109,7 +102,6 @@ ssize_t rte_ring_get_memsize_elem(unsigned int esize, unsigned int count);\n  *    - EEXIST - a memzone with the same name already exists\n  *    - ENOMEM - no appropriate memory area found in which to create memzone\n  */\n-__rte_experimental\n struct rte_ring *rte_ring_create_elem(const char *name, unsigned int esize,\n \t\t\tunsigned int count, int socket_id, unsigned int flags);\n \ndiff --git a/lib/librte_ring/rte_ring_version.map b/lib/librte_ring/rte_ring_version.map\nindex 9a6ce4d32..ac392f3ca 100644\n--- a/lib/librte_ring/rte_ring_version.map\n+++ b/lib/librte_ring/rte_ring_version.map\n@@ -15,13 +15,7 @@ DPDK_20.0 {\n DPDK_21 {\n \tglobal:\n \n-\trte_ring_reset;\n-} DPDK_20.0;\n-\n-EXPERIMENTAL {\n-\tglobal:\n-\n-\t# added in 20.02\n \trte_ring_create_elem;\n \trte_ring_get_memsize_elem;\n-};\n+\trte_ring_reset;\n+} DPDK_20.0;\n",
    "prefixes": [
        "v2",
        "2/3"
    ]
}