zero copy with PACKET_MMAP

ratheesh kannoth <[email protected]> Thu, 27 Feb 2014 12:10:06 +0530
Newsgroups gmane.linux.network,gmane.linux.network.general
Message-ID <CAGZFCEF0RB2eHOfgVCyjVDEc4S+jHsdJ+-iQdbC3zek7G5Ahcg@mail.gmail.com>
Hi ,

The link

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 ?


Thanks,
Ratheesh