get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53468,
    "url": "http://patches.dpdk.org/api/patches/53468/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1558005716-30083-3-git-send-email-skori@marvell.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": "<1558005716-30083-3-git-send-email-skori@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1558005716-30083-3-git-send-email-skori@marvell.com",
    "date": "2019-05-16T11:21:55",
    "name": "[2/3] examples/ip_fragmentation: Enabling IP checksum offload in mbuf",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "29ac64b4e9619bc717ec1a4ab51521386dc133ed",
    "submitter": {
        "id": 1318,
        "url": "http://patches.dpdk.org/api/people/1318/?format=api",
        "name": "Sunil Kumar Kori",
        "email": "skori@marvell.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1558005716-30083-3-git-send-email-skori@marvell.com/mbox/",
    "series": [
        {
            "id": 4690,
            "url": "http://patches.dpdk.org/api/series/4690/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4690",
            "date": "2019-05-16T11:21:53",
            "name": "Removing PKT_TX_IP_CKSUM from fragmentation/reassembly lib",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4690/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/53468/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/53468/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 198265F21;\n\tThu, 16 May 2019 13:22:11 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n\t[67.231.148.174]) by dpdk.org (Postfix) with ESMTP id BA83E5F1C\n\tfor <dev@dpdk.org>; Thu, 16 May 2019 13:22:09 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n\tby mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id\n\tx4GBKl4I019733 for <dev@dpdk.org>; Thu, 16 May 2019 04:22:08 -0700",
            "from sc-exch02.marvell.com ([199.233.58.182])\n\tby mx0a-0016f401.pphosted.com with ESMTP id 2sh2rh12d7-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n\tfor <dev@dpdk.org>; Thu, 16 May 2019 04:22:08 -0700",
            "from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com\n\t(10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tThu, 16 May 2019 04:22:08 -0700",
            "from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com\n\t(10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Thu, 16 May 2019 04:22:08 -0700",
            "from dc7-eodlnx05.marvell.com (dc7-eodlnx05.marvell.com\n\t[10.28.113.55])\n\tby maili.marvell.com (Postfix) with ESMTP id 60D353F703F;\n\tThu, 16 May 2019 04:22:07 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references : mime-version\n\t: content-type; s=pfpt0818;\n\tbh=NZ7hnyxzE3MoRoH2mhLYa2JySio0HmQ5lbSJXS4ArKE=; \n\tb=wW/LJGAHZywozVpMcXFVpnUKRbKstvSXg9XDciwz9gh5391Yaq/4Poc/3dbQkOPOgJg2\n\t7yOYP8y/yia3P9AU3Z4+m3dA6QmayVpueYg823VyeBPtrmv3LO6n3BQsK4jIkrMaBvK1\n\tKN/4JUOqWchbdImPy0NME2sMIie1jKqJpuSqPLRIAps2CTQMLhkRd9duEqkEg39Kabtt\n\tA5S41jju1U5gkuqL08LyMB5ULIpnE76UdVOTtSHMOaa8qxTthG8z6JtjOiM8BhqxFsxG\n\tRvHOe4KQBsS/Rmb4eFyiQ38NBie6j8Cyb1zGObRZf6s75NE2XUDdscPMTXHULfPpIFy7\n\tjg== ",
        "From": "Sunil Kumar Kori <skori@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<skori@marvell.com>",
        "Date": "Thu, 16 May 2019 16:51:55 +0530",
        "Message-ID": "<1558005716-30083-3-git-send-email-skori@marvell.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1558005716-30083-1-git-send-email-skori@marvell.com>",
        "References": "<1558005716-30083-1-git-send-email-skori@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:, ,\n\tdefinitions=2019-05-16_09:, , signatures=0",
        "Subject": "[dpdk-dev] [PATCH 2/3] examples/ip_fragmentation: Enabling IP\n\tchecksum offload in mbuf",
        "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": "Change-Id: I616dc217a96f0bd4c77dd70959dff3c208524f84\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\n---\n examples/ip_fragmentation/main.c | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c\nindex e90a61e..d821967 100644\n--- a/examples/ip_fragmentation/main.c\n+++ b/examples/ip_fragmentation/main.c\n@@ -354,10 +354,13 @@ struct rte_lpm6_config lpm6_config = {\n \n \t\t/* src addr */\n \t\tether_addr_copy(&ports_eth_addr[port_out], &eth_hdr->s_addr);\n-\t\tif (ipv6)\n+\t\tif (ipv6) {\n \t\t\teth_hdr->ether_type = rte_be_to_cpu_16(ETHER_TYPE_IPv6);\n-\t\telse\n+\t\t\tm->ol_flags |= PKT_TX_IPV6;\n+\t\t} else {\n \t\t\teth_hdr->ether_type = rte_be_to_cpu_16(ETHER_TYPE_IPv4);\n+\t\t\tm->ol_flags |= (PKT_TX_IPV4 | PKT_TX_IP_CKSUM);\n+\t\t}\n \t}\n \n \tlen += len2;\n",
    "prefixes": [
        "2/3"
    ]
}