linux/drivers/net/ethernet/intel
Jesse Brandeburg a72a5abcb3 i40e: fix bug in return from get_link_status and avoid spurious link messages
Previously, the driver could call this function and have only true/false
returned, but false could mean multiple things like failure to read
or link was down. This change allows the caller to get all return values
in the call chain bubbled back to the source, which keeps information about
failures from being lost.

Also, in some unlikely scenarios, the firmware can become slow to respond
to admin queue (AQ) queries for link state.  Should the AQ time out,
the driver can detect the state and avoid a link change when there
may have been none.

Change-ID: Ib2ac38407b7880750fb891b392fa77457fe6c21c
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-10-07 14:23:09 -07:00
..
e1000 e1000: remove dead e1000_init_eeprom_params calls 2015-09-22 15:58:28 -07:00
e1000e e1000e: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
fm10k fm10k: add support for extra debug statistics 2015-09-22 15:58:27 -07:00
i40e i40e: fix bug in return from get_link_status and avoid spurious link messages 2015-10-07 14:23:09 -07:00
i40evf i40e/i40evf: give up the __func__ 2015-10-07 14:11:24 -07:00
igb net: igb: avoid using timespec 2015-10-05 03:16:42 -07:00
igbvf igbvf: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
ixgb ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgbe ixgbe: Advance version to 4.2.1 2015-09-23 23:09:34 -07:00
ixgbevf ixgbevf: Enables TSO for stacked VLAN 2015-09-22 15:58:29 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00