bonding: allow carrier and link status to determine link state
authorDebabrata Banerjee <dbanerje@akamai.com>
Mon, 14 May 2018 18:48:10 +0000 (14:48 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 16:15:11 +0000 (12:15 -0400)
commit1386c36b30388f46a95100924bfcae75160db715
treedb9d63a1cb1d8afe910fc0bbf24ad16dd3fdf887
parente79c1055749e3183a2beee04a24da378623329c5
bonding: allow carrier and link status to determine link state

In a mixed environment it may be difficult to tell if your hardware
support carrier, if it does not it can always report true. With a new
use_carrier option of 2, we can check both carrier and link status
sequentially, instead of one or the other

Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/bonding.txt
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_options.c