net/bonding: allow slaves to also be bonded devices
authorTomasz Kulasek <tomaszx.kulasek@intel.com>
Wed, 5 Jul 2017 18:54:29 +0000 (19:54 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commit4c42498d916d57fcc38b9cb42b5a5cd44447b454
treeae04ca3fbb62f6a476ba319a85193ca963d22dd3
parentdeba8a2f8b0b5a1e13bbda85078e62f49e588e3a
net/bonding: allow slaves to also be bonded devices

This patch removes restrictions in bonded device library which prevent a
bonded device to be added to another bonded device with the limitation
that 802.3ad mode is not supported if one or more slaves is also a
bonded device,

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
drivers/net/bonding/rte_eth_bond_api.c
drivers/net/bonding/rte_eth_bond_private.h