kernel-hacking-2024-linux-s.../drivers/net/ixgbe
Jesse Brandeburg 5438646724 ixgbe: fix link down initial state
As reported by Andrew Lutomirski <amluto@gmail.com>

All the intel wired ethernet drivers were calling netif_carrier_off
and netif_stop_queue (or variants) before calling register_netdevice

This is incorrect behavior as was pointed out by davem, and causes
ifconfig and friends to report a strange state before first link
after the driver was loaded, since without a netif_carrier_off, the stack
assumes carrier_on, but before register_netdev, netlink messages are not
sent out telling link state.

This apparently confused *some* versions of networkmanager.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reported-by: Andrew Lutomirski <amluto@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-20 02:00:37 -07:00
..
ixgbe.h ixgbe: Fix interrupt configuration for 82599 2009-03-14 12:41:08 -07:00
ixgbe_82598.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-04-16 17:35:26 -07:00
ixgbe_82599.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-04-16 17:35:26 -07:00
ixgbe_common.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-04-16 17:35:26 -07:00
ixgbe_common.h ixgbe: Move the LED blink code to common, since 82599 also uses it 2009-04-11 01:43:12 -07:00
ixgbe_dcb.c ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_82598.c ixgbe: Allow Priority Flow Control settings to survive a device reset 2009-03-26 01:13:51 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82599.c ixgbe: Allow Priority Flow Control settings to survive a device reset 2009-03-26 01:13:51 -07:00
ixgbe_dcb_82599.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_nl.c ixgbe: Fix DCB netlink layer for 82599 to enable Priority Flow Control 2009-04-02 01:02:28 -07:00
ixgbe_ethtool.c ixgbe: only allow WOL for 82599 KX4 NIC 2009-04-11 01:43:14 -07:00
ixgbe_main.c ixgbe: fix link down initial state 2009-04-20 02:00:37 -07:00
ixgbe_phy.c ixgbe: Update get_physical_layer() calls, plus a version bump 2009-04-11 02:48:02 -07:00
ixgbe_phy.h ixgbe: Remove unnecessary PHY reset, properly identify multispeed fiber modules 2009-04-11 02:48:01 -07:00
ixgbe_type.h ixgbe: Update get_physical_layer() calls, plus a version bump 2009-04-11 02:48:02 -07:00
Makefile ixgbe: Add 82599 device id's, hook it up into the main driver. 2009-03-01 00:24:36 -08:00