diff options
author | Jacob Keller <[email protected]> | 2023-02-22 09:09:17 -0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-03-13 11:06:06 -0700 |
commit | afc24d6584fbd246d98c0feb464b94da67661e3e (patch) | |
tree | 574d8f949e0f63589786b07779f82de5f876a991 /tools/perf/scripts/python/task-analyzer.py | |
parent | 3f22fc3131b814f0d5d1ce6d94fb8239e6df1754 (diff) |
ice: pass mbxdata to ice_is_malicious_vf()
The ice_is_malicious_vf() function takes information about the current
state of the mailbox during a single interrupt. This information includes
the number of messages processed so far, as well as the number of pending
messages not yet processed.
A future refactor is going to make ice_vc_process_vf_msg() call
ice_is_malicious_vf() instead of having it called separately in ice_main.c
This change will require passing all the necessary arguments into
ice_vc_process_vf_msg().
To make this simpler, have the main loop fill in the struct ice_mbx_data
and pass that rather than passing in the num_msg_proc and num_msg_pending.
Signed-off-by: Jacob Keller <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Tested-by: Marek Szlosek <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions