On Fri, 29 Nov 2024 17:49:46 -0500 Jon Maloy <jmaloy(a)redhat.com> wrote:During testing it is sometimes useful to force traffic which would normally be forwared by socket splicing through the tap interface. In this commit, we add a command switch enabling such funtionality for inbound local traffic. For outbound local traffic this is much trickier, if even possible, so leave that for a later commit. Suggested-by: David Gibson <david(a)gibson.dropbear.id.au> Signed-off-by: Jon Maloy <jmaloy(a)redhat.com> --- v2: Some minor changes based on feedback from PASST team --- conf.c | 5 +++++ fwd.c | 2 +- passt.h | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/conf.c b/conf.c index 5107549..fe6fa04 100644 --- a/conf.c +++ b/conf.c @@ -846,6 +846,7 @@ static void usage(const char *name, FILE *f, int status) " --no-ndp Disable NDP responses\n" " --no-dhcpv6 Disable DHCPv6 server\n" " --no-ra Disable router advertisements\n" + " --no-splice Disable inbound socket splicing\n"I think this really needs an update to the man page as David mentioned. We don't have any undocumented option (as far as I know!) and I don't think it would be a particularly good idea to start now... -- Stefano