From: Daniel Borkmann <dborkman@redhat.com>
To: ratheesh kannoth <ratheesh.ksz@gmail.com>
Cc: netdev@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: zero copy with PACKET_MMAP
Date: Thu, 27 Feb 2014 10:58:30 +0100 [thread overview]
Message-ID: <530F0C46.5040208@redhat.com> (raw)
In-Reply-To: <CAGZFCEF0RB2eHOfgVCyjVDEc4S+jHsdJ+-iQdbC3zek7G5Ahcg@mail.gmail.com>
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.
prev parent reply other threads:[~2014-02-27 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 6:40 zero copy with PACKET_MMAP ratheesh kannoth
2014-02-27 9:58 ` Daniel Borkmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=530F0C46.5040208@redhat.com \
--to=dborkman@redhat.com \
--cc=linux-net@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ratheesh.ksz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).