Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/80930/?format=api
http://patches.dpdk.org/api/patches/80930/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/3098502b1635b489078285c118d3807b06a9fc44.1602770369.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": "<3098502b1635b489078285c118d3807b06a9fc44.1602770369.git.dekelp@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/3098502b1635b489078285c118d3807b06a9fc44.1602770369.git.dekelp@nvidia.com", "date": "2020-10-15T14:05:55", "name": "[v2,3/5] net/mlx5: support match on IPv6 fragment packets", "commit_ref": null, "pull_url": null, "state": "accepted", "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/3098502b1635b489078285c118d3807b06a9fc44.1602770369.git.dekelp@nvidia.com/mbox/", "series": [ { "id": 13015, "url": "http://patches.dpdk.org/api/series/13015/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13015", "date": "2020-10-15T14:05:53", "name": "net/mlx5: support match on L3 fragmented packets", "version": 2, "mbox": "http://patches.dpdk.org/series/13015/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/80930/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/80930/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 554A6A04DB;\n\tThu, 15 Oct 2020 16:08:10 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 92BDC1D560;\n\tThu, 15 Oct 2020 16:07:00 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 8C6AF1C25E\n for <dev@dpdk.org>; Thu, 15 Oct 2020 16:06:55 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n dekelp@nvidia.com) with SMTP; 15 Oct 2020 17:06:49 +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 09FE6lEY007456;\n Thu, 15 Oct 2020 17:06:49 +0300" ], "From": "Dekel Peled <dekelp@nvidia.com>", "To": "matan@nvidia.com, shahafs@nvidia.com, viacheslavo@nvidia.com", "Cc": "dev@dpdk.org", "Date": "Thu, 15 Oct 2020 17:05:55 +0300", "Message-Id": "\n <3098502b1635b489078285c118d3807b06a9fc44.1602770369.git.dekelp@nvidia.com>", "X-Mailer": "git-send-email 1.7.1", "In-Reply-To": "<cover.1602770369.git.dekelp@nvidia.com>", "References": "<cover.1602598055.git.dekelp@nvidia.com>\n <cover.1602770369.git.dekelp@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v2 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 18e2c5e..097117e 100644\n--- a/doc/guides/rel_notes/release_20_11.rst\n+++ b/doc/guides/rel_notes/release_20_11.rst\n@@ -218,7 +218,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 ff97f78..b61a361 100644\n--- a/drivers/net/mlx5/mlx5_flow_dv.c\n+++ b/drivers/net/mlx5/mlx5_flow_dv.c\n@@ -5417,6 +5417,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@@ -6734,6 +6735,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": [ "v2", "3/5" ] }{ "id": 80930, "url": "