[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171003.143243.476075670637129212.davem@davemloft.net>
Date: Tue, 03 Oct 2017 14:32:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mahesh@...dewar.net
Cc: j.vosburgh@...il.com, andy@...yhouse.net, vfalico@...il.com,
netdev@...r.kernel.org, maheshb@...gle.com
Subject: Re: [PATCH next] bonding: speed/duplex update at NETDEV_UP event
From: Mahesh Bandewar <mahesh@...dewar.net>
Date: Wed, 27 Sep 2017 18:03:49 -0700
> From: Mahesh Bandewar <maheshb@...gle.com>
>
> Some NIC drivers don't have correct speed/duplex settings at the
> time they send NETDEV_UP notification and that messes up the
> bonding state. Especially 802.3ad mode which is very sensitive
> to these settings. In the current implementation we invoke
> bond_update_speed_duplex() when we receive NETDEV_UP, however,
> ignore the return value. If the values we get are invalid
> (UNKNOWN), then slave gets removed from the aggregator with
> speed and duplex set to UNKNOWN while link is still marked as UP.
>
> This patch fixes this scenario. Also 802.3ad mode is sensitive to
> these conditions while other modes are not, so making sure that it
> doesn't change the behavior for other modes.
>
> Signed-off-by: Mahesh Bandewar <maheshb@...gle.com>
Applied, thanks.
Powered by blists - more mailing lists