Zero Copy Sockets?
Bosko Milekic
bmilekic at technokratis.com
Sun Jun 22 15:32:35 PDT 2003
On Sun, Jun 22, 2003 at 12:46:26PM -0700, George V. Neville-Neil wrote:
> Hi,
>
> I'm reading over the internals of the network stack in
> -CURRENT and I'm wondering if the Zero Copy stuff is actually
> in use yet.
>
> Thanks,
> George
Yes. But your driver needs to support it. Currently, the only driver
that does is if_ti in src/sys/pci/if_ti*.[ch]
sendfile(2) is also zero-copy for the most part (for the file part).
That's been in use for a long time. src/sys/kern/uipc_syscalls.c
Regards,
--
Bosko Milekic * bmilekic at technokratis.com * bmilekic at FreeBSD.org
TECHNOkRATIS Consulting Services * http://www.technokratis.com/
More information about the freebsd-net
mailing list