[dpdk-dev] app/testpmd: fix wrong cmdline message

Message ID 1501753519-73895-1-git-send-email-jiayu.hu@intel.com (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Hu, Jiayu Aug. 3, 2017, 9:45 a.m. UTC
  In testpmd, GRO is supported by csum forwarding engine, but the cmdline
message shows GRO is supported by io forwarding engine. This patch is
to fix this issue.

Fixes: b40f8d782ba1 ("app/testpmd: enable TCP/IPv4 GRO")

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
---
 app/test-pmd/cmdline.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Ferruh Yigit Aug. 3, 2017, 11:11 a.m. UTC | #1
On 8/3/2017 10:45 AM, Jiayu Hu wrote:
> In testpmd, GRO is supported by csum forwarding engine, but the cmdline
> message shows GRO is supported by io forwarding engine. This patch is
> to fix this issue.
> 
> Fixes: b40f8d782ba1 ("app/testpmd: enable TCP/IPv4 GRO")
> 
> Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
  
Thomas Monjalon Aug. 3, 2017, 9:39 p.m. UTC | #2
03/08/2017 13:11, Ferruh Yigit:
> On 8/3/2017 10:45 AM, Jiayu Hu wrote:
> > In testpmd, GRO is supported by csum forwarding engine, but the cmdline
> > message shows GRO is supported by io forwarding engine. This patch is
> > to fix this issue.
> > 
> > Fixes: b40f8d782ba1 ("app/testpmd: enable TCP/IPv4 GRO")
> > 
> > Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied, thanks

More precise title:
	app/testpmd: fix GRO command description
  
Hu, Jiayu Aug. 4, 2017, 12:53 a.m. UTC | #3
Hi Thomas,

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Friday, August 4, 2017 5:40 AM
> To: Hu, Jiayu <jiayu.hu@intel.com>
> Cc: dev@dpdk.org; Yigit, Ferruh <ferruh.yigit@intel.com>; Wu, Jingjing
> <jingjing.wu@intel.com>
> Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix wrong cmdline message
> 
> 03/08/2017 13:11, Ferruh Yigit:
> > On 8/3/2017 10:45 AM, Jiayu Hu wrote:
> > > In testpmd, GRO is supported by csum forwarding engine, but the cmdline
> > > message shows GRO is supported by io forwarding engine. This patch is
> > > to fix this issue.
> > >
> > > Fixes: b40f8d782ba1 ("app/testpmd: enable TCP/IPv4 GRO")
> > >
> > > Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
> >
> > Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
> 
> Applied, thanks
> 
> More precise title:
> 	app/testpmd: fix GRO command description

Thanks a lot and I will choose a good title next time.

BRs,
Jiayu
  

Patch

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index b1b36c1..cd8c358 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -424,8 +424,8 @@  static void cmd_help_long_parsed(void *parsed_result,
 			"    Display the status of TCP Segmentation Offload.\n\n"
 
 			"gro (on|off) (port_id)"
-			"    Enable or disable Generic Receive Offload in io"
-			" forward engine.\n\n"
+			"    Enable or disable Generic Receive Offload in"
+			" csum forwarding engine.\n\n"
 
 			"gro set (max_flow_num) (max_item_num_per_flow) (port_id)\n"
 			"    Set max flow number and max packet number per-flow"