get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84004,
    "url": "http://patchwork.dpdk.org/api/patches/84004/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20201111111957.46090-1-Cheng1.jiang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20201111111957.46090-1-Cheng1.jiang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201111111957.46090-1-Cheng1.jiang@intel.com",
    "date": "2020-11-11T11:19:57",
    "name": "[v1] examples/vhost: fix ioat dependency issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5ec5bb1a57f07f58b126cf8eb840ded7b273a85e",
    "submitter": {
        "id": 1530,
        "url": "http://patchwork.dpdk.org/api/people/1530/?format=api",
        "name": "Jiang, Cheng1",
        "email": "Cheng1.jiang@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patchwork.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20201111111957.46090-1-Cheng1.jiang@intel.com/mbox/",
    "series": [
        {
            "id": 13808,
            "url": "http://patchwork.dpdk.org/api/series/13808/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=13808",
            "date": "2020-11-11T11:19:57",
            "name": "[v1] examples/vhost: fix ioat dependency issue",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/13808/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/84004/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/84004/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4D723A09D9;\n\tWed, 11 Nov 2020 12:29:08 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0B7BC137D;\n\tWed, 11 Nov 2020 12:29:06 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 2CC462AB\n for <dev@dpdk.org>; Wed, 11 Nov 2020 12:29:03 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Nov 2020 03:28:57 -0800",
            "from dpdk_jiangcheng.sh.intel.com ([10.67.119.112])\n by fmsmga005.fm.intel.com with ESMTP; 11 Nov 2020 03:28:54 -0800"
        ],
        "IronPort-SDR": [
            "\n HI1KhPxjd5D79N7qaZW4tkpqidK1rjANhuqUqScVJKDyb4yL26UHOttgmAOPUf/CVJcwGNlJ5J\n TnRTqbFOYgEQ==",
            "\n yrzIVmu9di0TXeZf7xaMB2eNVEyEwok/o7SmVgDgDlIYWNunBzUXXQqkrOBuDOmh1Ssfswut54\n mSCSzR2Kv5Yg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9801\"; a=\"157911307\"",
            "E=Sophos;i=\"5.77,469,1596524400\"; d=\"scan'208\";a=\"157911307\"",
            "E=Sophos;i=\"5.77,469,1596524400\"; d=\"scan'208\";a=\"531666270\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Cheng Jiang <Cheng1.jiang@intel.com>",
        "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com",
        "Cc": "dev@dpdk.org, patrick.fu@intel.com, YvonneX.Yang@intel.com,\n david.marchand@redhat.com, Jiayu.Hu@intel.com,\n Cheng Jiang <Cheng1.jiang@intel.com>",
        "Date": "Wed, 11 Nov 2020 11:19:57 +0000",
        "Message-Id": "<20201111111957.46090-1-Cheng1.jiang@intel.com>",
        "X-Mailer": "git-send-email 2.29.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v1] examples/vhost: fix ioat dependency issue",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Fix vhost-switch compiling issue when ioat dependency is missing.\nChange 'RTE_x86' check into 'RTE_RAW_IOAT' check in meson build file\nand update Makefile.\n\nSigned-off-by: Cheng Jiang <Cheng1.jiang@intel.com>\n---\n examples/vhost/Makefile    | 5 +++++\n examples/vhost/ioat.h      | 2 +-\n examples/vhost/meson.build | 2 +-\n 3 files changed, 7 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/examples/vhost/Makefile b/examples/vhost/Makefile\nindex cec59d0e0f..505e443217 100644\n--- a/examples/vhost/Makefile\n+++ b/examples/vhost/Makefile\n@@ -5,7 +5,12 @@\n APP = vhost-switch\n \n # all source are stored in SRCS-y\n+IOAT_PATH = $(shell pkg-config --cflags-only-I libdpdk | sed -e \"s/^..//\")/rte_ioat_rawdev.h\n+ifeq ($(IOAT_PATH), $(wildcard $(IOAT_PATH)))\n+SRCS-y := main.c virtio_net.c ioat.c\n+else\n SRCS-y := main.c virtio_net.c\n+endif\n \n # Build using pkg-config variables if possible\n ifneq ($(shell pkg-config --exists libdpdk && echo 0),0)\ndiff --git a/examples/vhost/ioat.h b/examples/vhost/ioat.h\nindex 9664fcc3ac..d6d0f7c18a 100644\n--- a/examples/vhost/ioat.h\n+++ b/examples/vhost/ioat.h\n@@ -24,7 +24,7 @@ struct dma_for_vhost {\n \tuint16_t nr;\n };\n \n-#ifdef RTE_ARCH_X86\n+#ifdef RTE_RAW_IOAT\n int open_ioat(const char *value);\n #else\n static int open_ioat(const char *value __rte_unused)\ndiff --git a/examples/vhost/meson.build b/examples/vhost/meson.build\nindex 24f1f71313..d5388a795a 100644\n--- a/examples/vhost/meson.build\n+++ b/examples/vhost/meson.build\n@@ -15,7 +15,7 @@ sources = files(\n \t'main.c', 'virtio_net.c'\n )\n \n-if dpdk_conf.has('RTE_ARCH_X86')\n+if dpdk_conf.has('RTE_RAW_IOAT')\n \tdeps += 'raw_ioat'\n \tsources += files('ioat.c')\n endif\n",
    "prefixes": [
        "v1"
    ]
}