diff options
| author | Michael Chan <michael.chan@broadcom.com> | 2019-08-30 06:54:49 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-08-31 00:02:18 +0300 |
| commit | ba642ab773db97c32293547485f562d2dfc06666 (patch) | |
| tree | e4c07ccce286501154441832a9eec4f5972ea904 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5bedb5296e33e889818d77c8ec69040481fab157 (diff) | |
| download | linux-ba642ab773db97c32293547485f562d2dfc06666.tar.xz | |
bnxt_en: Prepare bnxt_init_one() to be called multiple times.
In preparation for the new firmware reset feature, some of the logic
in bnxt_init_one() and related functions will be called again after
firmware has reset. Reset some of the flags and capabilities so that
everything that can change can be re-initialized. Refactor some
functions to probe firmware versions and capabilities. Check some
buffers before allocating as they may have been allocated previously.
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
