get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 6358,
    "url": "http://patches.dpdk.org/api/patches/6358/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/2161590.Y1eMLetJSj@xps13/",
    "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": "<2161590.Y1eMLetJSj@xps13>",
    "list_archive_url": "https://inbox.dpdk.org/dev/2161590.Y1eMLetJSj@xps13",
    "date": "2015-07-13T16:13:26",
    "name": "[dpdk-dev,v10,19/19] mbuf: remove old packet type bit masks",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "79d939e1862ca2d701bdb753389fd46c62bbff40",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/2161590.Y1eMLetJSj@xps13/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/6358/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/6358/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 EE10C5A64;\n\tMon, 13 Jul 2015 18:14:41 +0200 (CEST)",
            "from mail-wg0-f43.google.com (mail-wg0-f43.google.com\n\t[74.125.82.43]) by dpdk.org (Postfix) with ESMTP id CB6EC5A5D\n\tfor <dev@dpdk.org>; Mon, 13 Jul 2015 18:14:39 +0200 (CEST)",
            "by wgjx7 with SMTP id x7so299973372wgj.2\n\tfor <dev@dpdk.org>; Mon, 13 Jul 2015 09:14:39 -0700 (PDT)",
            "from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])\n\tby smtp.gmail.com with ESMTPSA id\n\tuc3sm2956445wib.2.2015.07.13.09.14.38\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 13 Jul 2015 09:14:38 -0700 (PDT)"
        ],
        "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:organization\n\t:user-agent:in-reply-to:references:mime-version\n\t:content-transfer-encoding:content-type;\n\tbh=s+3v8yz53GDxfEK9lRDH5uHd+44WfK3+QyCq11jN/+M=;\n\tb=JwR1ahhVOSGgn5mOvvUjCu1gZWZdDxfnGXz/pD0TCvcOZda8UiHqh+qaNAg/mlhE68\n\txvv9XQWW1OXs3cFpX8t6+Dzvng7b1Bq21qN7hqTFccTSVEWmqF3Y/qRj2qbOfA3zb+gR\n\tyayFx1+OacAVFPNR1wS85TUJLI/BUfea1PvWt5X5Ui5hCUzuSA9FqylQ8s+7HW0/lu25\n\tc41fLh7dKxt78o/ejiGd/frwDsmk9vy48JFqjxHviu5TKDvOXVkt2Va6YxJUZjHfME+g\n\t8jWu+QQ3lQw3TMJu5OV9CuqBVMuyVZf+PtrsGUk8hh144TYeVntoTp5drZT5ujI0emrW\n\tfDHw==",
        "X-Gm-Message-State": "ALoCoQnuxC68BceNUo2bYryE0ZJXwFVLffS3eDw3KjU0nqWHAk4mHTBjRqdgd6C/74lxzhPwz+kD",
        "X-Received": "by 10.180.13.106 with SMTP id g10mr23781405wic.8.1436804079697; \n\tMon, 13 Jul 2015 09:14:39 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "Helin Zhang <helin.zhang@intel.com>",
        "Date": "Mon, 13 Jul 2015 18:13:26 +0200",
        "Message-ID": "<2161590.Y1eMLetJSj@xps13>",
        "Organization": "6WIND",
        "User-Agent": "KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; )",
        "In-Reply-To": "<1436459501-14173-20-git-send-email-helin.zhang@intel.com>",
        "References": "<1435912347-19499-1-git-send-email-helin.zhang@intel.com>\n\t<1436459501-14173-1-git-send-email-helin.zhang@intel.com>\n\t<1436459501-14173-20-git-send-email-helin.zhang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "7Bit",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Cc": "dev@dpdk.org",
        "Subject": "Re: [dpdk-dev] [PATCH v10 19/19] mbuf: remove old packet type bit\n\tmasks",
        "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": "2015-07-10 00:31, Helin Zhang:\n> As unified packet types are used instead, those old bit masks and\n> the relevant macros for packet type indication need to be removed.\n\nIt breaks mlx4 and cxgbe drivers.\n\nThe mlx4 driver didn't have the chance to be updated in this series.\nAdrien, please, could you help Helin to convert ol_flags to packet type?\n\nThe cxgbe changes need to be updated after\n78fc1a716ae8 (\"cxgbe: improve Rx performance\")\nI suggest this update:",
    "diff": "--- a/drivers/net/cxgbe/sge.c\n+++ b/drivers/net/cxgbe/sge.c\n@@ -1419,7 +1419,11 @@ static int process_responses(struct sge_rspq *q, int budget,\n                        unmap_rx_buf(&rxq->fl);\n \n                        if (cpl->l2info & htonl(F_RXF_IP)) {\n+#ifdef RTE_NEXT_ABI\n+                               mbuf->packet_type = RTE_PTYPE_L3_IPV4;\n+#else\n                                pkt->ol_flags |= PKT_RX_IPV4_HDR;\n+#endif\n                                if (unlikely(!csum_ok))\n                                        pkt->ol_flags |= PKT_RX_IP_CKSUM_BAD;\n \n@@ -1427,7 +1431,11 @@ static int process_responses(struct sge_rspq *q, int budget,\n                                     htonl(F_RXF_UDP | F_RXF_TCP)) && !csum_ok)\n                                        pkt->ol_flags |= PKT_RX_L4_CKSUM_BAD;\n                        } else if (cpl->l2info & htonl(F_RXF_IP6)) {\n+#ifdef RTE_NEXT_ABI\n+                               mbuf->packet_type = RTE_PTYPE_L3_IPV6;\n+#else\n                                pkt->ol_flags |= PKT_RX_IPV6_HDR;\n+#endif\n                        }\n\n\n",
    "prefixes": [
        "dpdk-dev",
        "v10",
        "19/19"
    ]
}