diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-03-04 22:36:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-05 08:54:31 +0300 |
commit | 26516e10c4335286df1cac9f8c874e08750054d2 (patch) | |
tree | 324e211ed29b86bccfbad9cf2a92fbfd261248a6 /tools/perf/scripts/python/syscall-counts.py | |
parent | 8117dac3e7c31b2bf4e7d24d53b5e63625871e15 (diff) | |
download | linux-26516e10c4335286df1cac9f8c874e08750054d2.tar.xz |
selftests: mptcp: add more arguments for chk_join_nr
This patch added five more arguments for chk_join_nr(). The default
values of them are all zero.
The first two, csum_ns1 and csum_ns1, are passed to chk_csum_nr(), to
check the mib counters of the checksum errors in ns1 and ns2. A '+'
can be added into this two arguments to represent that multiple
checksum errors are allowed when doing this check. For example,
chk_csum_nr "" +2 +2
indicates that two or more checksum errors are allowed in both ns1 and
ns2.
The remaining two, fail_nr and rst_nr, are passed to chk_fail_nr() and
chk_rst_nr() respectively, to check the sending and receiving mib
counters of MP_FAIL and MP_RST.
Also did some cleanups in chk_fail_nr(), renamed two local variables
and updated the output message.
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions