get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 82146,
    "url": "http://patches.dpdk.org/api/patches/82146/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201026052105.1561859-2-thomas@monjalon.net/",
    "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": "<20201026052105.1561859-2-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201026052105.1561859-2-thomas@monjalon.net",
    "date": "2020-10-26T05:20:51",
    "name": "[01/15] examples: enclose DPDK includes with angle brackets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "30da7da7401a91958b1cefe56385a4f9fd1753f9",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "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/20201026052105.1561859-2-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 13308,
            "url": "http://patches.dpdk.org/api/series/13308/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13308",
            "date": "2020-10-26T05:20:50",
            "name": "remove mbuf userdata",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13308/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/82146/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/82146/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 00FF5A04B5;\n\tMon, 26 Oct 2020 06:21:43 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B7F6F2BAF;\n\tMon, 26 Oct 2020 06:21:23 +0100 (CET)",
            "from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com\n [66.111.4.230]) by dpdk.org (Postfix) with ESMTP id 782552BA2\n for <dev@dpdk.org>; Mon, 26 Oct 2020 06:21:21 +0100 (CET)",
            "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailnew.nyi.internal (Postfix) with ESMTP id BC2825802A2;\n Mon, 26 Oct 2020 01:21:19 -0400 (EDT)",
            "from mailfrontend2 ([10.202.2.163])\n by compute2.internal (MEProxy); Mon, 26 Oct 2020 01:21:19 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 4EEA6306467E;\n Mon, 26 Oct 2020 01:21:18 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=8Dcrmbt/gKkZD\n G/pFo9LpoKVguWZkgmGNyjxg61l3aA=; b=U++2aXdtoSWduEkPgGUQACQdSmqac\n QTmvNzF5N+t1diZsMNxfNkvDeCH27yJJX2mcU7LhYUVXCToIr766b61yWIoJqA5z\n rV+56AipoTiqMu3EHIIlfrFq8fL415z/bGVgyDOaCysvJ7JjE0F6S17XaM+gxkjJ\n KneQYhTOBRmysteFcnhWibz2dXjfKjMEU/sBLcjBLkTbHLmsFy/TelKqHIckpWbD\n Tkfeq9CRZ6UK+wvV/RkQD0HKjabzFQLGEgtZd2uMrSoUjcD6rG6WsANQ3tmB6lhE\n sZ+FEixziYBeYca4Vgv36HfN2yWqj5TOeaGpVycx+6ooV05auZ1sU0zjA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm1; bh=8Dcrmbt/gKkZDG/pFo9LpoKVguWZkgmGNyjxg61l3aA=; b=rtkyGw0f\n mIGC1rYVh0zXo+6/yuyZNDm+KY39sfIFSUahro0RF8p3R3k72CM60GI6jzR8uW9H\n acsDVIz4TqhUR7PvwohITHYz0D/eHxCuEsElmSRnqlmVGiA5VdXcK7A6E0kTC8aL\n igKKaUAduggeH7oAGt78Z7UQbynUUnokJhVvBYQQYRHzSveVE4bTalbfIUm/i+Gt\n 7rHZbPgatYrl4OEqHbXb7QOv+GhBFMUD22nTOeWNH0ygozRKSVYX6guxM8bX0jad\n i2VbRrH+z6oH+cElI14VzdwtkNODEaTdA8JIEyga8dBr8TxRPZdaYj+9TFKRCNyv\n 9gdLGoMpP8lN2w=="
        ],
        "X-ME-Sender": "<xms:z1yWX1surMpRA0nA_bFsce4NIbe5SkIyzvjIidh8Ki0zhDjDmjkf_A>\n <xme:z1yWX-eaz-o-i-c7SyWmAQAsz-072g_KJuB5AA_PKQURVtvDPC5k8AxbTDNiLUTAE\n uUUc23v6VzAuItR5Q>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedujedrkeehgdekgecutefuodetggdotefrodftvf\n curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc\n fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs\n ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf\n frrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedtgfeu\n tdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih\n iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho\n nhdrnhgvth",
        "X-ME-Proxy": "<xmx:z1yWX4zW5JWr2W-wGSH-16UKWHD9kkbTONN3-6xLvaOxz6Z093ZQww>\n <xmx:z1yWX8ONJOGGHcxsdbb4cgjgYzeTv9ACVIND0aXMzfQOD8k4gDL9qQ>\n <xmx:z1yWX19S9bnNbteKCVm72KHA6WnbFauf0T5JG-nAwHBWoKDAm9WWcA>\n <xmx:z1yWXxR65sfc0TC4YucZP7Gupf_jgkuCzOuwACfz7tscx0GiP4Ec7g>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com, david.marchand@redhat.com,\n bruce.richardson@intel.com, olivier.matz@6wind.com,\n andrew.rybchenko@oktetlabs.ru, akhil.goyal@nxp.com,\n Nicolas Chautru <nicolas.chautru@intel.com>, Chas Williams <chas3@att.com>,\n \"Min Hu (Connor)\" <humin29@huawei.com>, Xiaoyun Li <xiaoyun.li@intel.com>",
        "Date": "Mon, 26 Oct 2020 06:20:51 +0100",
        "Message-Id": "<20201026052105.1561859-2-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20201026052105.1561859-1-thomas@monjalon.net>",
        "References": "<20201026052105.1561859-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 01/15] examples: enclose DPDK includes with angle\n\tbrackets",
        "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": "In examples, DPDK header files are external,\nso they must be enclosed with angle brackets, not quotes.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n examples/bbdev_app/main.c              | 30 +++++++++++++-------------\n examples/bond/main.c                   | 11 ++++------\n examples/tep_termination/vxlan_setup.c |  2 +-\n 3 files changed, 20 insertions(+), 23 deletions(-)",
    "diff": "diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c\nindex 43fe631760..e512c807cd 100644\n--- a/examples/bbdev_app/main.c\n+++ b/examples/bbdev_app/main.c\n@@ -18,21 +18,21 @@\n #include <getopt.h>\n #include <signal.h>\n \n-#include \"rte_atomic.h\"\n-#include \"rte_common.h\"\n-#include \"rte_eal.h\"\n-#include \"rte_cycles.h\"\n-#include \"rte_ether.h\"\n-#include \"rte_ethdev.h\"\n-#include \"rte_ip.h\"\n-#include \"rte_lcore.h\"\n-#include \"rte_malloc.h\"\n-#include \"rte_mbuf.h\"\n-#include \"rte_memory.h\"\n-#include \"rte_mempool.h\"\n-#include \"rte_log.h\"\n-#include \"rte_bbdev.h\"\n-#include \"rte_bbdev_op.h\"\n+#include <rte_atomic.h>\n+#include <rte_common.h>\n+#include <rte_eal.h>\n+#include <rte_cycles.h>\n+#include <rte_ether.h>\n+#include <rte_ethdev.h>\n+#include <rte_ip.h>\n+#include <rte_lcore.h>\n+#include <rte_malloc.h>\n+#include <rte_mbuf.h>\n+#include <rte_memory.h>\n+#include <rte_mempool.h>\n+#include <rte_log.h>\n+#include <rte_bbdev.h>\n+#include <rte_bbdev_op.h>\n \n /* LLR values - negative value for '1' bit */\n #define LLR_1_BIT 0x81\ndiff --git a/examples/bond/main.c b/examples/bond/main.c\nindex 398553b785..81a6fa976b 100644\n--- a/examples/bond/main.c\n+++ b/examples/bond/main.c\n@@ -41,6 +41,10 @@\n #include <rte_tcp.h>\n #include <rte_arp.h>\n #include <rte_spinlock.h>\n+#include <rte_devargs.h>\n+#include <rte_byteorder.h>\n+#include <rte_cpuflags.h>\n+#include <rte_eth_bond.h>\n \n #include <cmdline_rdline.h>\n #include <cmdline_parse.h>\n@@ -53,13 +57,6 @@\n \n #include \"main.h\"\n \n-#include <rte_devargs.h>\n-\n-\n-#include \"rte_byteorder.h\"\n-#include \"rte_cpuflags.h\"\n-#include \"rte_eth_bond.h\"\n-\n #define RTE_LOGTYPE_DCB RTE_LOGTYPE_USER1\n \n #define NB_MBUF   (1024*8)\ndiff --git a/examples/tep_termination/vxlan_setup.c b/examples/tep_termination/vxlan_setup.c\nindex 4b44ccc143..0bcd870b4a 100644\n--- a/examples/tep_termination/vxlan_setup.c\n+++ b/examples/tep_termination/vxlan_setup.c\n@@ -18,9 +18,9 @@\n #include <rte_ip.h>\n #include <rte_udp.h>\n #include <rte_tcp.h>\n+#include <rte_vhost.h>\n \n #include \"main.h\"\n-#include \"rte_vhost.h\"\n #include \"vxlan.h\"\n #include \"vxlan_setup.h\"\n \n",
    "prefixes": [
        "01/15"
    ]
}