[dpdk-dev] [PATCH] app/testpmd: Added two missing commands in help

Pablo de Lara pablo.de.lara.guarch at intel.com
Sat Nov 15 20:01:36 CET 2014


set link-up and set link-down were not included
in the help command.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
---
 app/test-pmd/cmdline.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 4c3fc76..5d5b725 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -463,7 +463,11 @@ static void cmd_help_long_parsed(void *parsed_result,
 			"set bonding xmit_balance_policy (port_id) (l2|l23|l34)\n"
 			"	Set the transmit balance policy for bonded device running in balance mode.\n\n"
 #endif
+			"set link-up port (port_id)\n"
+			"	Set link up for a port.\n\n"
 
+			"set link-down port (port_id)\n"
+			"	Set link down for a port.\n\n"
 			, list_pkt_forwarding_modes()
 		);
 	}
-- 
1.7.4.1



More information about the dev mailing list