Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2003 18:32:31 -0400
From:      Bosko Milekic <bmilekic@technokratis.com>
To:        "George V. Neville-Neil" <gnn@neville-neil.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Zero Copy Sockets?
Message-ID:  <20030622223231.GA72909@technokratis.com>
In-Reply-To: <877k7drj3h.wl@jchurch.neville-neil.com.neville-neil.com>
References:  <877k7drj3h.wl@jchurch.neville-neil.com.neville-neil.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@technokratis.com  *  bmilekic@FreeBSD.org
TECHNOkRATIS Consulting Services  *  http://www.technokratis.com/



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