net/bonding: stop and deactivate slaves on stop
authorRadu Nicolau <radu.nicolau@intel.com>
Wed, 1 Aug 2018 13:18:43 +0000 (14:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Sep 2018 11:59:05 +0000 (13:59 +0200)
commit7486331308f6c18b3f84bb2c19b8ffe1808a32f5
tree9fd90a5f0814e018cf66e90acbbf04bdbf19f7d4
parent3c4c76cf170d62de7cb246c28f8113dfffa0d582
net/bonding: stop and deactivate slaves on stop

When a bonding port is stopped also stop and deactivate all slaves.
Otherwise slaves will be still listed as active.

Fixes: 2efb58cbab6e ("bond: new link bonding library")
Cc: stable@dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_pmd.c