diff options
| author | Alexander Duyck <[email protected]> | 2015-11-10 09:40:30 -0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2015-12-22 04:50:11 -0800 |
| commit | 09f8a82b6abbff279f41ac2892707d3f0f32d00c (patch) | |
| tree | a2b966423be1f8dcf99d6f41aefe19c048ac74c2 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 8c2a029c7eff14510fed04cef2848c6d21ed92dd (diff) | |
fm10k: Cleanup exception handling for changing queues
This patch is meant to cleanup the exception handling for the paths where
we reset the interrupts and then reconfigure them. In all of these paths
we had very different levels of exception handling. I have updated the
driver so that all of the paths should result in a similar state if we
fail.
Specifically the driver will now unload the mailbox interrupt, free the
queue vectors and MSI-X, and then detach the interface.
In addition for any of the PCIe related resets I have added a check with
the hw_ready function to just make sure the registers are in a readable
state prior to reopening the interface.
Signed-off-by: Alexander Duyck <[email protected]>
Reviewed-by: Bruce Allan <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions