Skip to content

add io thread mode tests

Geliang Tang mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftests: mptcp: add cfg_timeo for mptcp_connecttools/testing/selftests/net/mptcp/mptcp_connect.c+32 -11 reply
2/4selftests: mptcp: add io thread mode for mptcp_connecttools/testing/selftests/net/mptcp/mptcp_connect.c+105 -01 reply
3/4selftests: mptcp: enable io thread modetools/testing/selftests/net/mptcp/mptcp_connect.c+21 -41 reply
4/4selftests: mptcp: join: add io thread teststools/testing/selftests/net/mptcp/mptcp_join.sh+19 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH mptcp-next 0/4] add io thread mode tests

From: Geliang Tang <[email protected]>

Related to #487 (send() fails with EAGAIN in blocking IO mode). In the comment of this issue, I added a test named mptcp_eagain_reproducer.c to reproduce these EAGAIN errors. It uses the same thread mode to send and receive data as MPTCP sched BPF selftests (in network_helpers.c).

It looks like this type of data transfer is not covered by MPTCP selftests, so this patchset adds them. The code is all from mptcp_eagain_reproducer.c, just added into mptcp_connect and mptcp_join.

It is helpful to reproduce and solve #487 issue, and can also provide MPTCP stability testing in the future.

Geliang Tang (4):
selftests: mptcp: add cfg_timeo for mptcp_connect
selftests: mptcp: add io thread mode for mptcp_connect
selftests: mptcp: enable io thread mode
selftests: mptcp: join: add io thread tests

 .../selftests/net/mptcp/mptcp_connect.c       | 163 +++++++++++++++++-
 .../testing/selftests/net/mptcp/mptcp_join.sh |  19 ++
 2 files changed, 177 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0