aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2018-09-20 09:21:35 +0300
committerDavid S. Miller <[email protected]>2018-09-20 07:46:02 -0700
commita381ed12ea33888a08f0e3e5ba22a255fa5f7257 (patch)
treea3bbf66a9ce35329bdc0ae0e9f7f239370dae34b /tools/perf/scripts/python/powerpc-hcalls.py
parent3136a3698804f55a26f68e8c897d7ccf254923ad (diff)
selftests: forwarding: lib: Add mtu_set(), mtu_restore()
Some selftests need to tweak MTU of an interface, and naturally should at teardown restore the MTU back to the original value. Add two functions to facilitate this MTU handling: mtu_set() to change MTU value, and mtu_reset() to change it back to what it was before. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions