Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/86647/?format=api
https://patches.dpdk.org/api/patches/86647/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210115024240.97254-3-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": "<20210115024240.97254-3-jia.guo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210115024240.97254-3-jia.guo@intel.com", "date": "2021-01-15T02:42:40", "name": "[v3,2/2] app/testpmd: add new UDP tunnel port for ecpri", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d884c2ddae46af2fcf2c971916d22b61190bcbfa", "submitter": { "id": 507, "url": "https://patches.dpdk.org/api/people/507/?format=api", "name": "Guo, Jia", "email": "jia.guo@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210115024240.97254-3-jia.guo@intel.com/mbox/", "series": [ { "id": 14766, "url": "https://patches.dpdk.org/api/series/14766/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14766", "date": "2021-01-15T02:42:38", "name": "add new UDP tunnel port for ecpri", "version": 3, "mbox": "https://patches.dpdk.org/series/14766/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/86647/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/86647/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 BDC0BA0A02;\n\tFri, 15 Jan 2021 03:49:57 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AA6F2140ECF;\n\tFri, 15 Jan 2021 03:49:57 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 997AD140ECE\n for <dev@dpdk.org>; Fri, 15 Jan 2021 03:49:54 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Jan 2021 18:49:53 -0800", "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by orsmga001.jf.intel.com with ESMTP; 14 Jan 2021 18:49:46 -0800" ], "IronPort-SDR": [ "\n EmG5HZPkv+momLkVcM90/MUbKsbok7p7aXZFMkSK2Ofs+TKHzlDjgxM2Muxlc5cPNwfoaL6X8m\n mgljy6U95zLQ==", "\n 1A1hx6FVJfiP+tvRCy2xEL/s5r0BN+sxeouPrNmtgFNuMMbPw/DrlNfco5LssaTA7BDyE2qxQX\n xWV/ekHGH80A==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9864\"; a=\"174979838\"", "E=Sophos;i=\"5.79,347,1602572400\"; d=\"scan'208\";a=\"174979838\"", "E=Sophos;i=\"5.79,347,1602572400\"; d=\"scan'208\";a=\"425147727\"" ], "X-ExtLoop1": "1", "From": "Jeff Guo <jia.guo@intel.com>", "To": "qi.z.zhang@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com,\n andrew.rybchenko@oktetlabs.ru, bernard.iremonger@intel.com,\n wenzhuo.lu@intel.com, beilei.xing@intel.com", "Cc": "jingjing.wu@intel.com, qiming.yang@intel.com, haiyue.wang@intel.com,\n dev@dpdk.org, jia.guo@intel.com, simei.su@intel.com, orika@nvidia.com,\n getelson@nvidia.com, maxime.coquelin@redhat.com, jerinj@marvell.com,\n ajit.khaparde@broadcom.com, bingz@nvidia.com, ray.kinsella@intel.com,\n dodji@redhat.com, david.marchand@redhat.com", "Date": "Fri, 15 Jan 2021 10:42:40 +0800", "Message-Id": "<20210115024240.97254-3-jia.guo@intel.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20210115024240.97254-1-jia.guo@intel.com>", "References": "<20201216085854.7842-1-jia.guo@intel.com>\n <20210115024240.97254-1-jia.guo@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [dpdk-dev v3 2/2] app/testpmd: add new UDP tunnel port\n for ecpri", "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": "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 | 9 ++++++---\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-\n 2 files changed, 7 insertions(+), 4 deletions(-)", "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex 2ccbaa039e..596dd239fe 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -845,7 +845,7 @@ static void cmd_help_long_parsed(void *parsed_result,\n \t\t\t\"fdir_inset|fdir_flx_inset clear all\"\n \t\t\t\" Clear RSS|FDIR|FDIR_FLX input set completely for some pctype\\n\\n\"\n \n-\t\t\t\"port config (port_id) udp_tunnel_port add|rm vxlan|geneve (udp_port)\\n\\n\"\n+\t\t\t\"port config (port_id) udp_tunnel_port add|rm vxlan|geneve|ecpri (udp_port)\\n\\n\"\n \t\t\t\" Add/remove UDP tunnel port for tunneling offload\\n\\n\"\n \n \t\t\t\"port config <port_id> rx_offload vlan_strip|\"\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,\ndiff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\nindex 9be450066e..842ac42ce6 100644\n--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n@@ -2375,7 +2375,7 @@ port config udp_tunnel_port\n \n Add/remove UDP tunnel port for VXLAN/GENEVE tunneling protocols::\n \n- testpmd> port config (port_id) udp_tunnel_port add|rm vxlan|geneve|vxlan-gpe (udp_port)\n+ testpmd> port config (port_id) udp_tunnel_port add|rm vxlan|geneve|vxlan-gpe|ecpri (udp_port)\n \n port config tx_metadata\n ~~~~~~~~~~~~~~~~~~~~~~~\n", "prefixes": [ "v3", "2/2" ] }{ "id": 86647, "url": "