]> asedeno.scripts.mit.edu Git - linux.git/commit
doc: document MSG_ZEROCOPY
authorWillem de Bruijn <willemb@google.com>
Fri, 1 Sep 2017 16:01:41 +0000 (12:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 17:39:35 +0000 (10:39 -0700)
commitcc8889ae8298ebfc6bbf52ad98fe3b5afdf4ae70
treeecc15bc075f9f8a534274f240f9823fb97d13f7f
parent9df59055ed8e2f817149e786b2a52bc17832d84e
doc: document MSG_ZEROCOPY

Documentation for this feature was missing from the patchset.
Copied a lot from the netdev 2.1 paper, addressing some small
interface changes since then.

Changes
  v1 -> v2
    - change email discussion URL format
    - clarify that u32 counter is per-syscall, unsigned and
      wraps after UINT_MAX calls
    - describe errno on send failure specific to MSG_ZEROCOPY
    - a few very minor rewordings

Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/msg_zerocopy.rst [new file with mode: 0644]