From: netdev-bot+sashiko@kernel.org
To: geliang@kernel.org
Cc: mptcp@lists.linux.dev, kuba@kernel.org
Subject: Re: [PATCH mptcp-next v9 5/7] Documentation: msg_zerocopy: add MPTCP support
Date: Thu, 26 Nov 2026 20:44:03 +0000 [thread overview]
Message-ID: <179572584387.3133.12939272108333770181@kernel.org> (raw)
In-Reply-To: <f3aa500269ed8fd0a8c219cf245e93682370ca1c.1795591278.git.tanggeliang@kylinos.cn>
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] Commit "Documentation: msg_zerocopy: add MPTCP support" adds
MPTCP to the protocol list in the Intro of…
--
Documentation: msg_zerocopy: add MPTCP support
This commit adds MPTCP to the list of protocols that support
MSG_ZEROCOPY in the Intro section of
Documentation/networking/msg_zerocopy.rst.
> diff --git a/Documentation/networking/msg_zerocopy.rst b/Documentation/networking/msg_zerocopy.rst
> index 78fb70e748b77..0b91beb2f5bea 100644
> --- a/Documentation/networking/msg_zerocopy.rst
> +++ b/Documentation/networking/msg_zerocopy.rst
> @@ -7,8 +7,8 @@ Intro
> =====
>
> The MSG_ZEROCOPY flag enables copy avoidance for socket send calls.
> -The feature is currently implemented for TCP, UDP and VSOCK (with
> -virtio transport) sockets.
> +The feature is currently implemented for TCP, MPTCP, UDP and VSOCK
> +(with virtio transport) sockets.
[Severity: Low]
Should the protocol-specific sections later in msg_zerocopy.rst also
mention MPTCP? After this change they still only name TCP/UDP and VSOCK.
The Notification Parsing section says:
The level and type fields in the control data are protocol family
specific, IP_RECVERR or IPV6_RECVERR (for TCP or UDP socket).
For VSOCK socket, cmsg_level will be SOL_VSOCK and cmsg_type will be
VSOCK_RECVERR.
MPTCP error queue reads go through inet_recv_error():
net/mptcp/protocol.c:mptcp_recvmsg() {
...
if (unlikely(flags & MSG_ERRQUEUE))
return inet_recv_error(sk, msg, len);
...
}
So MPTCP sockets also get IP_RECVERR/IPV6_RECVERR. The text doesn't say
so.
The Implementation/Loopback section has the same gap:
For TCP and UDP:
Data sent to local sockets can be queued indefinitely if the receive
process does not read its socket. ...
For VSOCK:
Data path sent to local sockets is the same as for non-local sockets.
MPTCP subflows are TCP, so the TCP deferred copy behaviour should
apply. The document doesn't say that MPTCP is covered there either.
Later patches in this series don't change msg_zerocopy.rst again.
Could these two sections be updated to include MPTCP alongside TCP?
>
>
> Opportunity and Caveats
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/cover.1795591278.git.tanggeliang%40kylinos.cn
next prev parent reply other threads:[~2026-11-26 20:44 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 [this message]
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
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=179572584387.3133.12939272108333770181@kernel.org \
--to=netdev-bot+sashiko@kernel.org \
--cc=geliang@kernel.org \
--cc=kuba@kernel.org \
--cc=mptcp@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.