get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44908,
    "url": "http://patches.dpdk.org/api/patches/44908/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180919100417.37868-4-bruce.richardson@intel.com/",
    "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": "<20180919100417.37868-4-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180919100417.37868-4-bruce.richardson@intel.com",
    "date": "2018-09-19T10:04:17",
    "name": "[v4,3/3] build: add meson files for AVF PMD",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "32110076ab70aa0dee0fc829176577d7e41df76c",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180919100417.37868-4-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 1386,
            "url": "http://patches.dpdk.org/api/series/1386/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1386",
            "date": "2018-09-19T10:04:14",
            "name": "AVF build improvements",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/1386/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44908/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44908/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 08C934F9B;\n\tWed, 19 Sep 2018 12:06:05 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 8ABB64CA0\n\tfor <dev@dpdk.org>; Wed, 19 Sep 2018 12:06:01 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t19 Sep 2018 03:05:58 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.223])\n\tby orsmga005.jf.intel.com with ESMTP; 19 Sep 2018 03:05:04 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,393,1531810800\"; d=\"scan'208\";a=\"258522952\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "Jingjing Wu <jingjing.wu@intel.com>,\n\tWenzhuo Lu <wenzhuo.lu@intel.com>",
        "Cc": "dev@dpdk.org, Zhang Qi Z <qi.z.zhang@intel.com>,\n\tFerruh Yigit <ferruh.yigit@intel.com>, Luca Boccassi <bluca@debian.org>",
        "Date": "Wed, 19 Sep 2018 11:04:17 +0100",
        "Message-Id": "<20180919100417.37868-4-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180919100417.37868-1-bruce.richardson@intel.com>",
        "References": "<20180913144405.72772-1-bruce.richardson@intel.com>\n\t<20180919100417.37868-1-bruce.richardson@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 3/3] build: add meson files for AVF PMD",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Luca Boccassi <bluca@debian.org>\n\nSigned-off-by: Luca Boccassi <bluca@debian.org>\nReviewed-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/net/avf/base/meson.build | 20 ++++++++++++++++++++\n drivers/net/avf/meson.build      | 18 ++++++++++++++++++\n drivers/net/meson.build          |  1 +\n 3 files changed, 39 insertions(+)\n create mode 100644 drivers/net/avf/base/meson.build\n create mode 100644 drivers/net/avf/meson.build",
    "diff": "diff --git a/drivers/net/avf/base/meson.build b/drivers/net/avf/base/meson.build\nnew file mode 100644\nindex 000000000..90fd6b445\n--- /dev/null\n+++ b/drivers/net/avf/base/meson.build\n@@ -0,0 +1,20 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>\n+\n+sources = [\n+\t'avf_adminq.c',\n+\t'avf_common.c',\n+]\n+\n+error_cflags = ['-Wno-pointer-to-int-cast']\n+c_args = cflags\n+foreach flag: error_cflags\n+\tif cc.has_argument(flag)\n+\t\tc_args += flag\n+\tendif\n+endforeach\n+\n+base_lib = static_library('avf_base', sources,\n+\tdependencies: static_rte_eal,\n+\tc_args: c_args)\n+base_objs = base_lib.extract_all_objects()\ndiff --git a/drivers/net/avf/meson.build b/drivers/net/avf/meson.build\nnew file mode 100644\nindex 000000000..9a05ebbf4\n--- /dev/null\n+++ b/drivers/net/avf/meson.build\n@@ -0,0 +1,18 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>\n+\n+cflags += ['-Wno-strict-aliasing']\n+\n+subdir('base')\n+objs = [base_objs]\n+\n+sources = files(\n+\t'avf_ethdev.c',\n+\t'avf_rxtx.c',\n+\t'avf_vchnl.c',\n+)\n+\n+if arch_subdir == 'x86'\n+\tdpdk_conf.set('RTE_LIBRTE_AVF_INC_VECTOR', 1)\n+\tsources += files('avf_rxtx_vec_sse.c')\n+endif\ndiff --git a/drivers/net/meson.build b/drivers/net/meson.build\nindex 9c28ed4da..bb0da9152 100644\n--- a/drivers/net/meson.build\n+++ b/drivers/net/meson.build\n@@ -3,6 +3,7 @@\n \n drivers = ['af_packet',\n \t'ark',\n+\t'avf',\n \t'avp',\n \t'axgbe', 'bonding',\n \t'bnx2x',\n",
    "prefixes": [
        "v4",
        "3/3"
    ]
}