Show a patch.

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

{
    "id": 372,
    "url": "https://patches.dpdk.org/api/patches/372/",
    "web_url": "https://patches.dpdk.org/patch/372/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1410519304-14521-6-git-send-email-huawei.xie@intel.com>",
    "date": "2014-09-12T10:55:04",
    "name": "[dpdk-dev,v4,5/5] lib/librte_vhost: add vhost lib support in makefile",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "52a26f98a0cb758b0c9343687c1820206f7dce4c",
    "submitter": {
        "id": 16,
        "url": "https://patches.dpdk.org/api/people/16/",
        "name": "Huawei Xie",
        "email": "huawei.xie@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/372/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/372/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/372/checks/",
    "tags": {},
    "headers": {
        "Delivered-To": "patchwork@dpdk.org",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Original-To": "patchwork@dpdk.org",
        "Date": "Fri, 12 Sep 2014 18:55:04 +0800",
        "In-Reply-To": "<1410519304-14521-1-git-send-email-huawei.xie@intel.com>",
        "Precedence": "list",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<1410519304-14521-1-git-send-email-huawei.xie@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "To": "dev@dpdk.org",
        "Errors-To": "dev-bounces@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 5B4CBB3A7;\n\tFri, 12 Sep 2014 12:50:20 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 29DD768B7\n\tfor <dev@dpdk.org>; Fri, 12 Sep 2014 12:50:18 +0200 (CEST)",
            "from azsmga001.ch.intel.com ([10.2.17.19])\n\tby fmsmga103.fm.intel.com with ESMTP; 12 Sep 2014 03:46:55 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby azsmga001.ch.intel.com with ESMTP; 12 Sep 2014 03:55:33 -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 s8CAtVFH023109;\n\tFri, 12 Sep 2014 18:55:31 +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 s8CAtSHu014592; Fri, 12 Sep 2014 18:55:30 +0800",
            "(from hxie5@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id s8CAtScQ014588; \n\tFri, 12 Sep 2014 18:55:28 +0800"
        ],
        "From": "Huawei Xie <huawei.xie@intel.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-ExtLoop1": "1",
        "Message-Id": "<1410519304-14521-6-git-send-email-huawei.xie@intel.com>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v4 5/5] lib/librte_vhost: add vhost lib support\n\tin makefile",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,512,1406617200\"; d=\"scan'208\";a=\"477097315\"",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "The build of vhost lib requires fuse development package. It is turned off by\ndefault so as not to break DPDK build.\n\nSigned-off-by: Huawei Xie <huawei.xie@intel.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\nAcked-by: Tommy Long <thomas.long@intel.com>\n---\n config/common_linuxapp | 7 +++++++\n lib/Makefile           | 1 +\n mk/rte.app.mk          | 5 +++++\n 3 files changed, 13 insertions(+)",
    "diff": "diff --git a/config/common_linuxapp b/config/common_linuxapp\nindex 9047975..c7c1c83 100644\n--- a/config/common_linuxapp\n+++ b/config/common_linuxapp\n@@ -390,6 +390,13 @@ CONFIG_RTE_KNI_VHOST_DEBUG_RX=n\n CONFIG_RTE_KNI_VHOST_DEBUG_TX=n\n \n #\n+# Compile vhost library\n+# fuse, fuse-devel, kernel-modules-extra packages are needed\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",
        "v4",
        "5/5"
    ]
}