get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42447,
    "url": "http://patches.dpdk.org/api/patches/42447/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1530838944-51791-4-git-send-email-jiayu.hu@intel.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": "<1530838944-51791-4-git-send-email-jiayu.hu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1530838944-51791-4-git-send-email-jiayu.hu@intel.com",
    "date": "2018-07-06T01:02:24",
    "name": "[v4,3/3] gso: update documents for UDP/IPv4 GSO",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "fdc977d1b7d83c13610f9f53e64af5861110685d",
    "submitter": {
        "id": 539,
        "url": "http://patches.dpdk.org/api/people/539/?format=api",
        "name": "Hu, Jiayu",
        "email": "jiayu.hu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1530838944-51791-4-git-send-email-jiayu.hu@intel.com/mbox/",
    "series": [
        {
            "id": 444,
            "url": "http://patches.dpdk.org/api/series/444/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=444",
            "date": "2018-07-06T01:02:21",
            "name": "Support UDP/IPv4 GSO",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/444/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/42447/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/42447/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 19B431BE93;\n\tFri,  6 Jul 2018 02:54:35 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 522791BE1E\n\tfor <dev@dpdk.org>; Fri,  6 Jul 2018 02:54:30 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Jul 2018 17:54:29 -0700",
            "from dpdk15.sh.intel.com ([10.67.111.146])\n\tby orsmga004.jf.intel.com with ESMTP; 05 Jul 2018 17:54:29 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,314,1526367600\"; d=\"scan'208\";a=\"213788580\"",
        "From": "Jiayu Hu <jiayu.hu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tJiayu Hu <jiayu.hu@intel.com>",
        "Date": "Fri,  6 Jul 2018 09:02:24 +0800",
        "Message-Id": "<1530838944-51791-4-git-send-email-jiayu.hu@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1530838944-51791-1-git-send-email-jiayu.hu@intel.com>",
        "References": "<1529646843-45903-1-git-send-email-jiayu.hu@intel.com>\n\t<1530838944-51791-1-git-send-email-jiayu.hu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 3/3] gso: update documents for UDP/IPv4 GSO",
        "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": "This patch updates the programmer guide and testpmd user guide for\nUDP/IPv4 GSO.\n\nSigned-off-by: Jiayu Hu <jiayu.hu@intel.com>\nAcked-by: Xiao Wang <xiao.w.wang@intel.com>\n---\n doc/guides/prog_guide/generic_segmentation_offload_lib.rst | 10 ++++++++++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst                |  7 +++++++\n 2 files changed, 17 insertions(+)",
    "diff": "diff --git a/doc/guides/prog_guide/generic_segmentation_offload_lib.rst b/doc/guides/prog_guide/generic_segmentation_offload_lib.rst\nindex 9959f0d..0cfc119 100644\n--- a/doc/guides/prog_guide/generic_segmentation_offload_lib.rst\n+++ b/doc/guides/prog_guide/generic_segmentation_offload_lib.rst\n@@ -43,6 +43,7 @@ Limitations\n #. Currently, the GSO library supports the following IPv4 packet types:\n \n  - TCP\n+ - UDP\n  - VxLAN\n  - GRE\n \n@@ -146,6 +147,15 @@ TCP/IPv4 GSO\n TCP/IPv4 GSO supports segmentation of suitably large TCP/IPv4 packets, which\n may also contain an optional VLAN tag.\n \n+UDP/IPv4 GSO\n+~~~~~~~~~~~~\n+UDP/IPv4 GSO supports segmentation of suitably large UDP/IPv4 packets, which\n+may also contain an optional VLAN tag. UDP GSO is the same as IP fragmentation.\n+Specifically, UDP GSO treats the UDP header as a part of the payload and\n+does not modify it during segmentation. Therefore, after UDP GSO, only the\n+first output packet has the original UDP header, and others just have l2\n+and l3 headers.\n+\n VxLAN GSO\n ~~~~~~~~~\n VxLAN packets GSO supports segmentation of suitably large VxLAN packets,\ndiff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\nindex 0d6fd50..6f2de24 100644\n--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n@@ -1059,6 +1059,13 @@ By default, GSO is disabled for all ports.\n \n    testpmd> csum set tcp hw <port_id>\n \n+   UDP GSO is the same as IP fragmentation, which treats the UDP header\n+   as the payload and does not modify it during segmentation. That is,\n+   after UDP GSO, only the first output fragment has the original UDP\n+   header. Therefore, users need to enable HW IP checksum calculation\n+   and SW UDP checksum calculation for GSO-enabled ports, if they want\n+   correct checksums for UDP/IPv4 packets.\n+\n set gso segsz\n ~~~~~~~~~~~~~\n \n",
    "prefixes": [
        "v4",
        "3/3"
    ]
}