All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Geliang Tang" <geliang@kernel.org>, mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-next v9 7/7] selftests: mptcp: cover msg_zerocopy test
Date: Wed, 25 Nov 2026 07:34:11 +0000	[thread overview]
Message-ID: <sashiko-outbox-232814@kernel.org> (raw)
In-Reply-To: <3bd50e8f16d828fd027f3c0c8ce0df829401a362.1795591278.git.tanggeliang@kylinos.cn>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] selftests: mptcp: missing CONFIG_DUMMY in config for
  msg_zerocopy.sh
--

commit 5b3ee281d765d4c4bfa0409eafb89f384c870ea5
Author: Geliang Tang <geliang@kernel.org>

selftests: mptcp: cover msg_zerocopy test

This commit adds the msg_zerocopy test to the MPTCP selftest suite by
symlinking ../msg_zerocopy.sh and building msg_zerocopy from
../msg_zerocopy.c.

> diff --git a/tools/testing/selftests/net/mptcp/Makefile b/tools/testing/selftests/net/mptcp/Makefile
> index 22ba0da2adb85..17d0d1051165c 100644
> --- a/tools/testing/selftests/net/mptcp/Makefile
> +++ b/tools/testing/selftests/net/mptcp/Makefile
> @@ -14,6 +14,7 @@ TEST_PROGS := \
>  	mptcp_connect_splice.sh \
>  	mptcp_join.sh \
>  	mptcp_sockopt.sh \
> +	msg_zerocopy.sh \
>  	pm_netlink.sh \
>  	simult_flows.sh \
>  	userspace_pm.sh \

[Severity: Medium]
Does tools/testing/selftests/net/mptcp/config also need CONFIG_DUMMY=y?

msg_zerocopy.sh runs under set -e and unconditionally creates a dummy
network device with "ip link add ... type dummy" for every subtest.
Unlike tools/testing/selftests/net/config, the mptcp config only enables
CONFIG_VETH=y and omits CONFIG_DUMMY, so running the mptcp selftests on a
kernel built from tools/testing/selftests/net/mptcp/config will fail when
msg_zerocopy.sh tries to create dummy0.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1795591278.git.tanggeliang@kylinos.cn?part=7

  reply	other threads:[~2026-11-25  7:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  7:22 [PATCH mptcp-next v9 0/7] mptcp: add MSG_ZEROCOPY support Geliang Tang
2026-11-25  7:22 ` [PATCH mptcp-next v9 1/7] mptcp: use local variable tp in sendmsg_frag Geliang Tang
2026-11-26 20:44   ` netdev-bot+sashiko
2026-11-25  7:23 ` [PATCH mptcp-next v9 2/7] mptcp: remove redundant orig_offset in carve_data_frag Geliang Tang
2026-11-26 20:44   ` netdev-bot+sashiko
2026-11-25  7:23 ` [PATCH mptcp-next v9 3/7] mptcp: add MSG_ZEROCOPY support Geliang Tang
2026-11-25  7:52   ` sashiko-bot
2026-11-26 20:44   ` netdev-bot+sashiko
2026-11-25  7:23 ` [PATCH mptcp-next v9 4/7] mptcp: handle SO_ZEROCOPY in setsockopt Geliang Tang
2026-11-25  7:44   ` sashiko-bot
2026-11-26 20:44   ` netdev-bot+sashiko
2026-11-25  7:23 ` [PATCH mptcp-next v9 5/7] Documentation: msg_zerocopy: add MPTCP support Geliang Tang
2026-11-26 20:44   ` netdev-bot+sashiko
2026-11-25  7:23 ` [PATCH mptcp-next v9 6/7] selftests: net: " Geliang Tang
2026-11-26 20:44   ` netdev-bot+sashiko
2026-11-25  7:23 ` [PATCH mptcp-next v9 7/7] selftests: mptcp: cover msg_zerocopy test Geliang Tang
2026-11-25  7:34   ` sashiko-bot [this message]
2026-11-26 20:44   ` netdev-bot+sashiko
2026-11-25  9:39 ` [PATCH mptcp-next v9 0/7] mptcp: add MSG_ZEROCOPY support MPTCP CI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-232814@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=geliang@kernel.org \
    --cc=mptcp@lists.linux.dev \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.