summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/selftest.c
diff options
context:
space:
mode:
authorDaniel Pieczko <dpieczko@solarflare.com>2012-10-02 16:36:18 +0400
committerBen Hutchings <bhutchings@solarflare.com>2012-12-01 06:37:27 +0400
commit525d9e824018cd7cc8d8d44832ddcd363abfe6e1 (patch)
treecedb42187455981ebd1cb05a9bba0a836b5a94eb /drivers/net/ethernet/sfc/selftest.c
parent876be083b669c43203c0ee8709d749896e1d8d60 (diff)
downloadlinux-525d9e824018cd7cc8d8d44832ddcd363abfe6e1.tar.xz
sfc: Work-around flush timeout when flushes have completed
We sometimes hit a "failed to flush" timeout on some TX queues, but the flushes have completed and the flush completion events seem to go missing. In this case, we can check the TX_DESC_PTR_TBL register and drain the queues if the flushes had finished. [bwh: Minor fixes to coding style] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/selftest.c')
0 files changed, 0 insertions, 0 deletions