diff options
| author | Edwin Peer <[email protected]> | 2021-08-29 03:35:00 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-30 09:35:04 +0100 |
| commit | 02b9aa1068682319508f9a1678e993ad958a8a4f (patch) | |
| tree | 2ae4109956e2c44b382dbc21199166e550e234e5 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f9ff578251dc2f1cf5b9b007e050033d8414829d (diff) | |
bnxt_en: discard out of sequence HWRM responses
During firmware crash recovery, it is possible for firmware to respond
to stale HWRM commands that have already timed out. Because response
buffers may be reused, any out of sequence responses need to be ignored
and only the matching seq_id should be accepted.
Also, READ_ONCE should be used for the reads from the DMA buffer to
ensure that the necessary loads are scheduled.
Reviewed-by: Scott Branden <[email protected]>
Signed-off-by: Edwin Peer <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions