Re: Zero copy drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 12 May 2004 16:18:28 -0700
"shanthi kiran pendyala" <skiranp@cisco.com> wrote:

> Hi,
> 
> Could someone please point me to resources on how to write a zero-copy
> driver? Are there any reference implementation available in the public
> domain ?

What do you mean by a zero-copy driver.  Many of the better PCI devices
do DMA directly from/to the socket buffer. Doing zero-copy from the application
through the protocol is not a network driver issue. When doing sendfile() it is possible
to get less copies (not necessarily zero), and if/when network aio is done
that should have less copies.

-----------------------------------------------------
Anyway if I told you, I would have to patent it ;-) 
	(see http://kerneltrap.org/node/view/3085)
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux