Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/79360/?format=api
https://patches.dpdk.org/api/patches/79360/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/9fa5d65d321f83aecd28b9ef56dcea33cf692711.1601474841.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": "<9fa5d65d321f83aecd28b9ef56dcea33cf692711.1601474841.git.dekelp@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/9fa5d65d321f83aecd28b9ef56dcea33cf692711.1601474841.git.dekelp@nvidia.com", "date": "2020-09-30T14:10:12", "name": "[04/10] app/testpmd: support IPv6 fragments", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "1e41439a16a0efd041ae8ec2c5187268e9fb2711", "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/9fa5d65d321f83aecd28b9ef56dcea33cf692711.1601474841.git.dekelp@nvidia.com/mbox/", "series": [ { "id": 12622, "url": "https://patches.dpdk.org/api/series/12622/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12622", "date": "2020-09-30T14:10:08", "name": "support match on L3 fragmented packets", "version": 1, "mbox": "https://patches.dpdk.org/series/12622/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/79360/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/79360/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 0A4D0A04B5;\n\tWed, 30 Sep 2020 16:12:05 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4B2E11DB5B;\n\tWed, 30 Sep 2020 16:10:57 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 8F6951DB5B\n for <dev@dpdk.org>; Wed, 30 Sep 2020 16:10:55 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n dekelp@nvidia.com) with SMTP; 30 Sep 2020 17:10: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 08UEAWth023904;\n Wed, 30 Sep 2020 17:10:49 +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": "Wed, 30 Sep 2020 17:10:12 +0300", "Message-Id": "\n <9fa5d65d321f83aecd28b9ef56dcea33cf692711.1601474841.git.dekelp@nvidia.com>", "X-Mailer": "git-send-email 1.7.1", "In-Reply-To": "<cover.1601474841.git.dekelp@nvidia.com>", "References": "<cover.1601474841.git.dekelp@nvidia.com>", "Subject": "[dpdk-dev] [PATCH 04/10] 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 frag_ext_exist 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 frag_ext_exist spec 0 frag_ext_exist mask 1 ...\nTo match on fragmented IPv6 packets, need to use pattern:\n... ipv6 frag_ext_exist spec 1 frag_ext_exist mask 1 ...\nTo match on any IPv6 packets, the frag_ext_exist 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>\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 0c964c1..55cc30f 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -141,6 +141,7 @@ enum index {\n \tITEM_IPV6_HOP,\n \tITEM_IPV6_SRC,\n \tITEM_IPV6_DST,\n+\tITEM_IPV6_FRAG_EXT_EXIST,\n \tITEM_ICMP,\n \tITEM_ICMP_TYPE,\n \tITEM_ICMP_CODE,\n@@ -888,6 +889,7 @@ struct parse_action_priv {\n \tITEM_IPV6_HOP,\n \tITEM_IPV6_SRC,\n \tITEM_IPV6_DST,\n+\tITEM_IPV6_FRAG_EXT_EXIST,\n \tITEM_NEXT,\n \tZERO,\n };\n@@ -2181,6 +2183,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_FRAG_EXT_EXIST] = {\n+\t\t.name = \"frag_ext_exist\",\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 frag_ext_exist, 1)),\n+\t},\n \t[ITEM_ICMP] = {\n \t\t.name = \"icmp\",\n \t\t.help = \"match ICMP header\",\n", "prefixes": [ "04/10" ] }{ "id": 79360, "url": "