get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53477,
    "url": "http://patches.dpdk.org/api/patches/53477/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1558006933-32247-4-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": "<1558006933-32247-4-git-send-email-skori@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1558006933-32247-4-git-send-email-skori@marvell.com",
    "date": "2019-05-16T11:42:13",
    "name": "[v2,3/3] examples/ip_reassembly: Enabling IP checksum offload in mbuf",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "0554cead41e2564e20f6ad052fb8e0bd8f86f963",
    "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/1558006933-32247-4-git-send-email-skori@marvell.com/mbox/",
    "series": [
        {
            "id": 4692,
            "url": "http://patches.dpdk.org/api/series/4692/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4692",
            "date": "2019-05-16T11:42:10",
            "name": "Removing PKT_TX_IP_CKSUM from fragmentation/reassembly lib",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/4692/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/53477/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/53477/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 0D9ABD16B;\n\tThu, 16 May 2019 13:42:28 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n\t[67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 079BE7CCF\n\tfor <dev@dpdk.org>; Thu, 16 May 2019 13:42:24 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n\tby mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id\n\tx4GBUasF005654 for <dev@dpdk.org>; Thu, 16 May 2019 04:42:24 -0700",
            "from sc-exch01.marvell.com ([199.233.58.181])\n\tby mx0b-0016f401.pphosted.com with ESMTP id 2sgvc72u85-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:42:24 -0700",
            "from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com\n\t(10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tThu, 16 May 2019 04:42:23 -0700",
            "from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com\n\t(10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Thu, 16 May 2019 04:42:23 -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 6FD863F703F;\n\tThu, 16 May 2019 04:42:22 -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=t5XAUCUW1pWYdtoeqqLuWQm1RUm4xKrzkfKpzkhY450=; \n\tb=R3132h8vwSJnXLa0Vnrf8Ey6v/VVaebvEtv5Bw+kDB+JImVoqYbngMV0jvUNaD1UArEa\n\tOYq0zYTAi1CB5RUF6r0b9mSnYcj9RKzCyWNA5UuKdh/2SzLcsQRoRfTCAS4lUQfdCCUn\n\ta1urYZXRlKydXjunrc3LduTXbqB66LCwvYB/U9ocDeKLOeMpKF+yfG+Z6nHy6ycw2U+9\n\t5uKjfzEzA4WLJ3NAObPWDPplkVsXaKwbz3q31Ge43iXAPmcrLiJ0yTERkPdJZJvaPu3n\n\twGNLptdP0cA+UnMHHdwpJo0h7/1Z2VFC1xiQnZjTzwA1RB6lk/+ggXYDbIiqgGX9n9Uj\n\tLA== ",
        "From": "Sunil Kumar Kori <skori@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<skori@marvell.com>",
        "Date": "Thu, 16 May 2019 17:12:13 +0530",
        "Message-ID": "<1558006933-32247-4-git-send-email-skori@marvell.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1558006933-32247-1-git-send-email-skori@marvell.com>",
        "References": "<1558005895-30340-1-git-send-email-skori@marvell.com>\n\t<1558006933-32247-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 v2 3/3] examples/ip_reassembly: 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": "As per the documentation to use any IP offload features, application\nmust set required offload flags into mbuf->ol_flags.\n\nSigned-off-by: Sunil Kumar Kori <skori@marvell.com>\n---\n examples/ip_reassembly/main.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c\nindex 17b55d4..686e364 100644\n--- a/examples/ip_reassembly/main.c\n+++ b/examples/ip_reassembly/main.c\n@@ -353,6 +353,9 @@ struct rte_lpm6_config lpm6_config = {\n \t\t\t\t\tstruct ether_hdr *);\n \t\t\t\tip_hdr = (struct ipv4_hdr *)(eth_hdr + 1);\n \t\t\t}\n+\n+\t\t\t/* update offloading flags */\n+\t\t\tm->ol_flags |= (PKT_TX_IPV4 | PKT_TX_IP_CKSUM);\n \t\t}\n \t\tip_dst = rte_be_to_cpu_32(ip_hdr->dst_addr);\n \n@@ -391,6 +394,9 @@ struct rte_lpm6_config lpm6_config = {\n \t\t\t\teth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *);\n \t\t\t\tip_hdr = (struct ipv6_hdr *)(eth_hdr + 1);\n \t\t\t}\n+\n+\t\t\t/* update offloading flags */\n+\t\t\tm->ol_flags |= PKT_TX_IPV6;\n \t\t}\n \n \t\t/* Find destination port */\n",
    "prefixes": [
        "v2",
        "3/3"
    ]
}