get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48536,
    "url": "http://patchwork.dpdk.org/api/patches/48536/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20181205094957.1938-1-maxime.coquelin@redhat.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20181205094957.1938-1-maxime.coquelin@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20181205094957.1938-1-maxime.coquelin@redhat.com",
    "date": "2018-12-05T09:49:52",
    "name": "[0/5] vhost: add missing barriers, remove useless volatiles",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 512,
        "url": "http://patchwork.dpdk.org/api/people/512/?format=api",
        "name": "Maxime Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20181205094957.1938-1-maxime.coquelin@redhat.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/48536/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/48536/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 20A501B163;\n\tWed,  5 Dec 2018 10:50:28 +0100 (CET)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 40AD71B160\n\tfor <dev@dpdk.org>; Wed,  5 Dec 2018 10:50:27 +0100 (CET)",
            "from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15])\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 1CA25C049D4B;\n\tWed,  5 Dec 2018 09:50:26 +0000 (UTC)",
            "from localhost.localdomain (ovpn-112-38.ams2.redhat.com\n\t[10.36.112.38])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 3EC015D757;\n\tWed,  5 Dec 2018 09:49:59 +0000 (UTC)"
        ],
        "From": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "To": "dev@dpdk.org, jfreimann@redhat.com, tiwei.bie@intel.com,\n\tzhihong.wang@intel.com, jasowang@redhat.com",
        "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "Date": "Wed,  5 Dec 2018 10:49:52 +0100",
        "Message-Id": "<20181205094957.1938-1-maxime.coquelin@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.31]); Wed, 05 Dec 2018 09:50:26 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH 0/5] vhost: add missing barriers,\n\tremove useless volatiles",
        "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": "This series adds missing read barriers after reading avail index\nfor split ring and desc flags for packed ring.\n\nOnce that fixed, the casts to volatile are useless and so removed.\n\nAlso, it turns out that some descriptors prefetching are either\nbadly placed, or useless, last part of the series fixes that.\n\nWith the series applied, I get between 0 and 4% gain depending\non the benchmark (testpmd txonly/rxonly/io).\n\nThanks to Jason for reporting the missing read barriers.\n\nMaxime Coquelin (5):\n  vhost: enforce avail index and desc read ordering\n  vhost: enforce desc flags and content read ordering\n  vhost: prefetch descriptor after the read barrier\n  vhost: remove useless prefetch for packed ring descriptor\n  vhost: remove useless casts to volatile\n\n lib/librte_vhost/virtio_net.c | 32 ++++++++++++++++++++++++--------\n 1 file changed, 24 insertions(+), 8 deletions(-)",
    "diff": null,
    "prefixes": [
        "0/5"
    ]
}