mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-19 12:25:40 -05:00
selftests: mptcp: connect: cover splice mode
The "splice" alternate mode for mptcp_connect.sh/.c is available now, this patch adds mptcp_connect_splice.sh to test it in the MPTCP CI by default. Note that this mode is also supported by stable kernel versions, but optimised in this patch series. Suggested-by: Matthieu Baerts <matttbe@kernel.org> Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20260130-net-next-mptcp-splice-v2-6-31332ba70d7f@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
6a059c6bfb
commit
2f2dc84645
@@ -11,6 +11,7 @@ TEST_PROGS := \
|
||||
mptcp_connect_checksum.sh \
|
||||
mptcp_connect_mmap.sh \
|
||||
mptcp_connect_sendfile.sh \
|
||||
mptcp_connect_splice.sh \
|
||||
mptcp_join.sh \
|
||||
mptcp_sockopt.sh \
|
||||
pm_netlink.sh \
|
||||
|
||||
5
tools/testing/selftests/net/mptcp/mptcp_connect_splice.sh
Executable file
5
tools/testing/selftests/net/mptcp/mptcp_connect_splice.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \
|
||||
"$(dirname "${0}")/mptcp_connect.sh" -m splice "${@}"
|
||||
Reference in New Issue
Block a user