get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 21547,
    "url": "http://patches.dpdk.org/api/patches/21547/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1488894525-5430-1-git-send-email-wang.yong19@zte.com.cn/",
    "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": "<1488894525-5430-1-git-send-email-wang.yong19@zte.com.cn>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1488894525-5430-1-git-send-email-wang.yong19@zte.com.cn",
    "date": "2017-03-07T13:48:45",
    "name": "[dpdk-dev] doc: fix parameter of virtio_user for container",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4fd0678585234ba536f68d1520e12b00f9787281",
    "submitter": {
        "id": 609,
        "url": "http://patches.dpdk.org/api/people/609/?format=api",
        "name": "Yong Wang",
        "email": "wang.yong19@zte.com.cn"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1488894525-5430-1-git-send-email-wang.yong19@zte.com.cn/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/21547/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/21547/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 02C1E1BBE;\n\tTue,  7 Mar 2017 13:35:26 +0100 (CET)",
            "from mx5.zte.com.cn (mx5.zte.com.cn [63.217.80.70])\n\tby dpdk.org (Postfix) with ESMTP id 1D35C3DC\n\tfor <dev@dpdk.org>; Tue,  7 Mar 2017 13:35:22 +0100 (CET)",
            "from unknown (HELO mse01.zte.com.cn) (10.30.3.20)\n\tby localhost with (AES256-SHA encrypted) SMTP;\n\t7 Mar 2017 12:32:53 -0000",
            "from notes_smtp.zte.com.cn ([10.30.1.239])\n\tby mse01.zte.com.cn with ESMTP id v27CZAgc019318;\n\tTue, 7 Mar 2017 20:35:10 +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 2017030720351478-48480 ;\n\tTue, 7 Mar 2017 20:35:14 +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,20170307203253",
        "From": "Yong Wang <wang.yong19@zte.com.cn>",
        "To": "jianfeng.tan@intel.com, yuanhan.liu@linux.intel.com",
        "Cc": "dev@dpdk.org, Yong Wang <wang.yong19@zte.com.cn>",
        "Date": "Tue, 7 Mar 2017 08:48:45 -0500",
        "Message-Id": "<1488894525-5430-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-07 20:35:14,\n\tSerialize by Router on notes_smtp/zte_ltd(Release 8.5.3FP6|November\n\t21, 2013) at 2017-03-07 20:34:55,\n\tSerialize complete at 2017-03-07 20:34:55",
        "X-MAIL": "mse01.zte.com.cn v27CZAgc019318",
        "X-HQIP": "127.0.0.1",
        "Subject": "[dpdk-dev] [PATCH] doc: fix parameter of virtio_user for container",
        "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\nnetworking\")\n\nSigned-off-by: Yong Wang <wang.yong19@zte.com.cn>\n---\n doc/guides/howto/virtio_user_for_container_networking.rst | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "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..d08a5e3 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,6 +122,7 @@ 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+            --file-prefix=container_ \\\n \t    -- -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",
    "prefixes": [
        "dpdk-dev"
    ]
}