net/bonding: validate speed after link up
authorEric Kinzie <ehkinzie@gmail.com>
Thu, 4 Aug 2016 18:24:42 +0000 (11:24 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commitb4092cacf6bd6470c0c37937862255639293e9b0
treea97c4efa68cf6f80382ae94fb3728634dee7bab6
parentedf1b618313a46680dcb6206be18fd1476cca930
net/bonding: validate speed after link up

It's possible for the bonding driver to mistakenly reject an interface
based in it's, as yet, unnegotiated link speed and duplex. Always allow
the interface to be added to the bonding interface but require link
properties validation to succeed before slave is activated.

Fixes: 2efb58cbab6e ("bond: new link bonding library")

Signed-off-by: Eric Kinzie <ehkinzie@gmail.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
drivers/net/bonding/rte_eth_bond_api.c
drivers/net/bonding/rte_eth_bond_pmd.c