nfp: call netif_carrier_off() during init
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 17 Dec 2015 14:18:44 +0000 (14:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Dec 2015 20:31:36 +0000 (15:31 -0500)
commit4b402d71d304aa627111fb9d746bb0a75c3989b9
tree3ac1a87286591a01016706548a27ab9ed4c8d2d1
parent6462de8ca4d8000d91fbbdd610561cb8054f78a2
nfp: call netif_carrier_off() during init

Netdevs default to carrier on, we should call netif_carrier_off()
during initialization since we handle carrier state changes in the
driver.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Rolf Neugebauer <rolf.neugebauer@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c