linux/drivers/net/ethernet/intel
Mitch Williams 54e16f64f0 i40evf: don't wait forever
Under rare circumstances, after a reset, set_rx_mode might get called
while the watchdog is running, which will cause a deadlock on the
critical section lock. To correct this, add a counter and give up trying
to get the lock after fifty tries. Log a message if this happens but
don't take any other action. Because this happens after a reset, all of
the Rx filters are still in place and the device won't lose
connectivity.

We can also get stuck during shutdown, if the PF has stopped communicating
with us, or if a reset is occurring. If we can't get the lock after a reasonable
amount of time, just error out. Something else bad is happening anyway, so
adding this filter is the least of our concern right now.

Change-ID: I159731e2a82a06b389ee31b34ce336548e05baa0
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-02-23 17:13:21 -08:00
..
e1000 net: e1000: support txtd update delay via xmit_more 2015-01-22 18:10:23 -08:00
e1000e e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
fm10k fm10k: Resolve compile warnings with W=1 2015-02-05 19:41:51 -08:00
i40e i40e: Fix i40e_ndo_set_vf_spoofchk 2015-02-23 17:13:19 -08:00
i40evf i40evf: don't wait forever 2015-02-23 17:13:21 -08:00
igb igb: Indicate failure on vf reset for empty mac address 2015-01-22 18:10:23 -08:00
igbvf igbvf: cleanup msleep() and min/max() usage 2015-02-23 17:11:54 -08:00
ixgb net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
ixgbe ixgbe: add Tx anti spoofing support 2015-02-05 19:58:46 -08:00
ixgbevf ixgbevf: combine all of the tasks into a single service task 2015-02-05 19:58:45 -08:00
e100.c e100: fix typo in MDI/MDI-X eeprom check in e100_phy_init 2014-12-31 11:55:40 -08:00
Kconfig ixgbe: add VXLAN offload support for X550 devices 2015-02-05 19:57:49 -08:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00