Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76062/?format=api
http://patches.dpdk.org/api/patches/76062/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200827070244.32392-3-ophirmu@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": "<20200827070244.32392-3-ophirmu@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200827070244.32392-3-ophirmu@nvidia.com", "date": "2020-08-27T07:02:43", "name": "[v2,2/3] app/testpmd: enable configuring GENEVE port", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "cfededb4deb49df83bb4c9b7cc3173bd2b95a160", "submitter": { "id": 1908, "url": "http://patches.dpdk.org/api/people/1908/?format=api", "name": "Ophir Munk", "email": "ophirmu@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/20200827070244.32392-3-ophirmu@nvidia.com/mbox/", "series": [ { "id": 11817, "url": "http://patches.dpdk.org/api/series/11817/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11817", "date": "2020-08-27T07:02:44", "name": "Add GENEVE protocol parsing to testpmd", "version": 2, "mbox": "http://patches.dpdk.org/series/11817/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76062/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/76062/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 1EFF5A04B1;\n\tThu, 27 Aug 2020 09:03:07 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 216B21C00D;\n\tThu, 27 Aug 2020 09:03:01 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 46DFB1BFE1\n for <dev@dpdk.org>; Thu, 27 Aug 2020 09:02:58 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n ophirmu@nvidia.com) with SMTP; 27 Aug 2020 10:02:52 +0300", "from nvidia.com (pegasus05.mtr.labs.mlnx [10.210.16.100])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 07R72qrX020045;\n Thu, 27 Aug 2020 10:02:52 +0300" ], "From": "Ophir Munk <ophirmu@nvidia.com>", "To": "dev@dpdk.org, Wenzhuo Lu <wenzhuo.lu@intel.com>,\n Beilei Xing <beilei.xing@intel.com>,\n Bernard Iremonger <bernard.iremonger@intel.com>", "Cc": "Ophir Munk <ophirmu@mellanox.com>", "Date": "Thu, 27 Aug 2020 07:02:43 +0000", "Message-Id": "<20200827070244.32392-3-ophirmu@nvidia.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20200827070244.32392-1-ophirmu@nvidia.com>", "References": "<20200729082905.19499-4-ophirmu@mellanox.com>\n <20200827070244.32392-1-ophirmu@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v2 2/3] app/testpmd: enable configuring GENEVE\n\tport", "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": "From: Ophir Munk <ophirmu@mellanox.com>\n\nIANA has assigned port 6081 as the fixed well-known destination port for\nGENEVE. Nevertheless draft-ietf-nvo3-geneve-09 recommends that\nimplementations make this configurable. This commit enables specifying\nany positive UDP destination port number for GENEVE.\n\nSigned-off-by: Ophir Munk <ophirmu@mellanox.com>\n---\n app/test-pmd/parameters.c | 13 ++++++++++++-\n 1 file changed, 12 insertions(+), 1 deletion(-)", "diff": "diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c\nindex 7cb0e3d..0d135b0 100644\n--- a/app/test-pmd/parameters.c\n+++ b/app/test-pmd/parameters.c\n@@ -70,7 +70,8 @@ usage(char* progname)\n \t \"--rxpt= | --rxht= | --rxwt= | --rxfreet= | \"\n \t \"--txpt= | --txht= | --txwt= | --txfreet= | \"\n \t \"--txrst= | --tx-offloads= | | --rx-offloads= | \"\n-\t \"--vxlan-gpe-port= ]\\n\",\n+\t \"--vxlan-gpe-port= ] \"\n+\t \"--geneve-port= ]\\n\",\n \t progname);\n #ifdef RTE_LIBRTE_CMDLINE\n \tprintf(\" --interactive: run in interactive mode.\\n\");\n@@ -199,6 +200,7 @@ usage(char* progname)\n \tprintf(\" --rx-offloads=0xXXXXXXXX: hexadecimal bitmask of RX queue offloads\\n\");\n \tprintf(\" --hot-plug: enable hot plug for device.\\n\");\n \tprintf(\" --vxlan-gpe-port=N: UPD port of tunnel VXLAN-GPE\\n\");\n+\tprintf(\" --geneve-port=N: UPD port of tunnel GENEVE\\n\");\n \tprintf(\" --mlockall: lock all memory\\n\");\n \tprintf(\" --no-mlockall: do not lock all memory\\n\");\n \tprintf(\" --mp-alloc <native|anon|xmem|xmemhuge>: mempool allocation method.\\n\"\n@@ -664,6 +666,7 @@ launch_args_parse(int argc, char** argv)\n \t\t{ \"rx-offloads\",\t\t1, 0, 0 },\n \t\t{ \"hot-plug\",\t\t\t0, 0, 0 },\n \t\t{ \"vxlan-gpe-port\",\t\t1, 0, 0 },\n+\t\t{ \"geneve-port\",\t\t1, 0, 0 },\n \t\t{ \"mlockall\",\t\t\t0, 0, 0 },\n \t\t{ \"no-mlockall\",\t\t0, 0, 0 },\n \t\t{ \"mp-alloc\",\t\t\t1, 0, 0 },\n@@ -1298,6 +1301,14 @@ launch_args_parse(int argc, char** argv)\n \t\t\t\t\trte_exit(EXIT_FAILURE,\n \t\t\t\t\t\t \"vxlan-gpe-port must be >= 0\\n\");\n \t\t\t}\n+\t\t\tif (!strcmp(lgopts[opt_idx].name, \"geneve-port\")) {\n+\t\t\t\tn = atoi(optarg);\n+\t\t\t\tif (n >= 0)\n+\t\t\t\t\tgeneve_udp_port = (uint16_t)n;\n+\t\t\t\telse\n+\t\t\t\t\trte_exit(EXIT_FAILURE,\n+\t\t\t\t\t\t \"geneve-port must be >= 0\\n\");\n+\t\t\t}\n \t\t\tif (!strcmp(lgopts[opt_idx].name, \"print-event\"))\n \t\t\t\tif (parse_event_printing_config(optarg, 1)) {\n \t\t\t\t\trte_exit(EXIT_FAILURE,\n", "prefixes": [ "v2", "2/3" ] }{ "id": 76062, "url": "