diff options
| author | Dario Binacchi <[email protected]> | 2022-06-28 18:31:34 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2022-07-03 11:34:44 +0200 |
| commit | 4de0e8efa052b1f0b3dae9e7c1538163cad216e7 (patch) | |
| tree | c92b772e7fc77cc9498cceea7d28134a3f25e165 /tools/perf/scripts/python/flamegraph.py | |
| parent | 98b12064591d635db86da4957b547067dc6897cc (diff) | |
can: slcan: add ethtool support to reset adapter errors
This patch adds a private flag to the slcan driver to switch the
"err-rst-on-open" setting on and off.
"err-rst-on-open" on - Reset error states on opening command
"err-rst-on-open" off - Don't reset error states on opening command
(default)
The setting can only be changed if the interface is down:
ip link set dev can0 down
ethtool --set-priv-flags can0 err-rst-on-open {off|on}
ip link set dev can0 up
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions