diff options
author | Vasundhara Volam <[email protected]> | 2020-03-22 16:40:05 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-23 21:42:48 -0700 |
commit | 5d765a5e4bd7c368e564e11402bba74cf7f03ac1 (patch) | |
tree | 68577815d53900c84b58607c2f608db8d0991e08 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 62bfb932a51f6d08eb409248e69f8d6428c2cabd (diff) |
bnxt_en: Reset rings if ring reservation fails during open()
If ring counts are not reset when ring reservation fails,
bnxt_init_dflt_ring_mode() will not be called again to reinitialise
IRQs when open() is called and results in system crash as napi will
also be not initialised. This patch fixes it by resetting the ring
counts.
Fixes: 47558acd56a7 ("bnxt_en: Reserve rings at driver open if none was reserved at probe time.")
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions