diff options
author | Marcin Szycik <[email protected]> | 2024-04-04 16:04:51 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-04-17 08:57:21 -0700 |
commit | cc2a9d6c03b804c301447326aff4cf2359867f9c (patch) | |
tree | b8a2e8a079d61c6943ece106950ae3a31f41da9d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2bd99aef1b19e6da09eff692bc0a09d61d785782 (diff) |
ice: Add automatic VF reset on Tx MDD events
In cases when VF sends malformed packets that are classified as malicious,
it can cause Tx queue to freeze as a result of Malicious Driver Detection
event. Such malformed packets can appear as a result of a faulty userspace
app running on VF. This frozen queue can be stuck for several minutes being
unusable.
User might prefer to immediately bring the VF back to operational state
after such event, which can be done by automatically resetting the VF which
caused MDD. This is already implemented for Rx events (mdd-auto-reset-vf
flag private flag needs to be set).
Extend the VF auto reset to also cover Tx MDD events. When any MDD event
occurs on VF (Tx or Rx) and the mdd-auto-reset-vf private flag is set,
perform a graceful VF reset to quickly bring it back to operational state.
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Przemek Kitszel <[email protected]>
Co-developed-by: Liang-Min Wang <[email protected]>
Signed-off-by: Liang-Min Wang <[email protected]>
Signed-off-by: Marcin Szycik <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions