get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41888,
    "url": "http://patches.dpdk.org/api/patches/41888/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180628224604.18729-1-dg@adax.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": "<20180628224604.18729-1-dg@adax.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180628224604.18729-1-dg@adax.com",
    "date": "2018-06-28T22:46:04",
    "name": "[01/10] kni: remove unused variables from struct kni_dev",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "97ad8a66b12c8b9e550b4aa5d1d3bc348ec0c6ce",
    "submitter": {
        "id": 1040,
        "url": "http://patches.dpdk.org/api/people/1040/?format=api",
        "name": "Dan Gora",
        "email": "dg@adax.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180628224604.18729-1-dg@adax.com/mbox/",
    "series": [
        {
            "id": 301,
            "url": "http://patches.dpdk.org/api/series/301/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=301",
            "date": "2018-06-28T22:45:13",
            "name": "kni: Interface detach and link status fixes.",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/301/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41888/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/41888/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 A44F58D8F;\n\tFri, 29 Jun 2018 00:47:20 +0200 (CEST)",
            "from mail-ot0-f180.google.com (mail-ot0-f180.google.com\n\t[74.125.82.180]) by dpdk.org (Postfix) with ESMTP id B19A68D88\n\tfor <dev@dpdk.org>; Fri, 29 Jun 2018 00:47:18 +0200 (CEST)",
            "by mail-ot0-f180.google.com with SMTP id d19-v6so7941498oti.8\n\tfor <dev@dpdk.org>; Thu, 28 Jun 2018 15:47:18 -0700 (PDT)",
            "from linux.adax.com (172-11-198-60.lightspeed.sntcca.sbcglobal.net.\n\t[172.11.198.60]) by smtp.gmail.com with ESMTPSA id\n\tb12-v6sm3290561oiy.43.2018.06.28.15.47.16\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 28 Jun 2018 15:47:17 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=OQf1xzRsloSmaaOq3NyvPQSYZQh//yOoNl7ygYWXcz0=;\n\tb=LAbs277lfRnsSSl+lIt5hri5mdF2pybLMu3IhgtI7rjV1ni8bGjLvRNr8fmLPUkU5p\n\tWl9YMDP4rQKe/sfIjiO+rnNAkYjc4S8ZBblyuiJ+5cCyf0sR8UZDibasqt78Pvh3+RN2\n\tA6mzNNwfdDBmGT/3RkdVyVh1ED4cO/scP0WLSF9nir7UZiYmm5JrLvkHXIJtOX04RkqD\n\tlWTzbpwd2nn8xKsL24kVlllRuIYvEurEiyayktdGX0OkaxAnnf02dOfYU3LTffAJ8Qyp\n\t+2UcHR6HnEWwqpabz8PttVkTSJcboHtqC4Lvs0xhi9Yo6Ik4kiVNZpwBddelL++IUrR5\n\tSMAg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=OQf1xzRsloSmaaOq3NyvPQSYZQh//yOoNl7ygYWXcz0=;\n\tb=Evr483J3obOps5+uu4lgkWvOw53wqzcwkT8i5rvCm8IS/HPRva6fsYH57fgcpKkGhu\n\tG3MT/45vI96pc+xRrYvd1OzxRou2h+awShnIvuRi2wpGkmtM0hVyOlrXNUQuOfO44UAE\n\tISwbk0Vpsy1uMevSQtbNqVE96BGQE3eEfIKbNOntLU7tNKHPRbf3cf2z/yBkX6P5jmCS\n\tyQJFCy/MI+VQkRi6UDNiaHwWRDSGrhy7r1mgIMr5NDgW6mqoZl0rzvhCHj1ynADVjQIG\n\tbavmvQTxYBAG+xd0kha6jDcUJclBFCjf8Yign8J8kidIXvv3BnGAx27Qcs2TP0+ujgXQ\n\tU+oA==",
        "X-Gm-Message-State": "APt69E1l5AGuu7rZwH6H9CYEZ+RnEH6DALOdA2arPzvvEtruCrm00XWB\n\t8sSiNmNB43rQALsQGCeRYHw=",
        "X-Google-Smtp-Source": "AAOMgpeBymr5joID1DYwPTVFg02I9m5Y/lx0lhbh8oKTzqwKVMXxyd/9t89BNh0ssbndf7raF5C/tw==",
        "X-Received": "by 2002:a9d:1370:: with SMTP id\n\tq45-v6mr7761333otq.46.1530226037939; \n\tThu, 28 Jun 2018 15:47:17 -0700 (PDT)",
        "From": "Dan Gora <dg@adax.com>",
        "To": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "Cc": "dev@dpdk.org,\n\tDan Gora <dg@adax.com>",
        "Date": "Thu, 28 Jun 2018 15:46:04 -0700",
        "Message-Id": "<20180628224604.18729-1-dg@adax.com>",
        "X-Mailer": "git-send-email 2.18.0.rc1.1.g6f333ff2f",
        "Subject": "[dpdk-dev] [PATCH 01/10] kni: remove unused variables from struct\n\tkni_dev",
        "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": "Remove the unused fields 'status' and 'synchro' from the struct\nkni_dev.\n\nSigned-off-by: Dan Gora <dg@adax.com>\n---\n kernel/linux/kni/kni_dev.h | 4 ----\n 1 file changed, 4 deletions(-)",
    "diff": "diff --git a/kernel/linux/kni/kni_dev.h b/kernel/linux/kni/kni_dev.h\nindex 6275ef27f..ed42989cc 100644\n--- a/kernel/linux/kni/kni_dev.h\n+++ b/kernel/linux/kni/kni_dev.h\n@@ -37,7 +37,6 @@ struct kni_dev {\n \tstruct list_head list;\n \n \tstruct net_device_stats stats;\n-\tint status;\n \tuint16_t group_id;           /* Group ID of a group of KNI devices */\n \tuint32_t core_id;            /* Core ID to bind */\n \tchar name[RTE_KNI_NAMESIZE]; /* Network device name */\n@@ -82,9 +81,6 @@ struct kni_dev {\n \t/* mbuf size */\n \tuint32_t mbuf_size;\n \n-\t/* synchro for request processing */\n-\tunsigned long synchro;\n-\n \t/* buffers */\n \tvoid *pa[MBUF_BURST_SZ];\n \tvoid *va[MBUF_BURST_SZ];\n",
    "prefixes": [
        "01/10"
    ]
}