linux/drivers/net/ethernet/intel/ixgbe
Jacob Keller dfcc4615f0 ixgbe: ethtool ixgbe_diag_test cleanup
This patch cleans up the ethtool diagnostics test by ensuring that the tests
work properly regardless of what state the adapter was in. The SRIOV VF check is
done at the beginning, forgoing the link test. The if_running -> dev_close is
moved before the link test, as well as a call to enable the Tx laser. This
ensures that the link test will return valid results even when adapter was
previously down. Also, a call to disable the Tx laser is added if the device
was down before the start. This ensures consistent behavior of the Tx laser
before and after the diagnostic checks. The end result is consistent behavior
regardless of device state.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-01-23 14:32:31 -08:00
..
ixgbe_82598.c ixgbe: Update link flow control to correctly handle multiple packet buffer DCB 2012-05-04 03:25:24 -07:00
ixgbe_82599.c ixgbe: Use is_valid_ether_addr 2012-12-06 21:31:06 -08:00
ixgbe_common.c ixgbe: Use is_valid_ether_addr 2012-12-06 21:31:06 -08:00
ixgbe_common.h ixgbe: Use is_valid_ether_addr 2012-12-06 21:31:06 -08:00
ixgbe_dcb_82598.c ixgbe: Clean up priority based flow control 2012-05-09 22:15:40 -07:00
ixgbe_dcb_82598.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.c ixgbe: Clean up priority based flow control 2012-05-09 22:15:40 -07:00
ixgbe_dcb_82599.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_nl.c ixgbe: SR-IOV: dynamic IEEE DCBx default priority changes 2013-01-19 03:35:15 -08:00
ixgbe_dcb.c ixgbe: Use num_tcs.pg_tcs as upper limit for TC when checking based on UP 2012-07-21 16:05:28 -07:00
ixgbe_dcb.h ixgbe: Populate the prio_tc_map in ixgbe_setup_tc 2012-07-14 14:29:19 -07:00
ixgbe_debugfs.c ixgbe: eliminate Smatch warnings in ixgbe_debugfs.c 2012-12-01 02:29:19 -08:00
ixgbe_ethtool.c ixgbe: ethtool ixgbe_diag_test cleanup 2013-01-23 14:32:31 -08:00
ixgbe_fcoe.c ixgbe: Update ixgbe Tx flags to improve code efficiency 2013-01-19 04:13:45 -08:00
ixgbe_fcoe.h ixgbe: Make FCoE allocation and configuration closer to how rings work 2012-07-19 18:18:49 -07:00
ixgbe_lib.c ixgbe: fix default setting of TXDCTL.WTHRESH 2012-11-01 02:00:10 -07:00
ixgbe_main.c ixgbe: Improve performance and reduce size of ixgbe_tx_map 2013-01-19 04:21:05 -08:00
ixgbe_mbx.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_mbx.h ixgbe: Add support for GET_QUEUES message to get DCB configuration 2012-10-22 21:14:54 -07:00
ixgbe_phy.c ixgbe: add support for 1G SX modules 2012-06-20 01:37:04 -07:00
ixgbe_phy.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_ptp.c ixgbe: remove needless queuing for L4 ptp packets 2012-11-22 01:39:37 -08:00
ixgbe_sriov.c ixgbe: SR-IOV: dynamic IEEE DCBx default priority changes 2013-01-19 03:35:15 -08:00
ixgbe_sriov.h ixgbe: SR-IOV: dynamic IEEE DCBx default priority changes 2013-01-19 03:35:15 -08:00
ixgbe_sysfs.c drivers/net/ethernet: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:46 -07:00
ixgbe_type.h ixgbe: check whether thermal sensor is enabled. 2012-12-06 21:38:38 -08:00
ixgbe_x540.c ixgbe: Use is_valid_ether_addr 2012-12-06 21:31:06 -08:00
ixgbe.h ixgbe: Update ixgbe Tx flags to improve code efficiency 2013-01-19 04:13:45 -08:00
Makefile ptp: Enable clock drivers along with associated net/PHY drivers 2012-11-01 11:35:18 -04:00