get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80505,
    "url": "https://patches.dpdk.org/api/patches/80505/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/054e9683da4383ffcad3187fac098d5638d4690b.1602595426.git.dekelp@nvidia.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": "<054e9683da4383ffcad3187fac098d5638d4690b.1602595426.git.dekelp@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/054e9683da4383ffcad3187fac098d5638d4690b.1602595426.git.dekelp@nvidia.com",
    "date": "2020-10-13T13:32:43",
    "name": "[v6,4/5] app/testpmd: support IPv6 fragments",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4ac9f240ec5fa21d7ac6e17548dddc3240954fb2",
    "submitter": {
        "id": 1897,
        "url": "https://patches.dpdk.org/api/people/1897/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@nvidia.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/054e9683da4383ffcad3187fac098d5638d4690b.1602595426.git.dekelp@nvidia.com/mbox/",
    "series": [
        {
            "id": 12914,
            "url": "https://patches.dpdk.org/api/series/12914/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12914",
            "date": "2020-10-13T13:32:39",
            "name": "support match on L3 fragmented packets",
            "version": 6,
            "mbox": "https://patches.dpdk.org/series/12914/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/80505/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/80505/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B9FC3A04B7;\n\tTue, 13 Oct 2020 15:34:34 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 219601DB6E;\n\tTue, 13 Oct 2020 15:34:02 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 79F5A1DB6E\n for <dev@dpdk.org>; Tue, 13 Oct 2020 15:33:59 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n dekelp@nvidia.com) with SMTP; 13 Oct 2020 16:33:57 +0300",
            "from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx\n [10.228.134.250])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09DDXkMe022551;\n Tue, 13 Oct 2020 16:33:57 +0300"
        ],
        "From": "Dekel Peled <dekelp@nvidia.com>",
        "To": "orika@nvidia.com, thomas@monjalon.net, ferruh.yigit@intel.com,\n arybchenko@solarflare.com, konstantin.ananyev@intel.com,\n olivier.matz@6wind.com, wenzhuo.lu@intel.com, beilei.xing@intel.com,\n bernard.iremonger@intel.com, matan@nvidia.com, shahafs@nvidia.com,\n viacheslavo@nvidia.com",
        "Cc": "dev@dpdk.org",
        "Date": "Tue, 13 Oct 2020 16:32:43 +0300",
        "Message-Id": "\n <054e9683da4383ffcad3187fac098d5638d4690b.1602595426.git.dekelp@nvidia.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<cover.1602595426.git.dekelp@nvidia.com>",
        "References": "<cover.1602494556.git.dekelp@nvidia.com>\n <cover.1602595426.git.dekelp@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH v6 4/5] app/testpmd: support IPv6 fragments",
        "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 <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": "rte_flow update, following RFC [1], introduced has_frag_ext field for\nIPv6 header item, used to indicate match on fragmented/non-fragmented\npackets.\nThis patch updates testpmd CLI to support the new field.\n\nTo match on non-fragmented IPv6 packets, need to use pattern:\n... ipv6 has_frag_ext spec 0 has_frag_ext mask 1 ...\nTo match on fragmented IPv6 packets, need to use pattern:\n... ipv6 has_frag_ext spec 1 has_frag_ext mask 1 ...\nTo match on any IPv6 packets, the has_frag_ext field should\nnot be specified for match.\n\n[1] https://mails.dpdk.org/archives/dev/2020-August/177257.html\n\nSigned-off-by: Dekel Peled <dekelp@nvidia.com>\nAcked-by: Ori Kam <orika@nvidia.com>\n---\n app/test-pmd/cmdline_flow.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c\nindex cfbf57b..d311b85 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -142,6 +142,7 @@ enum index {\n \tITEM_IPV6_HOP,\n \tITEM_IPV6_SRC,\n \tITEM_IPV6_DST,\n+\tITEM_IPV6_HAS_FRAG_EXT,\n \tITEM_ICMP,\n \tITEM_ICMP_TYPE,\n \tITEM_ICMP_CODE,\n@@ -891,6 +892,7 @@ struct parse_action_priv {\n \tITEM_IPV6_HOP,\n \tITEM_IPV6_SRC,\n \tITEM_IPV6_DST,\n+\tITEM_IPV6_HAS_FRAG_EXT,\n \tITEM_NEXT,\n \tZERO,\n };\n@@ -2186,6 +2188,13 @@ static int comp_set_raw_index(struct context *, const struct token *,\n \t\t.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_ipv6,\n \t\t\t\t\t     hdr.dst_addr)),\n \t},\n+\t[ITEM_IPV6_HAS_FRAG_EXT] = {\n+\t\t.name = \"has_frag_ext\",\n+\t\t.help = \"fragment packet attribute\",\n+\t\t.next = NEXT(item_ipv6, NEXT_ENTRY(UNSIGNED), item_param),\n+\t\t.args = ARGS(ARGS_ENTRY_BF(struct rte_flow_item_ipv6,\n+\t\t\t\t\t   has_frag_ext, 1)),\n+\t},\n \t[ITEM_ICMP] = {\n \t\t.name = \"icmp\",\n \t\t.help = \"match ICMP header\",\n",
    "prefixes": [
        "v6",
        "4/5"
    ]
}