diff options
author | Daniel Pieczko <dpieczko@solarflare.com> | 2012-10-02 16:36:18 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-12-01 06:37:27 +0400 |
commit | 525d9e824018cd7cc8d8d44832ddcd363abfe6e1 (patch) | |
tree | cedb42187455981ebd1cb05a9bba0a836b5a94eb /drivers/net/ethernet/sfc/selftest.c | |
parent | 876be083b669c43203c0ee8709d749896e1d8d60 (diff) | |
download | linux-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