summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/xenbus.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2015-02-24 05:26:03 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-02-26 04:53:59 -0800
commita68de58d2791dd9f2b159703b70377011b35a568 (patch)
treebabbcc9ce7bfcb265702fc03ce6a42b0d01f80eb /drivers/net/xen-netback/xenbus.c
parent71da61976ec18fb57b3ba9a1dd846b747cc7c884 (diff)
i40e: fix race in hang check
The driver was having some issues with false Tx hang detection. This makes the driver a little more direct with the checks for progress forward by directly checking the head write back address and tail register when determining progress. This avoids Tx hangs where the software gets behind, because we are directly checking hardware state when determining hang state. Change-ID: I774f0e861c9e8ab5ccb213634100fe15440ae24a Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/xen-netback/xenbus.c')
0 files changed, 0 insertions, 0 deletions