get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1241,
    "url": "https://patches.dpdk.org/api/patches/1241/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1415635166-1364-4-git-send-email-olivier.matz@6wind.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1415635166-1364-4-git-send-email-olivier.matz@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1415635166-1364-4-git-send-email-olivier.matz@6wind.com",
    "date": "2014-11-10T15:59:17",
    "name": "[dpdk-dev,03/12] mbuf: move vxlan_cksum flag definition at the proper place",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3c1c7553762e31f92831e8c1a29d413b4c0dde5b",
    "submitter": {
        "id": 8,
        "url": "https://patches.dpdk.org/api/people/8/?format=api",
        "name": "Olivier Matz",
        "email": "olivier.matz@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1415635166-1364-4-git-send-email-olivier.matz@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1241/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1241/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 21D557F69;\n\tMon, 10 Nov 2014 16:50:11 +0100 (CET)",
            "from mail-wg0-f45.google.com (mail-wg0-f45.google.com\n\t[74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 85B137F55\n\tfor <dev@dpdk.org>; Mon, 10 Nov 2014 16:50:06 +0100 (CET)",
            "by mail-wg0-f45.google.com with SMTP id x12so9132570wgg.4\n\tfor <dev@dpdk.org>; Mon, 10 Nov 2014 07:59:51 -0800 (PST)",
            "from glumotte.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tll2sm10966561wjb.11.2014.11.10.07.59.50 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 10 Nov 2014 07:59:51 -0800 (PST)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=BbXSvB5YlXj3kJO7xa5lFfZz4RyYXl4vZdc0l2mwvnQ=;\n\tb=YkyJk6pGSYmc4c6+CCev+7qCPXuuEwl88bMlWcGWGdsb6n30RSPfNuQdnovrhGUU8V\n\t65iwfE7czagzKtdwP3AHfN5ucfgytk6ZjMx52nZ5qLMIL/k3IfWHcDc2td0xgXBmEUJH\n\tnxs6HoRZTk4BGHAW1E6dFtbGJeCfQngaomUe14db6WO+Unj38YOgjGOsCcQgL8A2dCpg\n\trRRk3l1Ox/eQ3n0DX47E2GOCVXTIElLg6UzwGXa1QvAWO1y6wR/K3dDkDIIkRBGgxJXM\n\t2yHpuaELyNH7ofYlp+cnxUBNFvy6tUdfo+HP494a+PHKKrhe3uzU9zliChWnMeW/4/dN\n\tJjdw==",
        "X-Gm-Message-State": "ALoCoQnKCNsqxM9AUuoA89R+c0hqF1zYSWP7BaU2FK1YDczilXLES6sdNCFHAuLNyxb7BMrKuWbr",
        "X-Received": "by 10.181.8.72 with SMTP id di8mr40809147wid.1.1415635191474;\n\tMon, 10 Nov 2014 07:59:51 -0800 (PST)",
        "From": "Olivier Matz <olivier.matz@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 10 Nov 2014 16:59:17 +0100",
        "Message-Id": "<1415635166-1364-4-git-send-email-olivier.matz@6wind.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1415635166-1364-1-git-send-email-olivier.matz@6wind.com>",
        "References": "<1415635166-1364-1-git-send-email-olivier.matz@6wind.com>",
        "Cc": "jigsaw@gmail.com",
        "Subject": "[dpdk-dev] [PATCH 03/12] mbuf: move vxlan_cksum flag definition at\n\tthe proper place",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The tx mbuf flags are ordered from the highest value to the\nthe lowest. Move the PKT_TX_VXLAN_CKSUM at the right place.\n\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n lib/librte_mbuf/rte_mbuf.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\nindex e8f9bfc..be15168 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -96,7 +96,6 @@ extern \"C\" {\n \n #define PKT_TX_VLAN_PKT      (1ULL << 55) /**< TX packet is a 802.1q VLAN packet. */\n #define PKT_TX_IP_CKSUM      (1ULL << 54) /**< IP cksum of TX pkt. computed by NIC. */\n-#define PKT_TX_VXLAN_CKSUM   (1ULL << 50) /**< TX checksum of VXLAN computed by NIC */\n #define PKT_TX_IPV4_CSUM     PKT_TX_IP_CKSUM /**< Alias of PKT_TX_IP_CKSUM. */\n #define PKT_TX_IPV4          PKT_RX_IPV4_HDR /**< IPv4 with no IP checksum offload. */\n #define PKT_TX_IPV6          PKT_RX_IPV6_HDR /**< IPv6 packet */\n@@ -114,9 +113,10 @@ extern \"C\" {\n #define PKT_TX_UDP_CKSUM     (3ULL << 52) /**< UDP cksum of TX pkt. computed by NIC. */\n #define PKT_TX_L4_MASK       (3ULL << 52) /**< Mask for L4 cksum offload request. */\n \n-/* Bit 51 - IEEE1588*/\n #define PKT_TX_IEEE1588_TMST (1ULL << 51) /**< TX IEEE1588 packet to timestamp. */\n \n+#define PKT_TX_VXLAN_CKSUM   (1ULL << 50) /**< TX checksum of VXLAN computed by NIC */\n+\n /* Use final bit of flags to indicate a control mbuf */\n #define CTRL_MBUF_FLAG       (1ULL << 63) /**< Mbuf contains control data */\n \n",
    "prefixes": [
        "dpdk-dev",
        "03/12"
    ]
}