From 5b48cd159536b70a943ae8246c2f717183818b19 Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Tue, 2 Oct 2018 19:05:47 +0530 Subject: [PATCH] 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 --- app/test-pmd/cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.20.1