get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75216,
    "url": "http://patches.dpdk.org/api/patches/75216/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200805144517.54689-2-amorenoz@redhat.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": "<20200805144517.54689-2-amorenoz@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200805144517.54689-2-amorenoz@redhat.com",
    "date": "2020-08-05T14:45:14",
    "name": "[v3,1/4] net/virtio: add DEVICE_NEEDS_RESET status bit",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2097ec5196cfcf0b4530dd9df44ccacaaaab6f1a",
    "submitter": {
        "id": 1397,
        "url": "http://patches.dpdk.org/api/people/1397/?format=api",
        "name": "Adrian Moreno",
        "email": "amorenoz@redhat.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200805144517.54689-2-amorenoz@redhat.com/mbox/",
    "series": [
        {
            "id": 11508,
            "url": "http://patches.dpdk.org/api/series/11508/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11508",
            "date": "2020-08-05T14:45:13",
            "name": "Add support for GET/SET_STATUS on virtio-user pmd",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/11508/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75216/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75216/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 2D08DA053D;\n\tWed,  5 Aug 2020 16:45:50 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5C27B1C036;\n\tWed,  5 Aug 2020 16:45:37 +0200 (CEST)",
            "from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com\n [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 86AD51C029\n for <dev@dpdk.org>; Wed,  5 Aug 2020 16:45:34 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-256-7E7L-JEPPbaQxyUAHL1JyQ-1; Wed, 05 Aug 2020 10:45:30 -0400",
            "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com\n [10.5.11.11])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 268388015CE;\n Wed,  5 Aug 2020 14:45:29 +0000 (UTC)",
            "from amorenoz.users.ipa.redhat.com (ovpn-113-105.ams2.redhat.com\n [10.36.113.105])\n by smtp.corp.redhat.com (Postfix) with ESMTP id E777888D7A;\n Wed,  5 Aug 2020 14:45:27 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1596638734;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Dsqho/gY/KQJGugxLXDHOoqjFc7VbfSlLVUSRYyP15U=;\n b=S9jsJrB/kEMpN6yt2FVxdPs5BMFUprUxYWLBLf/keMD7LfsCbP+8D3I8gh8EtXfRyzajeS\n hPlUobUAiIZaQkWrJwUNfEZpBHhVMMa0/8E1MJNO9pm5YZH7frxbE/ecIoop2ZnlKl4agG\n +waGxadga+J9MRdb2cPU554MmuG9cXg=",
        "X-MC-Unique": "7E7L-JEPPbaQxyUAHL1JyQ-1",
        "From": "Adrian Moreno <amorenoz@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "zhihong.wang@intel.com, chenbo.xia@intel.com, maxime.coquelin@redhat.com,\n Adrian Moreno <amorenoz@redhat.com>",
        "Date": "Wed,  5 Aug 2020 16:45:14 +0200",
        "Message-Id": "<20200805144517.54689-2-amorenoz@redhat.com>",
        "In-Reply-To": "<20200805144517.54689-1-amorenoz@redhat.com>",
        "References": "<20200805144517.54689-1-amorenoz@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.11",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=amorenoz@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 1/4] net/virtio: add DEVICE_NEEDS_RESET status\n\tbit",
        "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": "For the sake of completeness, add the definition of the missing status\nbit in accordance with the virtio spec\n\nReviewed-by: Chenbo Xia <chenbo.xia@intel.com>\nSigned-off-by: Adrian Moreno <amorenoz@redhat.com>\n---\n drivers/net/virtio/virtio_pci.h | 13 +++++++------\n 1 file changed, 7 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h\nindex 74ed77e33..ab61e911b 100644\n--- a/drivers/net/virtio/virtio_pci.h\n+++ b/drivers/net/virtio/virtio_pci.h\n@@ -57,12 +57,13 @@ struct virtnet_ctl;\n #define VIRTIO_ID_9P       0x09\n \n /* Status byte for guest to report progress. */\n-#define VIRTIO_CONFIG_STATUS_RESET     0x00\n-#define VIRTIO_CONFIG_STATUS_ACK       0x01\n-#define VIRTIO_CONFIG_STATUS_DRIVER    0x02\n-#define VIRTIO_CONFIG_STATUS_DRIVER_OK 0x04\n-#define VIRTIO_CONFIG_STATUS_FEATURES_OK 0x08\n-#define VIRTIO_CONFIG_STATUS_FAILED    0x80\n+#define VIRTIO_CONFIG_STATUS_RESET\t\t0x00\n+#define VIRTIO_CONFIG_STATUS_ACK\t\t0x01\n+#define VIRTIO_CONFIG_STATUS_DRIVER\t\t0x02\n+#define VIRTIO_CONFIG_STATUS_DRIVER_OK\t\t0x04\n+#define VIRTIO_CONFIG_STATUS_FEATURES_OK\t0x08\n+#define VIRTIO_CONFIG_STATUS_DEV_NEED_RESET\t0x40\n+#define VIRTIO_CONFIG_STATUS_FAILED\t\t0x80\n \n /*\n  * Each virtqueue indirect descriptor list must be physically contiguous.\n",
    "prefixes": [
        "v3",
        "1/4"
    ]
}