commit | 525d9e824018cd7cc8d8d44832ddcd363abfe6e1 | [log] [tgz] |
---|---|---|
author | Daniel Pieczko <dpieczko@solarflare.com> | Tue Oct 02 13:36:18 2012 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Sat Dec 01 02:37:27 2012 +0000 |
tree | cedb42187455981ebd1cb05a9bba0a836b5a94eb | |
parent | 876be083b669c43203c0ee8709d749896e1d8d60 [diff] |
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>