diff options
author | Jacob Keller <[email protected]> | 2016-06-23 13:54:01 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-08-29 01:31:03 -0700 |
commit | 5f45c83024c49f71e50cf8156b165f11d2ab35a9 (patch) | |
tree | 0a1479457310669dc920f2b1200ade41d8250e11 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 18095937cb1c66b8ff944de02cf04d1497008352 (diff) |
fm10k: don't try to stop queues if we've lost hw_addr
In the event of a surprise remove, we expect the driver to go down,
which includes calling .stop_hw(). However, this function will return an
error because the queues won't appear to cleanly disable. Prevent this
and avoid the unnecessary checks by just returning when
FM10K_REMOVED(hw->hw_addr) is true.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions