From owner-cvs-all@FreeBSD.ORG Thu Jul 3 08:09:43 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BECF8106566C; Thu, 3 Jul 2008 08:09:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2E98FC14; Thu, 3 Jul 2008 08:09:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id E497046B03; Thu, 3 Jul 2008 04:09:42 -0400 (EDT) Date: Thu, 3 Jul 2008 09:09:42 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Bjoern A. Zeeb" In-Reply-To: <20080703074940.M57089@maildrop.int.zabbadoz.net> Message-ID: <20080703090831.H69986@fledge.watson.org> References: <200807022324.m62NOr92019713@repoman.freebsd.org> <20080703074940.M57089@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet udp_usrreq.c src/sys/sys socketvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 08:09:43 -0000 On Thu, 3 Jul 2008, Bjoern A. Zeeb wrote: >> Add soreceive_dgram(9), an optimized socket receive function for use by >> datagram-only protocols, such as UDP. This version removes use of >> sblock(), which is not required due to an inability to interlace data >> improperly with datagrams, as well as avoiding some of the larger loops >> and state management that don't apply on datagram sockets. >> >> This is experimental code, so hook it up only for UDPv4 for testing; if > > Out of curiosity could one hook it up for v6 as well or is there code > missing (haven't read the diff yet). There might be people who would want to > test experimental v6 paths as well if possible... I've hooked up soreceive_dgram() only for UDPv4, but Paul Saab has volunteered to do UDPv6 testing. Asuming that goes well, I'll hook up UDPv6 sometime soon also. As far as I know, no code is missing -- in principle, soreceive_dgram() could also be used for IP raw sockets, Appletalk, IPX, etc, as well. Robert N M Watson Computer Laboratory University of Cambridge