get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 71076,
    "url": "http://patchwork.dpdk.org/api/patches/71076/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200610033918.45834-1-feifei.wang2@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": "<20200610033918.45834-1-feifei.wang2@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200610033918.45834-1-feifei.wang2@arm.com",
    "date": "2020-06-10T03:39:18",
    "name": "lib/ring: fix the bug of HTS/RTS bulk enqueue",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a5cc32aaf9cddeaded3d21fcae924dfca91dbccd",
    "submitter": {
        "id": 1771,
        "url": "http://patchwork.dpdk.org/api/people/1771/?format=api",
        "name": "Feifei Wang",
        "email": "feifei.wang2@arm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200610033918.45834-1-feifei.wang2@arm.com/mbox/",
    "series": [
        {
            "id": 10367,
            "url": "http://patchwork.dpdk.org/api/series/10367/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=10367",
            "date": "2020-06-10T03:39:18",
            "name": "lib/ring: fix the bug of HTS/RTS bulk enqueue",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/10367/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/71076/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/71076/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 EADA8A0517;\n\tWed, 10 Jun 2020 05:39:50 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DE7FE29CB;\n\tWed, 10 Jun 2020 05:39:49 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 212491DB8;\n Wed, 10 Jun 2020 05:39:48 +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 641841FB;\n Tue,  9 Jun 2020 20:39:47 -0700 (PDT)",
            "from net-arm-c2400.shanghai.arm.com (net-arm-c2400.shanghai.arm.com\n [10.169.40.212])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 430A83F73D;\n Tue,  9 Jun 2020 20:39:45 -0700 (PDT)"
        ],
        "From": "Feifei Wang <feifei.wang2@arm.com>",
        "To": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Konstantin Ananyev <konstantin.ananyev@intel.com>",
        "Cc": "dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com>,\n stable@dpdk.org",
        "Date": "Wed, 10 Jun 2020 11:39:18 +0800",
        "Message-Id": "<20200610033918.45834-1-feifei.wang2@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] lib/ring: fix the bug of HTS/RTS bulk enqueue",
        "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": "Directly call \"_rte_ring_do_enqueue_elem\" function can result in the\nprocess skips the \"switch\" order and cannot call the APIs of RTS and HTS\nmode in \"rte_ring_enqueue_bulk_elem\" function.\n\nTo fix it, remove the unnecessary function and make\n\"_rte_ring_do_enqueue_elem\" consistent with \"_rte_ring_do_dequeue_elem\".\n\nFixes: e6ba4731c0f3 (\"ring: introduce RTS ring mode\")\nCc: stable@dpdk.org\n\nSigned-off-by: Feifei Wang <feifei.wang2@arm.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n lib/librte_ring/rte_ring_elem.h | 3 ---\n 1 file changed, 3 deletions(-)",
    "diff": "diff --git a/lib/librte_ring/rte_ring_elem.h b/lib/librte_ring/rte_ring_elem.h\nindex a5a4c46f9..469aee7da 100644\n--- a/lib/librte_ring/rte_ring_elem.h\n+++ b/lib/librte_ring/rte_ring_elem.h\n@@ -578,9 +578,6 @@ static __rte_always_inline unsigned int\n rte_ring_enqueue_bulk_elem(struct rte_ring *r, const void *obj_table,\n \t\tunsigned int esize, unsigned int n, unsigned int *free_space)\n {\n-\treturn __rte_ring_do_enqueue_elem(r, obj_table, esize, n,\n-\t\t\tRTE_RING_QUEUE_FIXED, r->prod.sync_type, free_space);\n-\n \tswitch (r->prod.sync_type) {\n \tcase RTE_RING_SYNC_MT:\n \t\treturn rte_ring_mp_enqueue_bulk_elem(r, obj_table, esize, n,\n",
    "prefixes": []
}