get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55101,
    "url": "http://patches.dpdk.org/api/patches/55101/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190619185958.27306-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": "<20190619185958.27306-6-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190619185958.27306-6-stephen@networkplumber.org",
    "date": "2019-06-19T18:59:55",
    "name": "[v4,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/20190619185958.27306-6-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 5091,
            "url": "http://patches.dpdk.org/api/series/5091/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5091",
            "date": "2019-06-19T18:59:50",
            "name": "kni: fixes and cleanups",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/5091/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55101/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/55101/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 EDD031D17E;\n\tWed, 19 Jun 2019 21:00:17 +0200 (CEST)",
            "from mail-pl1-f194.google.com (mail-pl1-f194.google.com\n\t[209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 189191D163\n\tfor <dev@dpdk.org>; Wed, 19 Jun 2019 21:00:09 +0200 (CEST)",
            "by mail-pl1-f194.google.com with SMTP id e5so181836pls.13\n\tfor <dev@dpdk.org>; Wed, 19 Jun 2019 12:00:09 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tg8sm18613397pfi.8.2019.06.19.12.00.06\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tWed, 19 Jun 2019 12:00:07 -0700 (PDT)"
        ],
        "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=KIWdTWngvMzOCsjHwiLdXVCXjGw42l15HHKsPengMUk=;\n\tb=MADSBUYwOXMfcIaW7+4bmLxhJ9DXSNR6ciUohNDe66nV9no3qm+haUqnAfQZuIukQQ\n\tnIy0DXWq7Yd1OZXoKX+PI+EYAttjoqF88ntlNHDx0BSJ4jVs+EwQTOLKXbj65PaPpooG\n\t7C/5szdKnogcRCMpCPnxhATxS8geS7QD9vQnOH1JO/8+hmhXHDx+9Bx7iZPvtR4AJd6w\n\t7e+orx3F9Se/z8Dc84T5TuwRdbqMAgHTnYHd8HrGOW7+woFrppFZYNKkCarrZKkqaXLF\n\tZO8lvQO/KSjJ4Ss3OJr7wbGFKcgproA4crqG92s3oRq8nH1k7oOg+r0UtE0fGKHliR4n\n\tid+w==",
        "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=KIWdTWngvMzOCsjHwiLdXVCXjGw42l15HHKsPengMUk=;\n\tb=O1159wGvhxrkTO9jqiKFVjnR78TQ6ub/e7hBed1qOcJtDaEIhansvSKj/+1nFjtIL+\n\tO9jQY+VAkvLoiua6xIZVjau4jRSqJAIctSkGYlkTts7nrbJ79WEdVyaLYqto/sx/xFFE\n\tzo02DkdvK25BozyNI5vCNGrcyRgmNqiZUJs0nLIim4KBO/Pm5FfIg4zi0lfy/N6gFKon\n\tR1OrMG8nyOK8hyFY/TerprmZsGN5rJgHYAX6GNP6H10hKfnOVJqyswL5QD1WyLh2XvzJ\n\t3GKBGgwtJg6roB3vUWBiMP+rKErCFiqzs0eVdD5dZrUClxl1avxj6BNP6ruTntNJ65yn\n\tH5Hw==",
        "X-Gm-Message-State": "APjAAAU6G+WeouDqh0yARmM81S7DtnAfoKjpuEn5SxAQSwHafD70Qzok\n\t/+aIb9pFHcaYsqmZaEBND/H0GUKQ6fE=",
        "X-Google-Smtp-Source": "APXvYqzo0+otnyhmm6yrvd6qGJ6GAR0xVbKelb6kUGIKAdKNUL4BVKJhjAxAtd4hb7Z/bephoEkwGw==",
        "X-Received": "by 2002:a17:902:a411:: with SMTP id\n\tp17mr62003213plq.104.1560970808067; \n\tWed, 19 Jun 2019 12:00:08 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <sthemmin@microsoft.com>,\n\tStephen Hemminger <stephen@networkplumber.org>",
        "Date": "Wed, 19 Jun 2019 11:59:55 -0700",
        "Message-Id": "<20190619185958.27306-6-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190619185958.27306-1-stephen@networkplumber.org>",
        "References": "<20190610175155.21374-1-stephen@networkplumber.org>\n\t<20190619185958.27306-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 5/8] kni: use proper type for kni fifo's",
        "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": "From: Stephen Hemminger <sthemmin@microsoft.com>\n\nUsing 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": [
        "v4",
        "5/8"
    ]
}