get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 61753,
    "url": "http://patches.dpdk.org/api/patches/61753/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1571837852-45975-2-git-send-email-orika@mellanox.com/",
    "project": {
        "id": 1,
        "url": "http://patches.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": "<1571837852-45975-2-git-send-email-orika@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1571837852-45975-2-git-send-email-orika@mellanox.com",
    "date": "2019-10-23T13:37:18",
    "name": "[v5,01/15] ethdev: move queue state defines to private file",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9bcdc8f03685c9e28b75321e862d9bab8bfd4fc4",
    "submitter": {
        "id": 795,
        "url": "http://patches.dpdk.org/api/people/795/?format=api",
        "name": "Ori Kam",
        "email": "orika@mellanox.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1571837852-45975-2-git-send-email-orika@mellanox.com/mbox/",
    "series": [
        {
            "id": 7015,
            "url": "http://patches.dpdk.org/api/series/7015/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7015",
            "date": "2019-10-23T13:37:19",
            "name": "add hairpin feature",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/7015/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/61753/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/61753/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D80281C194;\n\tWed, 23 Oct 2019 15:37:47 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id EECC41C11A\n\tfor <dev@dpdk.org>; Wed, 23 Oct 2019 15:37:39 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\torika@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 23 Oct 2019 15:37:37 +0200",
            "from pegasus04.mtr.labs.mlnx. (pegasus04.mtr.labs.mlnx\n\t[10.210.16.126])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x9NDbZjB003522;\n\tWed, 23 Oct 2019 16:37:37 +0300"
        ],
        "From": "Ori Kam <orika@mellanox.com>",
        "To": "Thomas Monjalon <thomas@monjalon.net>,\n\tFerruh Yigit <ferruh.yigit@intel.com>,\n\tAndrew Rybchenko <arybchenko@solarflare.com>",
        "Cc": "dev@dpdk.org, orika@mellanox.com, jingjing.wu@intel.com,\n\tstephen@networkplumber.org",
        "Date": "Wed, 23 Oct 2019 13:37:18 +0000",
        "Message-Id": "<1571837852-45975-2-git-send-email-orika@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1571837852-45975-1-git-send-email-orika@mellanox.com>",
        "References": "<1569479349-36962-1-git-send-email-orika@mellanox.com>\n\t<1571837852-45975-1-git-send-email-orika@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v5 01/15] ethdev: move queue state defines to\n\tprivate file",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The queue state defines are internal to the DPDK.\nThis commit moves them to a private header file.\n\nSigned-off-by: Ori Kam <orika@mellanox.com>\nReviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>\n---\n lib/librte_ethdev/rte_ethdev.h        | 6 ------\n lib/librte_ethdev/rte_ethdev_driver.h | 6 ++++++\n 2 files changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex 33c528b..09c611a 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -1336,12 +1336,6 @@ struct rte_eth_dcb_info {\n \tstruct rte_eth_dcb_tc_queue_mapping tc_queue;\n };\n \n-/**\n- * RX/TX queue states\n- */\n-#define RTE_ETH_QUEUE_STATE_STOPPED 0\n-#define RTE_ETH_QUEUE_STATE_STARTED 1\n-\n #define RTE_ETH_ALL RTE_MAX_ETHPORTS\n \n /* Macros to check for valid port */\ndiff --git a/lib/librte_ethdev/rte_ethdev_driver.h b/lib/librte_ethdev/rte_ethdev_driver.h\nindex 936ff8c..c404f17 100644\n--- a/lib/librte_ethdev/rte_ethdev_driver.h\n+++ b/lib/librte_ethdev/rte_ethdev_driver.h\n@@ -22,6 +22,12 @@\n #endif\n \n /**\n+ * RX/TX queue states\n+ */\n+#define RTE_ETH_QUEUE_STATE_STOPPED 0\n+#define RTE_ETH_QUEUE_STATE_STARTED 1\n+\n+/**\n  * @internal\n  * Returns a ethdev slot specified by the unique identifier name.\n  *\n",
    "prefixes": [
        "v5",
        "01/15"
    ]
}