diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-04-05 13:52:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-08 13:53:20 +0300 |
commit | 3188309c8ceb0611d0a6e9d1aca8464099695b8c (patch) | |
tree | e9596ac903dadb8595ad23bc0d3a3a4819a134ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 29aa32fee7d0fdc71221158719137c1f4f5de3b4 (diff) | |
download | linux-3188309c8ceb0611d0a6e9d1aca8464099695b8c.tar.xz |
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 <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions