1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel/ixgbe
Emil Tantilov 232ef6bc45 ixgbe: Fix link issues caused by a reset while interface is down
Interface fails to obtain link on 82599 SFP in the following scenario:

1. Set advertised speed to GB:
ethtool -s eth0 advertise 0x20

2. Bring interface down
ip link set eth0 down

3. Issue any command that leads to a reset:
ethtool -t eth0

4. Bring link back up:
ip link set eth0 up

Following patch makes sure that the driver flaps the Tx laser every time
ixgbe_start_hw() is called, and not only when the speed is set.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2011-11-02 16:55:15 -07:00
..
ixgbe.h ixgbe: change the eeprom version reported by ethtool 2011-10-17 17:04:30 -07:00
ixgbe_82598.c ixgbe: allow eeprom writes via ethtool 2011-10-17 05:08:33 -07:00
ixgbe_82599.c ixgbe: remove instances of ixgbe_phy_aq for 82598 and 82599 2011-10-05 02:55:22 -07:00
ixgbe_common.c ixgbe: fix endianess when writing driver version to firmware 2011-10-17 05:08:27 -07:00
ixgbe_common.h ixgbe: avoid HW lockup when adapter is reset with Tx work pending 2011-09-23 09:05:51 -07:00
ixgbe_dcb.c ixgbe: fixup hard dependencies on supporting 8 traffic classes 2011-10-06 03:23:11 -07:00
ixgbe_dcb.h ixgbe: fixup hard dependencies on supporting 8 traffic classes 2011-10-06 03:23:11 -07:00
ixgbe_dcb_82598.c ixgbe: update {P}FC thresholds to account for X540 and loopback 2011-09-28 23:09:59 -07:00
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c ixgbe: X540 devices RX PFC frames pause traffic even if disabled 2011-10-06 03:24:10 -07:00
ixgbe_dcb_82599.h ixgbe: fixup hard dependencies on supporting 8 traffic classes 2011-10-06 03:23:11 -07:00
ixgbe_dcb_nl.c ixgbe: Correct check for change in FCoE priority 2011-10-12 22:45:39 -07:00
ixgbe_ethtool.c ixgbe: change the eeprom version reported by ethtool 2011-10-17 17:04:30 -07:00
ixgbe_fcoe.c ixgbe: Add FCoE DDP allocation failure counters to ethtool stats. 2011-10-12 22:45:32 -07:00
ixgbe_fcoe.h ixgbe: Add FCoE DDP allocation failure counters to ethtool stats. 2011-10-12 22:45:32 -07:00
ixgbe_main.c ixgbe: Fix link issues caused by a reset while interface is down 2011-11-02 16:55:15 -07:00
ixgbe_mbx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
ixgbe_mbx.h
ixgbe_phy.c ixgbe: remove return code for functions that always return 0 2011-10-05 02:53:54 -07:00
ixgbe_phy.h
ixgbe_sriov.c ixgbe: Add new netdev op to turn spoof checking on or off per VF 2011-10-16 13:15:48 -07:00
ixgbe_sriov.h ixgbe: Add new netdev op to turn spoof checking on or off per VF 2011-10-16 13:15:48 -07:00
ixgbe_type.h ixgbe: Add FCoE DDP allocation failure counters to ethtool stats. 2011-10-12 22:45:32 -07:00
ixgbe_x540.c ixgbe: remove instances of ixgbe_phy_aq for 82598 and 82599 2011-10-05 02:55:22 -07:00
Makefile