get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80564,
    "url": "http://patches.dpdk.org/api/patches/80564/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/42f210b14cc615d9bd0787ef7e68e55c8dca67ae.1602598055.git.dekelp@nvidia.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": "<42f210b14cc615d9bd0787ef7e68e55c8dca67ae.1602598055.git.dekelp@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/42f210b14cc615d9bd0787ef7e68e55c8dca67ae.1602598055.git.dekelp@nvidia.com",
    "date": "2020-10-13T14:16:13",
    "name": "[3/5] net/mlx5: support match on IPv6 fragment packets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fb75cf7ff55988df1134116999c4b52f7cc4d538",
    "submitter": {
        "id": 1897,
        "url": "http://patches.dpdk.org/api/people/1897/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/42f210b14cc615d9bd0787ef7e68e55c8dca67ae.1602598055.git.dekelp@nvidia.com/mbox/",
    "series": [
        {
            "id": 12921,
            "url": "http://patches.dpdk.org/api/series/12921/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12921",
            "date": "2020-10-13T14:16:11",
            "name": "net/mlx5: support match on L3 fragmented packets",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12921/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/80564/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/80564/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 2E4CAA04B7;\n\tTue, 13 Oct 2020 16:18:05 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0B96E1DB7F;\n\tTue, 13 Oct 2020 16:17:11 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id A030D1C197\n for <dev@dpdk.org>; Tue, 13 Oct 2020 16:17:06 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n dekelp@nvidia.com) with SMTP; 13 Oct 2020 17:17:03 +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 09DEH1O7024493;\n Tue, 13 Oct 2020 17:17:03 +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 17:16:13 +0300",
        "Message-Id": "\n <42f210b14cc615d9bd0787ef7e68e55c8dca67ae.1602598055.git.dekelp@nvidia.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<cover.1602598055.git.dekelp@nvidia.com>",
        "References": "<cover.1602598055.git.dekelp@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH 3/5] net/mlx5: support match on IPv6 fragment\n\tpackets",
        "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": "This patch adds to MLX5 PMD the support of matching on IPv6\nfragmented and non-fragmented packets, using the new field\nhas_frag_ext, added to rte_flow following RFC [1].\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 doc/guides/rel_notes/release_20_11.rst | 2 +-\n drivers/net/mlx5/mlx5_flow_dv.c        | 5 +++++\n 2 files changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst\nindex 792d547..ceb4770 100644\n--- a/doc/guides/rel_notes/release_20_11.rst\n+++ b/doc/guides/rel_notes/release_20_11.rst\n@@ -152,7 +152,7 @@ New Features\n \n   Updated Mellanox mlx5 driver with new features and improvements, including:\n \n-  * Added support for matching on fragmented/non-fragmented IPv4 packets.\n+  * Added support for matching on fragmented/non-fragmented IPv4/IPv6 packets.\n \n Removed Items\n -------------\ndiff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c\nindex 08e6f74..6f7377b 100644\n--- a/drivers/net/mlx5/mlx5_flow_dv.c\n+++ b/drivers/net/mlx5/mlx5_flow_dv.c\n@@ -5211,6 +5211,7 @@ struct field_modify_info modify_tcp[] = {\n \t\t\t.proto = 0xff,\n \t\t\t.hop_limits = 0xff,\n \t\t},\n+\t\t.has_frag_ext = 1,\n \t};\n \tconst struct rte_flow_item_ecpri nic_ecpri_mask = {\n \t\t.hdr = {\n@@ -6519,6 +6520,10 @@ struct field_modify_info modify_tcp[] = {\n \t\t ipv6_m->hdr.hop_limits);\n \tMLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_ttl_hoplimit,\n \t\t ipv6_v->hdr.hop_limits & ipv6_m->hdr.hop_limits);\n+\tMLX5_SET(fte_match_set_lyr_2_4, headers_m, frag,\n+\t\t !!(ipv6_m->has_frag_ext));\n+\tMLX5_SET(fte_match_set_lyr_2_4, headers_v, frag,\n+\t\t !!(ipv6_v->has_frag_ext & ipv6_m->has_frag_ext));\n }\n \n /**\n",
    "prefixes": [
        "3/5"
    ]
}