app/testpmd: add commands for link up and down
authorOuyang Changchun <changchun.ouyang@intel.com>
Wed, 28 May 2014 07:15:02 +0000 (15:15 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 10 Jun 2014 22:29:37 +0000 (00:29 +0200)
commitcfae07fdaa3e71ca9fafbc3e22fcf66d2f97e9ba
tree5ff673e5fc246ed0611f38c5dcf608549958e7be
parentc38f4f83edc0bddf8919d417e14dcabe92895fa2
app/testpmd: add commands for link up and down

This patch adds commands to test the functionality of setting link up and down.

Signed-off-by: Ouyang Changchun <changchun.ouyang@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
Acked by: Ivan Boule <ivan.boule@6wind.com>
app/test-pmd/cmdline.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h