get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52515,
    "url": "http://patches.dpdk.org/api/patches/52515/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190409200636.2193-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": "<20190409200636.2193-2-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190409200636.2193-2-thomas@monjalon.net",
    "date": "2019-04-09T20:06:35",
    "name": "[v2,1/2] mbuf: fix big endian build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3d8d2d1ecc3c6e2adff0c9aa076f3191a03bf920",
    "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/20190409200636.2193-2-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 4216,
            "url": "http://patches.dpdk.org/api/series/4216/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4216",
            "date": "2019-04-09T20:06:34",
            "name": "fix big endian build",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/4216/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52515/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/52515/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 7B12A5B2A;\n\tTue,  9 Apr 2019 22:06:46 +0200 (CEST)",
            "from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com\n\t[64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 61F185B1C\n\tfor <dev@dpdk.org>; Tue,  9 Apr 2019 22:06:44 +0200 (CEST)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.west.internal (Postfix) with ESMTP id 1D53F31D;\n\tTue,  9 Apr 2019 16:06:43 -0400 (EDT)",
            "from mailfrontend1 ([10.202.2.162])\n\tby compute1.internal (MEProxy); Tue, 09 Apr 2019 16:06:43 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 145ECE409D;\n\tTue,  9 Apr 2019 16:06:40 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tfrom:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding; s=mesmtp; bh=FaZC2PQby6\n\tF2J9aIZb9aYtm7zSKZBoWEEXcOi3l6I4c=; b=bWO1i2lqhrIB2wpJ0SZe26uE1W\n\t9MLMJORmfGhZA1pWOaLD1otI16KSobS3EzFXfMoxDTd5el5mkRvGSMyUsHCgkq6k\n\tNJOZlntsCOCtq5R1GlL5hSfWXJVglXPQg0/9q+kEYV7IcMT7VxC8sWTO4J0cF7rN\n\t9fIFQuaAXr1ggAy6w=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:content-transfer-encoding:date:from\n\t:in-reply-to:message-id:mime-version:references:subject:to\n\t:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n\tfm2; bh=FaZC2PQby6F2J9aIZb9aYtm7zSKZBoWEEXcOi3l6I4c=; b=rO7ledId\n\tcYGHG9WlTySJ6hVrYVoNu4vU51nA5yqbWEq+YJdMPbZDI2Q33O26qKBuQccRsg3Z\n\tLJH3qJ/Ppr2b45tbH1jQnwXIucyhFxUXUxpUvq8VaNkHpbR8P0BX5z/5gKTDp/6L\n\t57l1J7jkw30qj+yx5z20ftUP8GWEWu5tQOso/vPTpn80gc2bgkvpdt+KAH7O4XTW\n\t4I6aBtqzJ1IH099rU6BVJ3/7plnWD2u3tghPEz2WqNqGgvHeJshjclSXpbogYG/U\n\tzxuTC0kCXRjDSG2t8xIJLCPBJ+s2GyaSbcjw4thzmzs84DX7JFphW2QLuxO2yN/6\n\teLJntCRrE6fHwQ=="
        ],
        "X-ME-Sender": "<xms:UfusXHVJeZfZpmovBXv0J280TVUz-hb3W11EgEyN1kgxc6CL5_DnZA>",
        "X-ME-Proxy-Cause": "gggruggvucftvghtrhhoucdtuddrgeduuddrudehgddugeehucetufdoteggodetrfdotf\n\tfvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n\tuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n\tcujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr\n\tshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf\n\thppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh\n\tohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt",
        "X-ME-Proxy": "<xmx:UfusXPIiF3KL_JSOJGUH4OYNEYc8fplrVleVjcydmSBCXoXCdlRIcw>\n\t<xmx:UfusXHfuCs57eccRdFseGBAkQALgIVoOH_Fb-QVLYI9OWJRh0BsXCA>\n\t<xmx:UfusXCECDUgMgvvW8eik5Hzo4Sc5hdnY4uPEzBHvWbOgXlLFN-Mvfw>\n\t<xmx:UvusXEqR50u-qEtfpnzYYru1UXYhhut2a_HH38d615K1-zDD9-DqGQ>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "Olivier Matz <olivier.matz@6wind.com>",
        "Cc": "dev@dpdk.org,\n\tkonstantin.ananyev@intel.com",
        "Date": "Tue,  9 Apr 2019 22:06:35 +0200",
        "Message-Id": "<20190409200636.2193-2-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190409200636.2193-1-thomas@monjalon.net>",
        "References": "<20190409194904.6822-1-thomas@monjalon.net>\n\t<20190409200636.2193-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 1/2] mbuf: fix big endian build",
        "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": "Compilation was failing when using a big endian toolchain:\n\nrte_mbuf.h:504:2: error: expected ',' or '}' before 'RTE_MBUF_L3_LEN_OFS'\n\nFixes: 8d9c2c3a1f01 (\"mbuf: add function to generate raw Tx offload value\")\nCc: konstantin.ananyev@intel.com\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n lib/librte_mbuf/rte_mbuf.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\nindex f7886dcb3..7dd2e7fb3 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -500,7 +500,7 @@ enum {\n \t\tRTE_MBUF_OUTL2_LEN_BITS,\n #if RTE_BYTE_ORDER == RTE_BIG_ENDIAN\n \tRTE_MBUF_L2_LEN_OFS =\n-\t\tsizeof(uint64_t) * CHAR_BIT - RTE_MBUF_L2_LEN_BITS\n+\t\tsizeof(uint64_t) * CHAR_BIT - RTE_MBUF_L2_LEN_BITS,\n \tRTE_MBUF_L3_LEN_OFS = RTE_MBUF_L2_LEN_OFS - RTE_MBUF_L3_LEN_BITS,\n \tRTE_MBUF_L4_LEN_OFS = RTE_MBUF_L3_LEN_OFS - RTE_MBUF_L4_LEN_BITS,\n \tRTE_MBUF_TSO_SEGSZ_OFS = RTE_MBUF_L4_LEN_OFS - RTE_MBUF_TSO_SEGSZ_BITS,\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}