commit | 0b72a9a1060e7547e71e7f600849a2d3006bf63a | [log] [tgz] |
---|---|---|
author | Sunil Goutham <sgoutham@cavium.com> | Wed Dec 02 15:36:16 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 02 15:58:50 2015 -0500 |
tree | 8f54ce6b7ee0ce1e8ec364d261cb8dbd78dced59 | |
parent | 006394a7cb20559418c602b8433ec1839b6fc1d3 [diff] |
net: thunderx: Switchon carrier only upon interface link up Call netif_carrier_on() only if interface's link is up. Switching this on upon IFF_UP by default, is causing issues with ethernet channel bonding in LACP mode. Initial NETDEV_CHANGE notification was being skipped. Also fixed some issues with link/speed/duplex reporting via ethtool. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>