aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2020-12-11 16:05:01 +0200
committerSaeed Mahameed <[email protected]>2021-01-26 15:39:01 -0800
commit8355060f5ec381abda77659f91f56302203df535 (patch)
tree57cec9897cb9d9a28fcc43e872764608e8ff12d1 /tools/perf/util/scripting-engines/trace-event-python.c
parent912c9b5fcca1ab65b806c19dd3b3cb12d73c6fe2 (diff)
net/mlx5e: Revert parameters on errors when changing MTU and LRO state without reset
Sometimes, channel params are changed without recreating the channels. It happens in two basic cases: when the channels are closed, and when the parameter being changed doesn't affect how channels are configured. Such changes invoke a hardware command that might fail. The whole operation should be reverted in such cases, but the code that restores the parameters' values in the driver was missing. This commit adds this handling. Fixes: 2e20a151205b ("net/mlx5e: Fail safe mtu and lro setting") Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions