get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86600,
    "url": "http://patches.dpdk.org/api/patches/86600/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210114110606.21142-10-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": "<20210114110606.21142-10-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210114110606.21142-10-bruce.richardson@intel.com",
    "date": "2021-01-14T11:05:55",
    "name": "[09/20] vhost: fix missing header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "83692291ca93ebf767f60ef6fece0b2ec2b9e739",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210114110606.21142-10-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 14751,
            "url": "http://patches.dpdk.org/api/series/14751/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14751",
            "date": "2021-01-14T11:05:46",
            "name": "ensure headers have correct includes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/14751/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/86600/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/86600/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1307CA0A02;\n\tThu, 14 Jan 2021 12:07:34 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 524A714118E;\n\tThu, 14 Jan 2021 12:06:32 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 9A2FC141154;\n Thu, 14 Jan 2021 12:06:24 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Jan 2021 03:06:24 -0800",
            "from silpixa00399126.ir.intel.com ([10.237.222.4])\n by orsmga005.jf.intel.com with ESMTP; 14 Jan 2021 03:06:23 -0800"
        ],
        "IronPort-SDR": [
            "\n VlIBM52J7irmF7Hopar0WyQikWiAKeOQqVkwCA91yNenzyUPbXCAWjkJVpG4WAQNrxP+BSOF1W\n C3wpsabPcqAg==",
            "\n iGIn9Zr01qW7Cj3XQLI8Ai0cFKXiqo3mH+hvwCEhjjZKq9P5ABdVvidqoo5u5e0fn2pLQj7DZ7\n 0cxIgHDDnVbw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9863\"; a=\"178498519\"",
            "E=Sophos;i=\"5.79,347,1602572400\"; d=\"scan'208\";a=\"178498519\"",
            "E=Sophos;i=\"5.79,347,1602572400\"; d=\"scan'208\";a=\"568139842\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n\tstable@dpdk.org",
        "Date": "Thu, 14 Jan 2021 11:05:55 +0000",
        "Message-Id": "<20210114110606.21142-10-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20210114110606.21142-1-bruce.richardson@intel.com>",
        "References": "<20210114110606.21142-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 09/20] vhost: fix missing header includes",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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 vhost header files were missing definitions from headers to allow\nthem to be compiled up individually.\n\nFixes: d7280c9fffcb (\"vhost: support selective datapath\")\nFixes: a49f758d1170 (\"vhost: split vDPA header file\")\nFixes: 939066d96563 (\"vhost/crypto: add public function implementation\")\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_vhost/rte_vdpa.h         | 2 ++\n lib/librte_vhost/rte_vdpa_dev.h     | 1 +\n lib/librte_vhost/rte_vhost_crypto.h | 7 +++++++\n 3 files changed, 10 insertions(+)",
    "diff": "diff --git a/lib/librte_vhost/rte_vdpa.h b/lib/librte_vhost/rte_vdpa.h\nindex f074ec0c4a..1437f400bf 100644\n--- a/lib/librte_vhost/rte_vdpa.h\n+++ b/lib/librte_vhost/rte_vdpa.h\n@@ -11,6 +11,8 @@\n  * Device specific vhost lib\n  */\n \n+#include <stdint.h>\n+\n /** Maximum name length for statistics counters */\n #define RTE_VDPA_STATS_NAME_SIZE 64\n \ndiff --git a/lib/librte_vhost/rte_vdpa_dev.h b/lib/librte_vhost/rte_vdpa_dev.h\nindex a60183f780..bfada387b0 100644\n--- a/lib/librte_vhost/rte_vdpa_dev.h\n+++ b/lib/librte_vhost/rte_vdpa_dev.h\n@@ -8,6 +8,7 @@\n #include <stdbool.h>\n \n #include \"rte_vhost.h\"\n+#include \"rte_vdpa.h\"\n \n #define RTE_VHOST_QUEUE_ALL UINT16_MAX\n \ndiff --git a/lib/librte_vhost/rte_vhost_crypto.h b/lib/librte_vhost/rte_vhost_crypto.h\nindex c809c46a21..2a27a35892 100644\n--- a/lib/librte_vhost/rte_vhost_crypto.h\n+++ b/lib/librte_vhost/rte_vhost_crypto.h\n@@ -5,6 +5,13 @@\n #ifndef _VHOST_CRYPTO_H_\n #define _VHOST_CRYPTO_H_\n \n+#include <stdint.h>\n+#include <rte_compat.h>\n+\n+/* pre-declare structs to avoid including full headers */\n+struct rte_mempool;\n+struct rte_crypto_op;\n+\n #define VHOST_CRYPTO_MBUF_POOL_SIZE\t\t(8192)\n #define VHOST_CRYPTO_MAX_BURST_SIZE\t\t(64)\n #define VHOST_CRYPTO_MAX_DATA_SIZE\t\t(4096)\n",
    "prefixes": [
        "09/20"
    ]
}