get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65406,
    "url": "http://patchwork.dpdk.org/api/patches/65406/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200131035929.2576-1-honnappa.nagarahalli@arm.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": "<20200131035929.2576-1-honnappa.nagarahalli@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200131035929.2576-1-honnappa.nagarahalli@arm.com",
    "date": "2020-01-31T03:59:28",
    "name": "[1/2] lib/ring: fix documentation for rte_ring_xxx_elem apis",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "31fb9f22067940b86a9a0a360a5e8ccd9d440d37",
    "submitter": {
        "id": 1045,
        "url": "http://patchwork.dpdk.org/api/people/1045/?format=api",
        "name": "Honnappa Nagarahalli",
        "email": "honnappa.nagarahalli@arm.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200131035929.2576-1-honnappa.nagarahalli@arm.com/mbox/",
    "series": [
        {
            "id": 8372,
            "url": "http://patchwork.dpdk.org/api/series/8372/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=8372",
            "date": "2020-01-31T03:59:28",
            "name": "[1/2] lib/ring: fix documentation for rte_ring_xxx_elem apis",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/8372/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/65406/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/65406/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 3D531A0524;\n\tFri, 31 Jan 2020 04:59:40 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 644101C065;\n\tFri, 31 Jan 2020 04:59:39 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 48CFD1C043\n for <dev@dpdk.org>; Fri, 31 Jan 2020 04:59:37 +0100 (CET)",
            "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 99AEA31B;\n Thu, 30 Jan 2020 19:59:36 -0800 (PST)",
            "from qc2400f-1.austin.arm.com (qc2400f-1.austin.arm.com\n [10.118.14.48])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8638F3F67D;\n Thu, 30 Jan 2020 19:59:36 -0800 (PST)"
        ],
        "From": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>",
        "To": "olivier.matz@6wind.com,\n\thonnappa.nagarahalli@arm.com",
        "Cc": "david.marchand@redhat.com,\n\tdev@dpdk.org,\n\tgavin.hu@arm.com,\n\tnd@arm.com",
        "Date": "Thu, 30 Jan 2020 21:59:28 -0600",
        "Message-Id": "<20200131035929.2576-1-honnappa.nagarahalli@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH 1/2] lib/ring: fix documentation for\n\trte_ring_xxx_elem apis",
        "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": "Correct the documentation for obj_table in rte_ring_xxx_elem APIs.\n\nFixes: cc4b218790f6 (\"ring: support configurable element size\")\n\nSigned-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nReviewed-by: Gavin Hu <gavin.hu@arm.com>\n---\n lib/librte_ring/rte_ring_elem.h | 34 ++++++++++++++++-----------------\n 1 file changed, 17 insertions(+), 17 deletions(-)",
    "diff": "diff --git a/lib/librte_ring/rte_ring_elem.h b/lib/librte_ring/rte_ring_elem.h\nindex 15d79bf2a..50ecc9c3d 100644\n--- a/lib/librte_ring/rte_ring_elem.h\n+++ b/lib/librte_ring/rte_ring_elem.h\n@@ -392,7 +392,7 @@ dequeue_elems(struct rte_ring *r, uint32_t cons_head, void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -439,7 +439,7 @@ __rte_ring_do_enqueue_elem(struct rte_ring *r, const void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -490,7 +490,7 @@ __rte_ring_do_dequeue_elem(struct rte_ring *r, void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -519,7 +519,7 @@ rte_ring_mp_enqueue_bulk_elem(struct rte_ring *r, const void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -550,7 +550,7 @@ rte_ring_sp_enqueue_bulk_elem(struct rte_ring *r, const void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -655,7 +655,7 @@ rte_ring_enqueue_elem(struct rte_ring *r, void *obj, unsigned int esize)\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects) that will be filled.\n+ *   A pointer to a table of objects that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -682,7 +682,7 @@ rte_ring_mc_dequeue_bulk_elem(struct rte_ring *r, void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects) that will be filled.\n+ *   A pointer to a table of objects that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -714,7 +714,7 @@ rte_ring_sc_dequeue_bulk_elem(struct rte_ring *r, void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects) that will be filled.\n+ *   A pointer to a table of objects that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -744,7 +744,7 @@ rte_ring_dequeue_bulk_elem(struct rte_ring *r, void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_p\n- *   A pointer to a void * pointer (object) that will be filled.\n+ *   A pointer to the object that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -768,7 +768,7 @@ rte_ring_mc_dequeue_elem(struct rte_ring *r, void *obj_p,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_p\n- *   A pointer to a void * pointer (object) that will be filled.\n+ *   A pointer to the object that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -796,7 +796,7 @@ rte_ring_sc_dequeue_elem(struct rte_ring *r, void *obj_p,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_p\n- *   A pointer to a void * pointer (object) that will be filled.\n+ *   A pointer to the object that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -822,7 +822,7 @@ rte_ring_dequeue_elem(struct rte_ring *r, void *obj_p, unsigned int esize)\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -851,7 +851,7 @@ rte_ring_mp_enqueue_burst_elem(struct rte_ring *r, const void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -882,7 +882,7 @@ rte_ring_sp_enqueue_burst_elem(struct rte_ring *r, const void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects).\n+ *   A pointer to a table of objects.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -914,7 +914,7 @@ rte_ring_enqueue_burst_elem(struct rte_ring *r, const void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects) that will be filled.\n+ *   A pointer to a table of objects that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -943,7 +943,7 @@ rte_ring_mc_dequeue_burst_elem(struct rte_ring *r, void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects) that will be filled.\n+ *   A pointer to a table of objects that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n@@ -974,7 +974,7 @@ rte_ring_sc_dequeue_burst_elem(struct rte_ring *r, void *obj_table,\n  * @param r\n  *   A pointer to the ring structure.\n  * @param obj_table\n- *   A pointer to a table of void * pointers (objects) that will be filled.\n+ *   A pointer to a table of objects that will be filled.\n  * @param esize\n  *   The size of ring element, in bytes. It must be a multiple of 4.\n  *   This must be the same value used while creating the ring. Otherwise\n",
    "prefixes": [
        "1/2"
    ]
}