diff options
| author | Geliang Tang <[email protected]> | 2024-04-05 12:52:08 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-04-08 11:53:20 +0100 |
| commit | 3188309c8ceb0611d0a6e9d1aca8464099695b8c (patch) | |
| tree | e9596ac903dadb8595ad23bc0d3a3a4819a134ce /tools/perf/scripts/python/sched-migration.py | |
| parent | 29aa32fee7d0fdc71221158719137c1f4f5de3b4 (diff) | |
selftests: mptcp: netlink: add 'limits' helpers
The output format of 'ip mptcp limits' command is much different from
that of 'pm_nl_ctl limits' command.
This patch adds format_limits() helper to format the outputs of these
two commands to hide the difference. get_limits() has been added to show
the limits.
Use these two helpers in pm_netlink.sh to replace all 'pm_nl_ctl limits'
commands and outputs.
Signed-off-by: Geliang Tang <[email protected]>
Reviewed-by: Matthieu Baerts (NGI0) <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions