get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96596,
    "url": "https://patches.dpdk.org/api/patches/96596/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210803083817.1243796-21-wenjun1.wu@intel.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": "<20210803083817.1243796-21-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210803083817.1243796-21-wenjun1.wu@intel.com",
    "date": "2021-08-03T08:38:15",
    "name": "[20/22] net/ice/base: fix wrong ptype bitmap for IP fragment",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "a5be3515fac163c5300f7dd6b1fd2a6408ef2325",
    "submitter": {
        "id": 2083,
        "url": "https://patches.dpdk.org/api/people/2083/?format=api",
        "name": "Wenjun Wu",
        "email": "wenjun1.wu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210803083817.1243796-21-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 18158,
            "url": "https://patches.dpdk.org/api/series/18158/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18158",
            "date": "2021-08-03T08:37:55",
            "name": "backport feature support to DPDK 20.11",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/18158/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/96596/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/96596/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B3D21A0C41;\n\tTue,  3 Aug 2021 10:58:57 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 939C24121B;\n\tTue,  3 Aug 2021 10:57:33 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id C6052411C3\n for <dev@dpdk.org>; Tue,  3 Aug 2021 10:57:16 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Aug 2021 01:57:14 -0700",
            "from wuwenjun.sh.intel.com ([10.67.110.197])\n by fmsmga008.fm.intel.com with ESMTP; 03 Aug 2021 01:57:13 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10064\"; a=\"211764425\"",
            "E=Sophos;i=\"5.84,291,1620716400\"; d=\"scan'208\";a=\"211764425\"",
            "E=Sophos;i=\"5.84,291,1620716400\"; d=\"scan'208\";a=\"479396689\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenjun Wu <wenjun1.wu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue,  3 Aug 2021 16:38:15 +0800",
        "Message-Id": "<20210803083817.1243796-21-wenjun1.wu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210803083817.1243796-1-wenjun1.wu@intel.com>",
        "References": "<20210803083817.1243796-1-wenjun1.wu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 20/22] net/ice/base: fix wrong ptype bitmap for\n IP fragment",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Ting Xu <ting.xu@intel.com>\n\nIPv4 and IPv6 fragment ptypes are supposed to be separated from IP\nother ptypes. New bitmaps for IP fragment ptypes were created, but the\nIP fragment ptypes were not deleted from the previous non-frag bitmaps,\nwhich will cause conflicts. This patch removes IP fragment ptypes from\nthe non-frag bitmaps.\n\nSigned-off-by: Ting Xu <ting.xu@intel.com>\n---\n drivers/net/ice/base/ice_flow.c | 36 ++++++++++++++++++---------------\n 1 file changed, 20 insertions(+), 16 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c\nindex 049e2f0c26..e50de9503d 100644\n--- a/drivers/net/ice/base/ice_flow.c\n+++ b/drivers/net/ice/base/ice_flow.c\n@@ -226,11 +226,11 @@ static const u32 ice_ptypes_macvlan_il[] = {\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n };\n \n-/* Packet types for packets with an Outer/First/Single IPv4 header, does NOT\n- * include IPV4 other PTYPEs\n+/* Packet types for packets with an Outer/First/Single non-frag IPv4 header,\n+ * does NOT include IPV4 other PTYPEs\n  */\n static const u32 ice_ptypes_ipv4_ofos[] = {\n-\t0x1DC00000, 0x24000800, 0x00000000, 0x00000000,\n+\t0x1D800000, 0x24000800, 0x00000000, 0x00000000,\n \t0x00000000, 0x00000155, 0x00000000, 0x00000000,\n \t0x00000000, 0x000FC000, 0x000002A0, 0x00000000,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n@@ -240,11 +240,11 @@ static const u32 ice_ptypes_ipv4_ofos[] = {\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n };\n \n-/* Packet types for packets with an Outer/First/Single IPv4 header, includes\n- * IPV4 other PTYPEs\n+/* Packet types for packets with an Outer/First/Single non-frag IPv4 header,\n+ * includes IPV4 other PTYPEs\n  */\n static const u32 ice_ptypes_ipv4_ofos_all[] = {\n-\t0x1DC00000, 0x24000800, 0x00000000, 0x00000000,\n+\t0x1D800000, 0x24000800, 0x00000000, 0x00000000,\n \t0x00000000, 0x00000155, 0x00000000, 0x00000000,\n \t0x00000000, 0x000FC000, 0x83E0FAA0, 0x00000101,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n@@ -266,11 +266,11 @@ static const u32 ice_ptypes_ipv4_il[] = {\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n };\n \n-/* Packet types for packets with an Outer/First/Single IPv6 header, does NOT\n- * include IVP6 other PTYPEs\n+/* Packet types for packets with an Outer/First/Single non-frag IPv6 header,\n+ * does NOT include IVP6 other PTYPEs\n  */\n static const u32 ice_ptypes_ipv6_ofos[] = {\n-\t0x00000000, 0x00000000, 0x77000000, 0x10002000,\n+\t0x00000000, 0x00000000, 0x76000000, 0x10002000,\n \t0x00000000, 0x000002AA, 0x00000000, 0x00000000,\n \t0x00000000, 0x03F00000, 0x00000540, 0x00000000,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n@@ -280,11 +280,11 @@ static const u32 ice_ptypes_ipv6_ofos[] = {\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n };\n \n-/* Packet types for packets with an Outer/First/Single IPv6 header, includes\n- * IPV6 other PTYPEs\n+/* Packet types for packets with an Outer/First/Single non-frag IPv6 header,\n+ * includes IPV6 other PTYPEs\n  */\n static const u32 ice_ptypes_ipv6_ofos_all[] = {\n-\t0x00000000, 0x00000000, 0x77000000, 0x10002000,\n+\t0x00000000, 0x00000000, 0x76000000, 0x10002000,\n \t0x00000000, 0x000002AA, 0x00000000, 0x00000000,\n \t0x00000000, 0x03F00000, 0x7C1F0540, 0x00000206,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n@@ -306,9 +306,11 @@ static const u32 ice_ptypes_ipv6_il[] = {\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n };\n \n-/* Packet types for packets with an Outer/First/Single IPv4 header - no L4 */\n+/* Packet types for packets with an Outer/First/Single\n+ * non-frag IPv4 header - no L4\n+ */\n static const u32 ice_ptypes_ipv4_ofos_no_l4[] = {\n-\t0x10C00000, 0x04000800, 0x00000000, 0x00000000,\n+\t0x10800000, 0x04000800, 0x00000000, 0x00000000,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n \t0x00000000, 0x000cc000, 0x000002A0, 0x00000000,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n@@ -330,9 +332,11 @@ static const u32 ice_ptypes_ipv4_il_no_l4[] = {\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n };\n \n-/* Packet types for packets with an Outer/First/Single IPv6 header - no L4 */\n+/* Packet types for packets with an Outer/First/Single\n+ * non-frag IPv6 header - no L4\n+ */\n static const u32 ice_ptypes_ipv6_ofos_no_l4[] = {\n-\t0x00000000, 0x00000000, 0x43000000, 0x10002000,\n+\t0x00000000, 0x00000000, 0x42000000, 0x10002000,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n \t0x00000000, 0x02300000, 0x00000540, 0x00000000,\n \t0x00000000, 0x00000000, 0x00000000, 0x00000000,\n",
    "prefixes": [
        "20/22"
    ]
}