Re: zero copy with PACKET_MMAP
Daniel Borkmann <[email protected]> Thu, 27 Feb 2014 10:58:30 +0100
| Newsgroups | gmane.linux.network,gmane.linux.network.general |
|---|---|
| Message-ID | <[email protected]> |
On 02/27/2014 07:40 AM, ratheesh kannoth wrote: ... > https://www.kernel.org/doc/Documentation/networking/packet_mmap.txt > talks about achieving zero copy. But i find a deep packet copy ( of > length snaplen= skb->len ) here > http://lxr.free-electrons.com/source/net/packet/af_packet.c#L1841. > > Is there anything missing/wrong in my understanding ? The zero-copy is between user and kernel space.