get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44363,
    "url": "http://patches.dpdk.org/api/patches/44363/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180906181947.20646-10-jfreimann@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": "<20180906181947.20646-10-jfreimann@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180906181947.20646-10-jfreimann@redhat.com",
    "date": "2018-09-06T18:19:45",
    "name": "[v5,09/11] net/virtio: disable ctrl virtqueue for packed rings",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "525bbcad977afbe8508502d2a205dc22a0f45384",
    "submitter": {
        "id": 745,
        "url": "http://patches.dpdk.org/api/people/745/?format=api",
        "name": "Jens Freimann",
        "email": "jfreimann@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/20180906181947.20646-10-jfreimann@redhat.com/mbox/",
    "series": [
        {
            "id": 1215,
            "url": "http://patches.dpdk.org/api/series/1215/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1215",
            "date": "2018-09-06T18:19:36",
            "name": "implement packed virtqueues",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/1215/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44363/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44363/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 A90085A6E;\n\tThu,  6 Sep 2018 20:20:38 +0200 (CEST)",
            "from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73])\n\tby dpdk.org (Postfix) with ESMTP id E26B35A6A\n\tfor <dev@dpdk.org>; Thu,  6 Sep 2018 20:20:36 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 86CD68010FDF;\n\tThu,  6 Sep 2018 18:20:36 +0000 (UTC)",
            "from localhost (ovpn-116-129.ams2.redhat.com [10.36.116.129])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id 3930C2026D68;\n\tThu,  6 Sep 2018 18:20:36 +0000 (UTC)"
        ],
        "From": "Jens Freimann <jfreimann@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "tiwei.bie@intel.com,\n\tmaxime.coquelin@redhat.com",
        "Date": "Thu,  6 Sep 2018 19:19:45 +0100",
        "Message-Id": "<20180906181947.20646-10-jfreimann@redhat.com>",
        "In-Reply-To": "<20180906181947.20646-1-jfreimann@redhat.com>",
        "References": "<20180906181947.20646-1-jfreimann@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.78 on 10.11.54.4",
        "X-Greylist": [
            "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.11.55.8]); Thu, 06 Sep 2018 18:20:36 +0000 (UTC)",
            "inspected by milter-greylist-4.5.16 (mx1.redhat.com\n\t[10.11.55.8]); \n\tThu, 06 Sep 2018 18:20:36 +0000 (UTC) for IP:'10.11.54.4'\n\tDOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com'\n\tHELO:'smtp.corp.redhat.com' FROM:'jfreimann@redhat.com' RCPT:''"
        ],
        "Subject": "[dpdk-dev] [PATCH v5 09/11] net/virtio: disable ctrl virtqueue for\n\tpacked rings",
        "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": "Signed-off-by: Jens Freiman <jfreimann@redhat.com>\n---\n drivers/net/virtio/virtio_ethdev.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c\nindex a2bb726ba..b02c65598 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -1161,6 +1161,15 @@ virtio_negotiate_features(struct virtio_hw *hw, uint64_t req_features)\n \t\t\treq_features &= ~(1ULL << VIRTIO_NET_F_MTU);\n \t}\n \n+#ifdef RTE_LIBRTE_VIRTIO_PQ\n+\tif (req_features & (1ULL << VIRTIO_F_RING_PACKED)) {\n+\t\treq_features &= ~(1ull << VIRTIO_NET_F_CTRL_MAC_ADDR);\n+\t\treq_features &= ~(1ull << VIRTIO_NET_F_CTRL_VQ);\n+\t\treq_features &= ~(1ull << VIRTIO_NET_F_CTRL_RX);\n+\t\treq_features &= ~(1ull << VIRTIO_NET_F_CTRL_VLAN);\n+\t}\n+#endif\n+\n \t/*\n \t * Negotiate features: Subset of device feature bits are written back\n \t * guest feature bits.\n",
    "prefixes": [
        "v5",
        "09/11"
    ]
}