[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250630194312.1571410-1-willemdebruijn.kernel@gmail.com>
Date: Mon, 30 Jun 2025 15:42:10 -0400
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net,
kuba@...nel.org,
edumazet@...gle.com,
pabeni@...hat.com,
horms@...nel.org,
Willem de Bruijn <willemb@...gle.com>
Subject: [PATCH net-next 0/2] preserve MSG_ZEROCOPY with forwarding
From: Willem de Bruijn <willemb@...gle.com>
Avoid false positive copying of zerocopy skb frags when entering the
ingress path if the skb is not queued locally but forwarded.
Patch 1 for more details and feature.
Patch 2 converts the existing selftest to a pass/fail test and adds
coverage for this new feature.
Willem de Bruijn (2):
net: preserve MSG_ZEROCOPY with forwarding
selftest: net: extend msg_zerocopy test with forwarding
net/core/dev.c | 2 -
net/ipv4/ip_input.c | 6 ++
net/ipv6/ip6_input.c | 7 ++
tools/testing/selftests/net/msg_zerocopy.c | 24 +++---
tools/testing/selftests/net/msg_zerocopy.sh | 84 +++++++++++++++------
5 files changed, 90 insertions(+), 33 deletions(-)
--
2.50.0.727.gbf7dc18ff4-goog
Powered by blists - more mailing lists