bonding: fix detach of slave devices
authorBernard Iremonger <bernard.iremonger@intel.com>
Wed, 10 Feb 2016 10:13:45 +0000 (10:13 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 18:05:47 +0000 (19:05 +0100)
commitdf3e8ad73f4c92b4eb8f49ff33271d4a09e6a04a
tree08d3f38e6340d9d0550afc19807265aab73f4aa7
parent6e02723754fb2b341701ac438486b2dfea98b523
bonding: fix detach of slave devices

Ensure that a bonded slave device is not detached,
until it is removed from the bonded device.

Fixes: 2efb58cbab6e ("bond: new link bonding library")
Fixes: a45b288ef21a ("bond: support link status polling")
Fixes: 494adb7f63f2 ("ethdev: add device fields from PCI layer")
Fixes: b1fb53a39d88 ("ethdev: remove some PCI specific handling")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_api.c
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h