Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/80779/?format=api
http://patches.dpdk.org/api/patches/80779/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/c3c24f1eca8f667c17e71f191a4c4580a43d22b5.1602692917.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": "<c3c24f1eca8f667c17e71f191a4c4580a43d22b5.1602692917.git.dekelp@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/c3c24f1eca8f667c17e71f191a4c4580a43d22b5.1602692917.git.dekelp@nvidia.com", "date": "2020-10-14T16:35:49", "name": "[v7,3/5] app/testpmd: support IPv4 fragments", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7ee133b00d52eb323a29475c04a9b6a015c6405f", "submitter": { "id": 1897, "url": "http://patches.dpdk.org/api/people/1897/?format=api", "name": "Dekel Peled", "email": "dekelp@nvidia.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/c3c24f1eca8f667c17e71f191a4c4580a43d22b5.1602692917.git.dekelp@nvidia.com/mbox/", "series": [ { "id": 12964, "url": "http://patches.dpdk.org/api/series/12964/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12964", "date": "2020-10-14T16:35:47", "name": "support match on L3 fragmented packets", "version": 7, "mbox": "http://patches.dpdk.org/series/12964/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/80779/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/80779/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 D12E2A04DB;\n\tWed, 14 Oct 2020 18:37:48 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EF9421D9DD;\n\tWed, 14 Oct 2020 18:36:50 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 3DC931D993\n for <dev@dpdk.org>; Wed, 14 Oct 2020 18:36:48 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n dekelp@nvidia.com) with SMTP; 14 Oct 2020 19:36:42 +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 09EGaetu027719;\n Wed, 14 Oct 2020 19:36:42 +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, 14 Oct 2020 19:35:49 +0300", "Message-Id": "\n <c3c24f1eca8f667c17e71f191a4c4580a43d22b5.1602692917.git.dekelp@nvidia.com>", "X-Mailer": "git-send-email 1.7.1", "In-Reply-To": "<cover.1602692917.git.dekelp@nvidia.com>", "References": "<cover.1601474841.git.dekelp@nvidia.com>\n <cover.1602692917.git.dekelp@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v7 3/5] app/testpmd: support IPv4 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": "This patch updates testpmd CLI to support fragment_offset field of\nIPv4 header item.\n\nTo match on non-fragmented IPv4 packets, need to use pattern:\n... ipv4 fragment_offset spec 0 fragment_offset mask 0x3fff ...\nTo match on fragmented IPv4 packets, need to use pattern:\n... ipv4 fragment_offset spec 1 fragment_offset last 0x3fff\nfragment_offset mask 0x3fff ...\n(Use the full available range 1 to 0x3fff to include all possible\nvalues.)\nTo match on any IPv4 packets, fragmented and non-fragmented,\nthe fragment_offset field should not be specified for match.\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 32a9214..5c224d6 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -132,6 +132,7 @@ enum index {\n \tITEM_VLAN_INNER_TYPE,\n \tITEM_IPV4,\n \tITEM_IPV4_TOS,\n+\tITEM_IPV4_FRAGMENT_OFFSET,\n \tITEM_IPV4_TTL,\n \tITEM_IPV4_PROTO,\n \tITEM_IPV4_SRC,\n@@ -898,6 +899,7 @@ struct parse_action_priv {\n \n static const enum index item_ipv4[] = {\n \tITEM_IPV4_TOS,\n+\tITEM_IPV4_FRAGMENT_OFFSET,\n \tITEM_IPV4_TTL,\n \tITEM_IPV4_PROTO,\n \tITEM_IPV4_SRC,\n@@ -2154,6 +2156,13 @@ static int comp_set_sample_index(struct context *, const struct token *,\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_FRAGMENT_OFFSET] = {\n+\t\t.name = \"fragment_offset\",\n+\t\t.help = \"fragmentation flags and fragment offset\",\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.fragment_offset)),\n+\t},\n \t[ITEM_IPV4_TTL] = {\n \t\t.name = \"ttl\",\n \t\t.help = \"time to live\",\n", "prefixes": [ "v7", "3/5" ] }{ "id": 80779, "url": "