[dpdk-dev] app/testpmd: fix set MTU cmd help string

Message ID 1472662128-20642-1-git-send-email-ferruh.yigit@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Commit Message

Ferruh Yigit Aug. 31, 2016, 4:48 p.m. UTC
  Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 app/test-pmd/cmdline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

De Lara Guarch, Pablo Aug. 31, 2016, 5:25 p.m. UTC | #1
> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Wednesday, August 31, 2016 9:49 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo
> Subject: [PATCH] app/testpmd: fix set MTU cmd help string
> 
> Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
>  app/test-pmd/cmdline.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index f90befc..17d238f 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -1367,7 +1367,7 @@ cmdline_parse_token_num_t
> cmd_config_mtu_value =
>  cmdline_parse_inst_t cmd_config_mtu = {
>  	.f = cmd_config_mtu_parsed,
>  	.data = NULL,
> -	.help_str = "port config mtu value",
> +	.help_str = "port config mtu port_id value",
>  	.tokens = {
>  		(void *)&cmd_config_mtu_port,
>  		(void *)&cmd_config_mtu_keyword,
> --
> 2.7.4

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
  
Thomas Monjalon Sept. 23, 2016, 6:31 p.m. UTC | #2
> > Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")
> > 
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied, thanks
  

Patch

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index f90befc..17d238f 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -1367,7 +1367,7 @@  cmdline_parse_token_num_t cmd_config_mtu_value =
 cmdline_parse_inst_t cmd_config_mtu = {
 	.f = cmd_config_mtu_parsed,
 	.data = NULL,
-	.help_str = "port config mtu value",
+	.help_str = "port config mtu port_id value",
 	.tokens = {
 		(void *)&cmd_config_mtu_port,
 		(void *)&cmd_config_mtu_keyword,