Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/85231/?format=api
https://patches.dpdk.org/api/patches/85231/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201216085854.7842-6-jia.guo@intel.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": "<20201216085854.7842-6-jia.guo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201216085854.7842-6-jia.guo@intel.com", "date": "2020-12-16T08:58:54", "name": "[21.02,5/5] app/testpmd: add new UDP tunnel port for ecpri", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a46661eeca2633fbe0afeb51151c7c870fca261e", "submitter": { "id": 507, "url": "https://patches.dpdk.org/api/people/507/?format=api", "name": "Guo, Jia", "email": "jia.guo@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201216085854.7842-6-jia.guo@intel.com/mbox/", "series": [ { "id": 14327, "url": "https://patches.dpdk.org/api/series/14327/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14327", "date": "2020-12-16T08:58:49", "name": "enable UDP ecpri configure in dcf", "version": 1, "mbox": "https://patches.dpdk.org/series/14327/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/85231/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/85231/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 6FDF5A09EF;\n\tWed, 16 Dec 2020 10:03:27 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 840EFC9E6;\n\tWed, 16 Dec 2020 10:01:58 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id 1D60AC9CE\n for <dev@dpdk.org>; Wed, 16 Dec 2020 10:01:54 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Dec 2020 01:01:54 -0800", "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by orsmga008.jf.intel.com with ESMTP; 16 Dec 2020 01:01:53 -0800" ], "IronPort-SDR": [ "\n gAwUmG6p1YQ4n6yxBUL7QlR5PB95S4kDWzjJ190WdW9AKAT60h3RpNJBsX+niALmzmogxhwC7F\n iUwGJYQOfrAw==", "\n cBCIoZUvmZ5wvFd1m6Ohh6ZMq5G70Pb9vjuk4LIjwpzGIfPLPpCdrbI9GaPt1pWc4W9fNJoT5p\n ws27ENHZbivQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9836\"; a=\"175135867\"", "E=Sophos;i=\"5.78,424,1599548400\"; d=\"scan'208\";a=\"175135867\"", "E=Sophos;i=\"5.78,424,1599548400\"; d=\"scan'208\";a=\"368826986\"" ], "X-ExtLoop1": "1", "From": "Jeff Guo <jia.guo@intel.com>", "To": "qi.z.zhang@intel.com, jingjing.wu@intel.com, qiming.yang@intel.com,\n haiyue.wang@intel.com", "Cc": "dev@dpdk.org,\n\tjia.guo@intel.com", "Date": "Wed, 16 Dec 2020 16:58:54 +0800", "Message-Id": "<20201216085854.7842-6-jia.guo@intel.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20201216085854.7842-1-jia.guo@intel.com>", "References": "<20201216085854.7842-1-jia.guo@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [dpdk-dev 21.02 5/5] app/testpmd: add new UDP tunnel\n\tport for ecpri", "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": "Add new UDP tunnel port params for ecpri configuration, the command\nas below:\n\ntestpmd> port config 0 udp_tunnel_port add ecpri 6789\ntestpmd> port config 0 udp_tunnel_port rm ecpri 6789\n\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\n---\n app/test-pmd/cmdline.c | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex 2ccbaa039e..af08e48e2e 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -9175,6 +9175,8 @@ cmd_cfg_tunnel_udp_port_parsed(void *parsed_result,\n \t\ttunnel_udp.prot_type = RTE_TUNNEL_TYPE_GENEVE;\n \t} else if (!strcmp(res->tunnel_type, \"vxlan-gpe\")) {\n \t\ttunnel_udp.prot_type = RTE_TUNNEL_TYPE_VXLAN_GPE;\n+\t} else if (!strcmp(res->tunnel_type, \"ecpri\")) {\n+\t\ttunnel_udp.prot_type = RTE_TUNNEL_TYPE_ECPRI;\n \t} else {\n \t\tprintf(\"Invalid tunnel type\\n\");\n \t\treturn;\n@@ -9209,7 +9211,7 @@ cmdline_parse_token_string_t cmd_config_tunnel_udp_port_action =\n \t\t\t\t \"add#rm\");\n cmdline_parse_token_string_t cmd_config_tunnel_udp_port_tunnel_type =\n \tTOKEN_STRING_INITIALIZER(struct cmd_config_tunnel_udp_port, tunnel_type,\n-\t\t\t\t \"vxlan#geneve#vxlan-gpe\");\n+\t\t\t\t \"vxlan#geneve#vxlan-gpe#ecpri\");\n cmdline_parse_token_num_t cmd_config_tunnel_udp_port_value =\n \tTOKEN_NUM_INITIALIZER(struct cmd_config_tunnel_udp_port, udp_port,\n \t\t\t RTE_UINT16);\n@@ -9217,7 +9219,8 @@ cmdline_parse_token_num_t cmd_config_tunnel_udp_port_value =\n cmdline_parse_inst_t cmd_cfg_tunnel_udp_port = {\n \t.f = cmd_cfg_tunnel_udp_port_parsed,\n \t.data = NULL,\n-\t.help_str = \"port config <port_id> udp_tunnel_port add|rm vxlan|geneve|vxlan-gpe <udp_port>\",\n+\t.help_str = \"port config <port_id> udp_tunnel_port add|rm vxlan|\"\n+\t\t\"geneve|vxlan-gpe|ecpri <udp_port>\",\n \t.tokens = {\n \t\t(void *)&cmd_config_tunnel_udp_port_port,\n \t\t(void *)&cmd_config_tunnel_udp_port_config,\n", "prefixes": [ "21.02", "5/5" ] }{ "id": 85231, "url": "