Fwd: zero copy with PACKET_MMAP

ratheesh kannoth ratheesh.ksz at gmail.com
Thu Feb 27 02:28:11 EST 2014


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



More information about the Kernelnewbies mailing list