Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2000 22:21:19 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        net@FreeBSD.ORG
Subject:   new zero copy sockets and NFS snapshot
Message-ID:  <20000905222119.A97109@panzer.kdm.org>

next in thread | raw e-mail | index | archive | help
[ -arch and -current BCC'ed for wider coverage, please direct followups to
-net and/or me ]

I have put a new copy of the zero copy sockets and NFS patches, against
-current as of early September 5th, 2000, here:

http://people.FreeBSD.ORG/~ken/zero_copy/

Questions, comments and feedback are welcome.

Besides being generated against a newer version of -current, the following
things have changed in the new patches posted above:

 - Merged in the new mbuf reference counting code from -current.

 - Fixed a bug in writev(2) and sendmsg(2) handling noticed by Alan Cox.
   We weren't incrementing the iov pointer in the uio structure, like
   uiomove() does.

 - Fixed another bug in the zero copy code, noticed by Alan Cox.  Move
   the initialization of the cow_send in sosend() (in uipc_socket.c) into
   the inner while loop.

For those of you who missed the previous messages about this code (that went
out to -net, -arch and -current), here's a quick list of what is included
in the code:

 - Two sets of zero copy send code, written by Drew Gallatin
   <gallatin@FreeBSD.ORG> and Robert Picco <picco@wevinc.com>.

 - Zero copy receive code, written by Drew Gallatin.

 - Zero copy NFS code, written by Drew Gallatin.

 - Header splitting firmware for Alteon's Tigon II boards (written by me),
   based on version 12.4.11 of their firmware.  This is used in combination
   with the zero copy receive code to guarantee that the payload of TCP or
   UDP packet is placed into a page-aligned buffer.

 - Alteon firmware debugging ioctls and supporting routines for the Tigon
   driver (also written by me).  This will help anyone who is doing
   firmware development under FreeBSD for the Tigon boards.

The Alteon header splitting and debugging code was written for Pluto
Technologies (www.plutotech.com), which has kindly agreed to let me release
the code.

Ken
-- 
Kenneth Merry
ken@kdm.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000905222119.A97109>