app/testpmd: fix bonding start
authorBernard Iremonger <bernard.iremonger@intel.com>
Mon, 27 Jul 2015 15:54:35 +0000 (16:54 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Jul 2015 17:20:45 +0000 (19:20 +0200)
commit41b05095c4d166224c37af6a6cf3b056fed99f9b
tree2908f8117eea4fceff375720808092f04086f0d4
parentd1d1e664c6c4bab692b47d714c4063d34b396201
app/testpmd: fix bonding start

When the bonded port is started it also starts the slave port,
but the slave port status is not set. A slave_flag has been
added to struct rte_port to resolve this issue.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h