Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/86531/?format=api
https://patches.dpdk.org/api/patches/86531/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210114070743.2377-4-shirik@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": "<20210114070743.2377-4-shirik@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210114070743.2377-4-shirik@nvidia.com", "date": "2021-01-14T07:07:37", "name": "[v6,3/9] app/testpmd: add GENEVE header option length support", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "60eb27924a9bacbc18c9294fe09aa9cdbdc21fd3", "submitter": { "id": 1894, "url": "https://patches.dpdk.org/api/people/1894/?format=api", "name": "Shiri Kuzin", "email": "shirik@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/20210114070743.2377-4-shirik@nvidia.com/mbox/", "series": [ { "id": 14717, "url": "https://patches.dpdk.org/api/series/14717/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14717", "date": "2021-01-14T07:07:34", "name": "ethdev: introduce GENEVE header TLV option item", "version": 6, "mbox": "https://patches.dpdk.org/series/14717/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/86531/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/86531/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D657EA0A02;\n\tThu, 14 Jan 2021 08:08:43 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4FDF1140F07;\n\tThu, 14 Jan 2021 08:08:38 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 4F990140F06\n for <dev@dpdk.org>; Thu, 14 Jan 2021 08:08:37 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n shirik@nvidia.com) with SMTP; 14 Jan 2021 09:08:33 +0200", "from nvidia.com (c-141-140-1-007.mtl.labs.mlnx [10.141.140.7])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 10E78GjG013095;\n Thu, 14 Jan 2021 09:08:33 +0200" ], "From": "Shiri Kuzin <shirik@nvidia.com>", "To": "dev@dpdk.org", "Cc": "viacheslavo@nvidia.com, adrien.mazarguil@6wind.com, orika@nvidia.com,\n ferruh.yigit@intel.com, thomas@monjalon.net, rasland@nvidia.com,\n andrew.rybchenko@oktetlabs.ru", "Date": "Thu, 14 Jan 2021 09:07:37 +0200", "Message-Id": "<20210114070743.2377-4-shirik@nvidia.com>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20210114070743.2377-1-shirik@nvidia.com>", "References": "<20210112140241.15914-1-shirik@nvidia.com>\n <20210114070743.2377-1-shirik@nvidia.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v6 3/9] app/testpmd: add GENEVE header option\n length support", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "From: Viacheslav Ovsiienko <viacheslavo@nvidia.com>\n\nThe patch adds the GENEVE rte flow option length support to\ncommand line interpreter. The flow command with GENEVE\noption items looks like:\n\n flow create 0 ingress pattern eth / ipv4 / udp / geneve vni\n is 100 optlen is 2 / end actions drop / end\n\nThe option length should be specified in 32-bit words, this\nvalue specifies the all options length in the GENEVE header.\n\nSigned-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>\n---\n app/test-pmd/cmdline_flow.c | 10 ++++++++++\n 1 file changed, 10 insertions(+)", "diff": "diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c\nindex 98afde82cc..1ef4d4f75d 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -223,6 +223,7 @@ enum index {\n \tITEM_GENEVE,\n \tITEM_GENEVE_VNI,\n \tITEM_GENEVE_PROTO,\n+\tITEM_GENEVE_OPTLEN,\n \tITEM_VXLAN_GPE,\n \tITEM_VXLAN_GPE_VNI,\n \tITEM_ARP_ETH_IPV4,\n@@ -1101,6 +1102,7 @@ static const enum index item_gtp[] = {\n static const enum index item_geneve[] = {\n \tITEM_GENEVE_VNI,\n \tITEM_GENEVE_PROTO,\n+\tITEM_GENEVE_OPTLEN,\n \tITEM_NEXT,\n \tZERO,\n };\n@@ -2807,6 +2809,14 @@ static const struct token token_list[] = {\n \t\t.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_geneve,\n \t\t\t\t\t protocol)),\n \t},\n+\t[ITEM_GENEVE_OPTLEN] = {\n+\t\t.name = \"optlen\",\n+\t\t.help = \"GENEVE options length in dwords\",\n+\t\t.next = NEXT(item_geneve, NEXT_ENTRY(UNSIGNED), item_param),\n+\t\t.args = ARGS(ARGS_ENTRY_MASK_HTON(struct rte_flow_item_geneve,\n+\t\t\t\t\t\t ver_opt_len_o_c_rsvd0,\n+\t\t\t\t\t\t \"\\x3f\\x00\")),\n+\t},\n \t[ITEM_VXLAN_GPE] = {\n \t\t.name = \"vxlan-gpe\",\n \t\t.help = \"match VXLAN-GPE header\",\n", "prefixes": [ "v6", "3/9" ] }{ "id": 86531, "url": "