diff options
| author | Michael Chan <[email protected]> | 2021-01-25 02:08:17 -0500 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-25 19:20:04 -0800 |
| commit | e340a5c4fbdde20fec8c16b83bce386aaad6b6eb (patch) | |
| tree | e5e6c350e9521aa76e0155f0e410cfe29dbeecb2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 339eeb4bd9e477141280e46ea9433f3a10b54699 (diff) | |
bnxt_en: Add a new BNXT_STATE_NAPI_DISABLED flag to keep track of NAPI state.
Up until now, we don't need to keep track of this state because NAPI
is always enabled once and disabled once during bring up and shutdown.
For better error recovery in subsequent patches, we want to quiesce
the device earlier during fatal error conditions. The normal shutdown
sequence will disable NAPI again and the flag will prevent disabling
NAPI twice.
Reviewed-by: Pavan Chebbi <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Reviewed-by: Edwin Peer <[email protected]>
Reviewed-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions