add io thread mode tests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | selftests: mptcp: add cfg_timeo for mptcp_connecttools/ | +32 | 1 reply | |
| 2/4 | selftests: mptcp: add io thread mode for mptcp_connecttools/ | +105 | 1 reply | |
| 3/4 | selftests: mptcp: enable io thread modetools/ | +21 | 1 reply | |
| 4/4 | selftests: mptcp: join: add io thread teststools/ | +19 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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