app/testpmd: check stopping port is not in bonding
authorBernard Iremonger <bernard.iremonger@intel.com>
Tue, 14 Jun 2016 15:35:38 +0000 (16:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 08:19:29 +0000 (10:19 +0200)
commit0e545d3047fe930d7792e159dc92df97c2fdfb1c
treef45c70cebeb019d82c50af9eb5ac431f6b554382
parenta8ef3e3a980e585fac81992764e42df4343528e4
app/testpmd: check stopping port is not in bonding

Add new function port_is_bonding_slave
Use this function in stop_port and close_port functions.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h