get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 91066,
    "url": "http://patches.dpdk.org/api/patches/91066/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210411065931.73792-2-jia.guo@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": "<20210411065931.73792-2-jia.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210411065931.73792-2-jia.guo@intel.com",
    "date": "2021-04-11T06:59:28",
    "name": "[v3,1/4] app/testpmd: add packet id for IP fragment",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "accd37d9ae444be63d089090f54283f9f24f09d2",
    "submitter": {
        "id": 507,
        "url": "http://patches.dpdk.org/api/people/507/?format=api",
        "name": "Guo, Jia",
        "email": "jia.guo@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210411065931.73792-2-jia.guo@intel.com/mbox/",
    "series": [
        {
            "id": 16275,
            "url": "http://patches.dpdk.org/api/series/16275/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16275",
            "date": "2021-04-11T06:59:27",
            "name": "support flow for IP fragment in IAVF",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/16275/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/91066/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/91066/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 27568A0524;\n\tSun, 11 Apr 2021 09:04:51 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DE8501413A5;\n\tSun, 11 Apr 2021 09:04:47 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 19922141383\n for <dev@dpdk.org>; Sun, 11 Apr 2021 09:04:45 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Apr 2021 00:04:45 -0700",
            "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by fmsmga001.fm.intel.com with ESMTP; 11 Apr 2021 00:04:43 -0700"
        ],
        "IronPort-SDR": [
            "\n 2R5Kq06QgtHoyvSfHIlOkR9xBc00Xq+a2IeIFb3aaOi+eyA8YVHgBsE0BBydvOhveSdZCFnY8y\n A2ITvzw0PKPw==",
            "\n xd/CCYhlyPxsI3BClq4cOm0Oz9OI3KNkLIK4Zm/HK9yKkKIqf6lNc9lj/GDoZZUNkIH8D40Z6D\n kLiDzefvwhFA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9950\"; a=\"193558730\"",
            "E=Sophos;i=\"5.82,213,1613462400\"; d=\"scan'208\";a=\"193558730\"",
            "E=Sophos;i=\"5.82,213,1613462400\"; d=\"scan'208\";a=\"520782566\""
        ],
        "X-ExtLoop1": "1",
        "From": "Jeff Guo <jia.guo@intel.com>",
        "To": "orika@nvidia.com, qi.z.zhang@intel.com, beilei.xing@intel.com,\n xiaoyun.li@intel.com, jingjing.wu@intel.com",
        "Cc": "dev@dpdk.org,\n\tting.xu@intel.com,\n\tjia.guo@intel.com",
        "Date": "Sun, 11 Apr 2021 14:59:28 +0800",
        "Message-Id": "<20210411065931.73792-2-jia.guo@intel.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20210411065931.73792-1-jia.guo@intel.com>",
        "References": "<20210324134844.60410-1-jia.guo@intel.com>\n <20210411065931.73792-1-jia.guo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 1/4] app/testpmd: add packet id for 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": "Add the new items to support the flow configuration for IP fragment\npackets.\n\nSigned-off-by: Ting Xu <ting.xu@intel.com>\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\n---\n app/test-pmd/cmdline_flow.c | 21 ++++++++++++++++++++-\n 1 file changed, 20 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c\nindex fb7a3a8bd3..46ae342b85 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -166,6 +166,7 @@ enum index {\n \tITEM_VLAN_HAS_MORE_VLAN,\n \tITEM_IPV4,\n \tITEM_IPV4_TOS,\n+\tITEM_IPV4_ID,\n \tITEM_IPV4_FRAGMENT_OFFSET,\n \tITEM_IPV4_TTL,\n \tITEM_IPV4_PROTO,\n@@ -236,6 +237,7 @@ enum index {\n \tITEM_IPV6_FRAG_EXT,\n \tITEM_IPV6_FRAG_EXT_NEXT_HDR,\n \tITEM_IPV6_FRAG_EXT_FRAG_DATA,\n+\tITEM_IPV6_FRAG_EXT_ID,\n \tITEM_ICMP6,\n \tITEM_ICMP6_TYPE,\n \tITEM_ICMP6_CODE,\n@@ -1028,6 +1030,7 @@ static const enum index item_vlan[] = {\n \n static const enum index item_ipv4[] = {\n \tITEM_IPV4_TOS,\n+\tITEM_IPV4_ID,\n \tITEM_IPV4_FRAGMENT_OFFSET,\n \tITEM_IPV4_TTL,\n \tITEM_IPV4_PROTO,\n@@ -1164,6 +1167,7 @@ static const enum index item_ipv6_ext[] = {\n static const enum index item_ipv6_frag_ext[] = {\n \tITEM_IPV6_FRAG_EXT_NEXT_HDR,\n \tITEM_IPV6_FRAG_EXT_FRAG_DATA,\n+\tITEM_IPV6_FRAG_EXT_ID,\n \tITEM_NEXT,\n \tZERO,\n };\n@@ -2466,6 +2470,13 @@ static const struct token token_list[] = {\n \t\t.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_ipv4,\n \t\t\t\t\t     hdr.type_of_service)),\n \t},\n+\t[ITEM_IPV4_ID] = {\n+\t\t.name = \"packet_id\",\n+\t\t.help = \"fragment packet id\",\n+\t\t.next = NEXT(item_ipv4, NEXT_ENTRY(UNSIGNED), item_param),\n+\t\t.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_ipv4,\n+\t\t\t\t\t     hdr.packet_id)),\n+\t},\n \t[ITEM_IPV4_FRAGMENT_OFFSET] = {\n \t\t.name = \"fragment_offset\",\n \t\t.help = \"fragmentation flags and fragment offset\",\n@@ -2969,12 +2980,20 @@ static const struct token token_list[] = {\n \t},\n \t[ITEM_IPV6_FRAG_EXT_FRAG_DATA] = {\n \t\t.name = \"frag_data\",\n-\t\t.help = \"Fragment flags and offset\",\n+\t\t.help = \"fragment flags and offset\",\n \t\t.next = NEXT(item_ipv6_frag_ext, NEXT_ENTRY(UNSIGNED),\n \t\t\t     item_param),\n \t\t.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_ipv6_frag_ext,\n \t\t\t\t\t     hdr.frag_data)),\n \t},\n+\t[ITEM_IPV6_FRAG_EXT_ID] = {\n+\t\t.name = \"packet_id\",\n+\t\t.help = \"fragment packet id\",\n+\t\t.next = NEXT(item_ipv6_frag_ext, NEXT_ENTRY(UNSIGNED),\n+\t\t\t     item_param),\n+\t\t.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_ipv6_frag_ext,\n+\t\t\t\t\t     hdr.id)),\n+\t},\n \t[ITEM_ICMP6] = {\n \t\t.name = \"icmp6\",\n \t\t.help = \"match any ICMPv6 header\",\n",
    "prefixes": [
        "v3",
        "1/4"
    ]
}