get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59283,
    "url": "https://patches.dpdk.org/api/patches/59283/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1568698107-36668-1-git-send-email-joyce.kong@arm.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1568698107-36668-1-git-send-email-joyce.kong@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1568698107-36668-1-git-send-email-joyce.kong@arm.com",
    "date": "2019-09-17T05:28:24",
    "name": "[v4,0/2] virtio: one way barrier for packed vring flags",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 970,
        "url": "https://patches.dpdk.org/api/people/970/?format=api",
        "name": "Joyce Kong",
        "email": "joyce.kong@arm.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1568698107-36668-1-git-send-email-joyce.kong@arm.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/59283/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/59283/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 B6A951BF74;\n\tTue, 17 Sep 2019 07:29:03 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n\tby dpdk.org (Postfix) with ESMTP id AE2751BF37\n\tfor <dev@dpdk.org>; Tue, 17 Sep 2019 07:29:01 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C8D7328;\n\tMon, 16 Sep 2019 22:29:00 -0700 (PDT)",
            "from net-arm-thunderx2-01.test.ast.arm.com\n\t(net-arm-thunderx2-01.shanghai.arm.com [10.169.40.40])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\tF2EE83F575; Mon, 16 Sep 2019 22:31:28 -0700 (PDT)"
        ],
        "From": "Joyce Kong <joyce.kong@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "nd@arm.com, maxime.coquelin@redhat.com, yinan.wang@intel.com,\n\tbruce.richardson@intel.com, tiwei.bie@intel.com, zhihong.wang@intel.com, \n\tamorenoz@redhat.com, xiao.w.wang@intel.com, yong.liu@intel.com,\n\tjfreimann@redhat.com, honnappa.nagarahalli@arm.com, gavin.hu@arm.com",
        "Date": "Tue, 17 Sep 2019 13:28:24 +0800",
        "Message-Id": "<1568698107-36668-1-git-send-email-joyce.kong@arm.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1566893979-3290-1-git-send-email-joyce.kong@arm.com>",
        "References": "<1566893979-3290-1-git-send-email-joyce.kong@arm.com>",
        "Subject": "[dpdk-dev] [PATCH v4 0/2] virtio: one way barrier for packed vring\n\tflags",
        "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 patch set replaces the two-way barriers with C11 one-way barriers\nfor packed vring flags, when the frontend and backend are implemented\nin software.\n\nBy doing vhost-user + virtio-user case benchmarking, 9% performance gain\nin the RFC2544 test was measured on Thunderx2 platform.[1] And by doing\nVM2VM case benchmarking, 11% perf gain was measured on Ampere platform.\n\n[1]https://doc.dpdk.org/dts/test_plans/pvp_multi_paths_performance_test_plan.html\n   PVP test with virtio 1.1 mergeable path\n\nv4:\nUse rte_smp_rmb/wmb instead of __atomic_load/store_n on x86 as it reports a\nbetter perf(~1.5%), which comes from the saved branch by the compiler. The\nif and else branch are identical with the smp and cio barriers both defined\nas compiler barriers on x86.\nhttp://inbox.dpdk.org/dev/E0CBA5A1980F1F408E1F28F9991B5B1D50EFF246@SHSMSX104.ccr.corp.intel.com/\n\nv3:\nWrap C11 one-way barriers and DMA barriers(rte_cio_*) together with an inline fuction.\n\nv2:\nConvert RFC to patch.\n\nJoyce Kong (2):\n  virtio: one way barrier for packed vring desc avail flags\n  virtio: one way barrier for packed vring desc used flags\n\n drivers/net/virtio/virtio_rxtx.c                 | 25 +++++++-----\n drivers/net/virtio/virtio_user/virtio_user_dev.c | 10 +++--\n drivers/net/virtio/virtqueue.h                   | 49 +++++++++++++++++++++++-\n lib/librte_vhost/vhost.h                         |  2 +-\n lib/librte_vhost/virtio_net.c                    | 16 ++++----\n 5 files changed, 79 insertions(+), 23 deletions(-)",
    "diff": null,
    "prefixes": [
        "v4",
        "0/2"
    ]
}