get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 64337,
    "url": "http://patches.dpdk.org/api/patches/64337/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1578567617-3541-2-git-send-email-matan@mellanox.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": "<1578567617-3541-2-git-send-email-matan@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1578567617-3541-2-git-send-email-matan@mellanox.com",
    "date": "2020-01-09T11:00:15",
    "name": "[v2,1/3] drivers: introduce vDPA class",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ce09989be4637ea3e25fc455d490cc1ced8b095b",
    "submitter": {
        "id": 796,
        "url": "http://patches.dpdk.org/api/people/796/?format=api",
        "name": "Matan Azrad",
        "email": "matan@mellanox.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1578567617-3541-2-git-send-email-matan@mellanox.com/mbox/",
    "series": [
        {
            "id": 8028,
            "url": "http://patches.dpdk.org/api/series/8028/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8028",
            "date": "2020-01-09T11:00:14",
            "name": "Introduce new class for vDPA device drivers",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/8028/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/64337/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/64337/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 1DD9DA04F9;\n\tThu,  9 Jan 2020 12:00:49 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2EFC11DC67;\n\tThu,  9 Jan 2020 12:00:45 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id D31B61DC5D\n for <dev@dpdk.org>; Thu,  9 Jan 2020 12:00:40 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n asafp@mellanox.com)\n with ESMTPS (AES256-SHA encrypted); 9 Jan 2020 13:00:36 +0200",
            "from pegasus07.mtr.labs.mlnx (pegasus07.mtr.labs.mlnx\n [10.210.16.112])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 009B0ZLj013007;\n Thu, 9 Jan 2020 13:00:36 +0200"
        ],
        "From": "Matan Azrad <matan@mellanox.com>",
        "To": "Maxime Coquelin <maxime.coquelin@redhat.com>,\n Tiwei Bie <tiwei.bie@intel.com>, Zhihong Wang <zhihong.wang@intel.com>,\n Xiao Wang <xiao.w.wang@intel.com>",
        "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>, dev@dpdk.org,\n Thomas Monjalon <thomas@monjalon.net>,\n Andrew Rybchenko <arybchenko@solarflare.com>",
        "Date": "Thu,  9 Jan 2020 11:00:15 +0000",
        "Message-Id": "<1578567617-3541-2-git-send-email-matan@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1578567617-3541-1-git-send-email-matan@mellanox.com>",
        "References": "<1577287161-10321-1-git-send-email-matan@mellanox.com>\n <1578567617-3541-1-git-send-email-matan@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v2 1/3] drivers: introduce vDPA class",
        "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": "The vDPA (vhost data path acceleration) drivers provide support for\nthe vDPA operations introduced by the rte_vhost library.\n\nAny driver which provides the vDPA operations should be moved\\added to\nthe vdpa class under drivers/vdpa/.\n\nCreate the general files for vDPA class in drivers and in documentation.\n\nThe management tree for vDPA drivers is\ngit://dpdk.org/next/dpdk-next-virtio.\n\nSigned-off-by: Matan Azrad <matan@mellanox.com>\n---\n MAINTAINERS                   |  5 +++++\n doc/guides/index.rst          |  1 +\n doc/guides/vdpadevs/index.rst | 13 +++++++++++++\n drivers/Makefile              |  2 ++\n drivers/meson.build           |  1 +\n drivers/vdpa/Makefile         |  8 ++++++++\n drivers/vdpa/meson.build      |  8 ++++++++\n 7 files changed, 38 insertions(+)\n create mode 100644 doc/guides/vdpadevs/index.rst\n create mode 100644 drivers/vdpa/Makefile\n create mode 100644 drivers/vdpa/meson.build",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex 9b5c80f..17c2df7 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -1089,6 +1089,11 @@ F: doc/guides/compressdevs/zlib.rst\n F: doc/guides/compressdevs/features/zlib.ini\n \n \n+vDPA Drivers\n+------------\n+T: git://dpdk.org/next/dpdk-next-virtio\n+\n+\n Eventdev Drivers\n ----------------\n M: Jerin Jacob <jerinj@marvell.com>\ndiff --git a/doc/guides/index.rst b/doc/guides/index.rst\nindex 8a1601b..988c6ea 100644\n--- a/doc/guides/index.rst\n+++ b/doc/guides/index.rst\n@@ -19,6 +19,7 @@ DPDK documentation\n    bbdevs/index\n    cryptodevs/index\n    compressdevs/index\n+   vdpadevs/index\n    eventdevs/index\n    rawdevs/index\n    mempool/index\ndiff --git a/doc/guides/vdpadevs/index.rst b/doc/guides/vdpadevs/index.rst\nnew file mode 100644\nindex 0000000..d69dc91\n--- /dev/null\n+++ b/doc/guides/vdpadevs/index.rst\n@@ -0,0 +1,13 @@\n+..  SPDX-License-Identifier: BSD-3-Clause\n+    Copyright 2019 Mellanox Technologies, Ltd\n+\n+vDPA Device Drivers\n+===================\n+\n+The following are a list of vDPA(vhost data path acceleration) device drivers,\n+which can be used from an application through vhost API.\n+\n+.. toctree::\n+    :maxdepth: 2\n+    :numbered:\n+\ndiff --git a/drivers/Makefile b/drivers/Makefile\nindex 7d5da5d..46374ca 100644\n--- a/drivers/Makefile\n+++ b/drivers/Makefile\n@@ -18,6 +18,8 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += common/qat\n DEPDIRS-common/qat := bus mempool\n DIRS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += compress\n DEPDIRS-compress := bus mempool\n+DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vdpa\n+DEPDIRS-vdpa := common bus mempool\n DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event\n DEPDIRS-event := common bus mempool net\n DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += raw\ndiff --git a/drivers/meson.build b/drivers/meson.build\nindex 2850d0f..29708cc 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -13,6 +13,7 @@ dpdk_driver_classes = ['common',\n \t       'raw',     # depends on common, bus and net.\n \t       'crypto',  # depends on common, bus and mempool (net in future).\n \t       'compress', # depends on common, bus, mempool.\n+\t       'vdpa',    # depends on common, bus and mempool.\n \t       'event',   # depends on common, bus, mempool and net.\n \t       'baseband'] # depends on common and bus.\n \ndiff --git a/drivers/vdpa/Makefile b/drivers/vdpa/Makefile\nnew file mode 100644\nindex 0000000..82a2b70\n--- /dev/null\n+++ b/drivers/vdpa/Makefile\n@@ -0,0 +1,8 @@\n+#   SPDX-License-Identifier: BSD-3-Clause\n+#   Copyright 2019 Mellanox Technologies, Ltd\n+\n+include $(RTE_SDK)/mk/rte.vars.mk\n+\n+# DIRS-$(<configuration>) += <directory>\n+\n+include $(RTE_SDK)/mk/rte.subdir.mk\ndiff --git a/drivers/vdpa/meson.build b/drivers/vdpa/meson.build\nnew file mode 100644\nindex 0000000..a839ff5\n--- /dev/null\n+++ b/drivers/vdpa/meson.build\n@@ -0,0 +1,8 @@\n+#   SPDX-License-Identifier: BSD-3-Clause\n+#   Copyright 2019 Mellanox Technologies, Ltd\n+\n+drivers = []\n+std_deps = ['bus_pci', 'kvargs']\n+std_deps += ['vhost']\n+config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'\n+driver_name_fmt = 'rte_pmd_@0@'\n",
    "prefixes": [
        "v2",
        "1/3"
    ]
}