[ -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
<[EMAIL PROTECTED]> and Robert Picco <[EMAIL PROTECTED]>.
- 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
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message