get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 589,
    "url": "https://patches.dpdk.org/api/patches/589/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1411724758-27488-8-git-send-email-huawei.xie@intel.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": "<1411724758-27488-8-git-send-email-huawei.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1411724758-27488-8-git-send-email-huawei.xie@intel.com",
    "date": "2014-09-26T09:45:54",
    "name": "[dpdk-dev,v5,07/11] lib/librte_vhost: add vhost support in DPDK makefile",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fc3db210721eeb52c78d3e099ecd9999f3ec93ac",
    "submitter": {
        "id": 16,
        "url": "https://patches.dpdk.org/api/people/16/?format=api",
        "name": "Huawei Xie",
        "email": "huawei.xie@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1411724758-27488-8-git-send-email-huawei.xie@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/589/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/589/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 964917E5D;\n\tFri, 26 Sep 2014 11:40:37 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id D49597E53\n\tfor <dev@dpdk.org>; Fri, 26 Sep 2014 11:40:32 +0200 (CEST)",
            "from azsmga001.ch.intel.com ([10.2.17.19])\n\tby orsmga101.jf.intel.com with ESMTP; 26 Sep 2014 02:46:51 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby azsmga001.ch.intel.com with ESMTP; 26 Sep 2014 02:46:50 -0700",
            "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shvmail01.sh.intel.com with ESMTP id s8Q9kmNB007088;\n\tFri, 26 Sep 2014 17:46:48 +0800",
            "from shecgisg003.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid s8Q9kj2D027572; Fri, 26 Sep 2014 17:46:48 +0800",
            "(from hxie5@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id s8Q9kjJI027568; \n\tFri, 26 Sep 2014 17:46:45 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,603,1406617200\"; d=\"scan'208\";a=\"480166505\"",
        "From": "Huawei Xie <huawei.xie@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 26 Sep 2014 17:45:54 +0800",
        "Message-Id": "<1411724758-27488-8-git-send-email-huawei.xie@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1411724758-27488-1-git-send-email-huawei.xie@intel.com>",
        "References": "<1411724758-27488-1-git-send-email-huawei.xie@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 07/11] lib/librte_vhost: add vhost support in\n\tDPDK makefile",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "vhost lib is turned off by default as it requires fuse-devel package.\nfuse-devel isn't installed in every linux distribution.\nfuse-devel enables user space filesystem/char driver development.\nvhost lib contains a user space char driver, which replies on this package.\n\nSigned-off-by: Huawei Xie <huawei.xie@intel.com>\n---\n config/common_linuxapp | 8 ++++++++\n lib/Makefile           | 1 +\n mk/rte.app.mk          | 5 +++++\n 3 files changed, 14 insertions(+)",
    "diff": "diff --git a/config/common_linuxapp b/config/common_linuxapp\nindex 5bee910..6ac6f35 100644\n--- a/config/common_linuxapp\n+++ b/config/common_linuxapp\n@@ -390,6 +390,14 @@ CONFIG_RTE_KNI_VHOST_DEBUG_RX=n\n CONFIG_RTE_KNI_VHOST_DEBUG_TX=n\n \n #\n+# Compile vhost library\n+# fuse-devel is needed to run vhost.\n+# fuse-devel enables user space char driver development\n+#\n+CONFIG_RTE_LIBRTE_VHOST=n\n+CONFIG_RTE_LIBRTE_VHOST_DEBUG=n\n+\n+#\n #Compile Xen domain0 support\n #\n CONFIG_RTE_LIBRTE_XEN_DOM0=n\ndiff --git a/lib/Makefile b/lib/Makefile\nindex 10c5bb3..007c174 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -60,6 +60,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_METER) += librte_meter\n DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += librte_sched\n DIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += librte_kvargs\n DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += librte_distributor\n+DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost\n DIRS-$(CONFIG_RTE_LIBRTE_PORT) += librte_port\n DIRS-$(CONFIG_RTE_LIBRTE_TABLE) += librte_table\n DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += librte_pipeline\ndiff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex 34dff2a..285b65c 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -190,6 +190,11 @@ ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)\n LDLIBS += -lrte_pmd_virtio_uio\n endif\n \n+ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y)\n+LDLIBS += -lrte_vhost\n+LDLIBS += -lfuse\n+endif\n+\n ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y)\n LDLIBS += -lrte_pmd_i40e\n endif\n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "07/11"
    ]
}