get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 21575,
    "url": "https://patches.dpdk.org/api/patches/21575/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1488950271-28524-1-git-send-email-wang.yong19@zte.com.cn/",
    "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": "<1488950271-28524-1-git-send-email-wang.yong19@zte.com.cn>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1488950271-28524-1-git-send-email-wang.yong19@zte.com.cn",
    "date": "2017-03-08T05:17:51",
    "name": "[dpdk-dev,v2] doc: fix parameter of virtio_user for container",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fa45a8e904c44d55d375faac202882bc537d16e8",
    "submitter": {
        "id": 609,
        "url": "https://patches.dpdk.org/api/people/609/?format=api",
        "name": "Yong Wang",
        "email": "wang.yong19@zte.com.cn"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1488950271-28524-1-git-send-email-wang.yong19@zte.com.cn/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/21575/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/21575/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 4A937952;\n\tWed,  8 Mar 2017 05:04:36 +0100 (CET)",
            "from mx7.zte.com.cn (mx7.zte.com.cn [202.103.147.169])\n\tby dpdk.org (Postfix) with ESMTP id 133D8952\n\tfor <dev@dpdk.org>; Wed,  8 Mar 2017 05:04:33 +0100 (CET)",
            "from unknown (HELO mse01.zte.com.cn) (10.30.3.20)\n\tby localhost with (AES256-SHA encrypted) SMTP;\n\t8 Mar 2017 04:02:59 -0000",
            "from notes_smtp.zte.com.cn ([10.30.1.239])\n\tby mse01.zte.com.cn with ESMTP id v2844CLY064067;\n\tWed, 8 Mar 2017 12:04:12 +0800 (GMT-8)\n\t(envelope-from wang.yong19@zte.com.cn)",
            "from localhost.localdomain.localdomain ([10.43.166.165])\n\tby szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6)\n\twith ESMTP id 2017030812041563-83543 ;\n\tWed, 8 Mar 2017 12:04:15 +0800 "
        ],
        "X-scanvirus": "By SEG_CYREN AntiVirus Engine",
        "X-scanresult": "CLEAN",
        "X-MAILFROM": "<wang.yong19@zte.com.cn>",
        "X-RCPTTO": "<dev@dpdk.org>",
        "X-FROMIP": "10.30.3.20",
        "X-SEG-Scaned": "1",
        "X-Received": "unknown,10.30.3.20,20170308120259",
        "From": "Yong Wang <wang.yong19@zte.com.cn>",
        "To": "john.mcnamara@intel.com, yuanhan.liu@linux.intel.com",
        "Cc": "dev@dpdk.org, Yong Wang <wang.yong19@zte.com.cn>",
        "Date": "Wed, 8 Mar 2017 00:17:51 -0500",
        "Message-Id": "<1488950271-28524-1-git-send-email-wang.yong19@zte.com.cn>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "X-MIMETrack": "Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release\n\t8.5.3FP6|November 21, 2013) at 2017-03-08 12:04:15,\n\tSerialize by Router on notes_smtp/zte_ltd(Release 8.5.3FP6|November\n\t21, 2013) at 2017-03-08 12:03:52,\n\tSerialize complete at 2017-03-08 12:03:52",
        "X-MAIL": "mse01.zte.com.cn v2844CLY064067",
        "X-HQIP": "127.0.0.1",
        "Subject": "[dpdk-dev] [PATCH v2] doc: fix parameter of virtio_user for\n\tcontainer",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Update the \"Virtio_user for Container Networking\" doc, add the\n\"--file-prefix\" option to testpmd in host and container to avoid\nhugepage config file conflict.\n\nFixes: 50665deebda0 (\"doc: add guide to use virtio-user for container networking\")\n\n---\nv2:\n* Modify the fixline from two lines to one line.\n* Remove the unnecessary \"_\" in \"--file-prefix\" option.\n\nSigned-off-by: Yong Wang <wang.yong19@zte.com.cn>\n---\n doc/guides/howto/virtio_user_for_container_networking.rst | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/doc/guides/howto/virtio_user_for_container_networking.rst b/doc/guides/howto/virtio_user_for_container_networking.rst\nindex dbb9319..f71d071 100644\n--- a/doc/guides/howto/virtio_user_for_container_networking.rst\n+++ b/doc/guides/howto/virtio_user_for_container_networking.rst\n@@ -111,7 +111,8 @@ some minor changes.\n     .. code-block:: console\n \n         $(testpmd) -l 0-1 -n 4 --socket-mem 1024,1024 \\\n-            --vdev 'eth_vhost0,iface=/tmp/sock0' --no-pci -- -i\n+            --vdev 'eth_vhost0,iface=/tmp/sock0' \\\n+            --file-prefix=host --no-pci -- -i\n \n #. Start a container instance with a virtio-user port.\n \n@@ -121,7 +122,8 @@ some minor changes.\n             -v /dev/hugepages:/dev/hugepages \\\n             dpdk-app-testpmd testpmd -l 6-7 -n 4 -m 1024 --no-pci \\\n             --vdev=virtio_user0,path=/var/run/usvhost \\\n-\t    -- -i --txqflags=0xf00 --disable-hw-vlan\n+            --file-prefix=container \\\n+            -- -i --txqflags=0xf00 --disable-hw-vlan\n \n Note: If we run all above setup on the host, it's a shm-based IPC.\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}