From: Jerin Jacob Date: Tue, 2 Oct 2018 13:35:47 +0000 (+0530) Subject: app/testpmd: fix csum parse-tunnel command invocation X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5b48cd159536b70a943ae8246c2f717183818b19;p=dpdk.git app/testpmd: fix csum parse-tunnel command invocation Based on the documentation and help print, the sub command for csum suppose to be "parse-tunnel" instead of "parse_tunnel". Fixes: 64fc36064dc3 ("app/testpmd: add csum parse-tunnel command") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob Acked-by: Bernard Iremonger --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 0c5399dc46..3376a665cf 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -4367,7 +4367,7 @@ cmdline_parse_token_string_t cmd_csum_tunnel_csum = csum, "csum"); cmdline_parse_token_string_t cmd_csum_tunnel_parse = TOKEN_STRING_INITIALIZER(struct cmd_csum_tunnel_result, - parse, "parse_tunnel"); + parse, "parse-tunnel"); cmdline_parse_token_string_t cmd_csum_tunnel_onoff = TOKEN_STRING_INITIALIZER(struct cmd_csum_tunnel_result, onoff, "on#off"); @@ -4378,7 +4378,7 @@ cmdline_parse_token_num_t cmd_csum_tunnel_portid = cmdline_parse_inst_t cmd_csum_tunnel = { .f = cmd_csum_tunnel_parsed, .data = NULL, - .help_str = "csum parse_tunnel on|off : " + .help_str = "csum parse-tunnel on|off : " "Enable/Disable parsing of tunnels for csum engine", .tokens = { (void *)&cmd_csum_tunnel_csum,