mirror_ubuntu-kernels/tools/testing/selftests/net/mptcp
Geliang Tang 2ba18161d4 selftests: mptcp: add MP_FAIL reset testcase
Add the multiple subflows test case for MP_FAIL, to test the MP_FAIL
reset case. Use the test_linkfail value to make 1024KB test files.

Invoke reset_with_fail() to use 'iptables' and 'tc action pedit' rules
to produce the bit flips to trigger the checksum failures on ns2eth2.
Add delays on ns2eth1 to make sure more data can translate on ns2eth2.

The check_invert flag is enabled in reset_with_fail(), so this test
prints out the inverted bytes, instead of the file mismatch errors.

Invoke pedit_action_pkts() to get the numbers of the packets edited
by the tc pedit actions, and print this numbers to the output.

Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
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>
2022-05-19 20:05:07 -07:00
..
.gitignore selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
config selftests: mptcp: add infinite map testcase 2022-04-27 10:45:53 +01:00
diag.sh selftests/mptcp: add diag listen tests 2022-04-11 11:55:54 +01:00
Makefile selftests: mptcp: Add the uapi headers include variable 2022-02-23 17:20:59 -07:00
mptcp_connect.c selftests: mptcp: add disconnect tests 2022-01-07 11:27:07 +00:00
mptcp_connect.sh Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-03 11:55:12 -08:00
mptcp_inq.c selftests: mptcp: remove duplicate include in mptcp_inq.c 2021-12-10 11:00:32 -08:00
mptcp_join.sh selftests: mptcp: add MP_FAIL reset testcase 2022-05-19 20:05:07 -07:00
mptcp_sockopt.c selftests: mptcp: check IP_TOS in/out are the same 2021-12-07 11:36:30 -08:00
mptcp_sockopt.sh selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
pm_netlink.sh selftests: mptcp: add set_flags tests in pm_netlink.sh 2022-02-04 20:30:24 -08:00
pm_nl_ctl.c selftests: mptcp: create listeners to receive MPJs 2022-05-04 10:49:32 +01:00
settings selftests: mptcp: increase timeout to 20 minutes 2022-02-17 19:59:58 -08:00
simult_flows.sh selftests: mptcp: more stable simult_flows tests 2021-11-01 13:19:49 +00:00
userspace_pm.sh selftests: mptcp: functional tests for the userspace PM type 2022-05-04 10:49:32 +01:00