get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 54923,
    "url": "http://patches.dpdk.org/api/patches/54923/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190618161636.23748-6-stephen@networkplumber.org/",
    "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": "<20190618161636.23748-6-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190618161636.23748-6-stephen@networkplumber.org",
    "date": "2019-06-18T16:16:33",
    "name": "[v3,5/8] kni: use proper type for kni fifo's",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ea3b0b24974d20d15fdf8bcacf32c23a1df694bb",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190618161636.23748-6-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 5063,
            "url": "http://patches.dpdk.org/api/series/5063/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5063",
            "date": "2019-06-18T16:16:28",
            "name": "kni: fixes and cleanups",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/5063/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/54923/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/54923/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "MIME-Version": "1.0",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Google-Smtp-Source": "APXvYqyWztEr8hTpvGICKWb7lQK9WNn1Wx96vP/4J+eZ4xUDgtGT8pPaISBq9FavRFjT/w/xnjuIFw==",
        "References": "<20190610175155.21374-1-stephen@networkplumber.org>\n\t<20190618161636.23748-1-stephen@networkplumber.org>",
        "In-Reply-To": "<20190618161636.23748-1-stephen@networkplumber.org>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=MaX/9U1VKQDRlwJP1eh9LKqP+HAkhTNljy8r1/SknpU=;\n\tb=1LsYBKOnOMM8XoV2jH4ihDku+vZC4+KhVdlI/BpSD0AuBvDnSR6TH7lg8BKD9JzG2J\n\t5sZguU4es0SqEpTYNRCbYuCEvSCgaz3LJHK9PjPwxFn1Iar3pdAXKQmol7QGlFghmhhY\n\t9OxMXttg8zSIH283ZtmqOgLbZTFO/DoDrLppMZ8gI1vmvbPuRmrswvonFSNbgHKSeEqh\n\tdWw2Fs+3PaHXe59LV7Wodtg1EdNBfSXxH84EBDtAEw/Mp4wlcLMqRMM5JcuvyFrTVQO7\n\tmm4L+qc50pSildLTc9EkNMAx9pSkPICXeVXSzGeRp1SVB3j3KJWpZ3fzOd7/HuHEXbQr\n\tLcVA==",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id F0A131C23C;\n\tTue, 18 Jun 2019 18:16:58 +0200 (CEST)",
            "from mail-pf1-f194.google.com (mail-pf1-f194.google.com\n\t[209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 4CD761C220\n\tfor <dev@dpdk.org>; Tue, 18 Jun 2019 18:16:51 +0200 (CEST)",
            "by mail-pf1-f194.google.com with SMTP id c85so7955635pfc.1\n\tfor <dev@dpdk.org>; Tue, 18 Jun 2019 09:16:51 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\t3sm15485385pfp.114.2019.06.18.09.16.49\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tTue, 18 Jun 2019 09:16:49 -0700 (PDT)"
        ],
        "X-Original-To": "patchwork@dpdk.org",
        "X-Received": "by 2002:a65:5202:: with SMTP id o2mr3152440pgp.199.1560874610247;\n\tTue, 18 Jun 2019 09:16:50 -0700 (PDT)",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Gm-Message-State": "APjAAAXwzYkAxHyJEY8HckDwQ8q9ioQFfkeWPsHz50Dy6IsECOsTPuBy\n\tIMd8kfWuNbZFQv3BZz6MgechAFEj7SE=",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=MaX/9U1VKQDRlwJP1eh9LKqP+HAkhTNljy8r1/SknpU=;\n\tb=ME0yWUcD0IjgIin/1q+JBUaa88DfiDr6aL6ooIyy5DK6Tn/IhzC8ZYts8VGy0wMoEP\n\tC7I4tsVOcSGrMjakevUuNpMFCfwFlOCIEuQXh4mSDOPlIEqtHZVGyJWK5sliEW7Cxt3o\n\ttKQa6tMuiIlj5Q+G8PeD/F5c/D30Z8EyManP8NOWRRMZiK7TR5EpPZeiuN3XUfXvwVoc\n\tTlgsL+hftGhb4tqxh0oXfm2A9VF6mHPYYUrAQQWT8Lcxn6n60UrrcPzn/itwc+VjTA2s\n\toyllpvKJfw15WHBJiF2i9SgEKO+NhaOQ2AXEyOIQftb3mAS6z0prR4rMgpRahvKmxiLq\n\tCJvg==",
        "Subject": "[dpdk-dev] [PATCH v3 5/8] kni: use proper type for kni fifo's",
        "Date": "Tue, 18 Jun 2019 09:16:33 -0700",
        "Message-Id": "<20190618161636.23748-6-stephen@networkplumber.org>",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>"
    },
    "content": "Using void * instead of proper type is unsafe practice.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n kernel/linux/kni/kni_dev.h | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/kernel/linux/kni/kni_dev.h b/kernel/linux/kni/kni_dev.h\nindex f3e6c3ca4efa..ceba5f73c1d9 100644\n--- a/kernel/linux/kni/kni_dev.h\n+++ b/kernel/linux/kni/kni_dev.h\n@@ -51,22 +51,22 @@ struct kni_dev {\n \tstruct net_device *net_dev;\n \n \t/* queue for packets to be sent out */\n-\tvoid *tx_q;\n+\tstruct rte_kni_fifo *tx_q;\n \n \t/* queue for the packets received */\n-\tvoid *rx_q;\n+\tstruct rte_kni_fifo *rx_q;\n \n \t/* queue for the allocated mbufs those can be used to save sk buffs */\n-\tvoid *alloc_q;\n+\tstruct rte_kni_fifo *alloc_q;\n \n \t/* free queue for the mbufs to be freed */\n-\tvoid *free_q;\n+\tstruct rte_kni_fifo *free_q;\n \n \t/* request queue */\n-\tvoid *req_q;\n+\tstruct rte_kni_fifo *req_q;\n \n \t/* response queue */\n-\tvoid *resp_q;\n+\tstruct rte_kni_fifo *resp_q;\n \n \tvoid *sync_kva;\n \tvoid *sync_va;\n",
    "prefixes": [
        "v3",
        "5/8"
    ]
}