Skip to content

Commit

Permalink
docs: add introducing design target for memory_model_nic
Browse files Browse the repository at this point in the history
Describe the overall design target for creating a new Memory Model for Networking.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
  • Loading branch information
netoptimizer committed Dec 5, 2016
1 parent 831f7fe commit 47fa7c8
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion kernel/Documentation/vm/page_pool/design/memory_model_nic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,27 @@
Memory Model for Networking
===========================

This describes how the page_pool change the memory model for
This design describes how the page_pool change the memory model for
networking in the NIC (Network Interface Card) drivers.

.. Note:: The catch for driver developers is that, once an application
request zero-copy RX, then the driver must use a specific
SKB allocation mode and might have to reconfigure the
RX-ring.


Design target
=============

Allow the NIC to function as a normal Linux NIC and be shared in a
safe manor, between the kernel network stack and an accelerated
userspace application using RX zero-copy delivery.

Target is to provide the basis for building RX zero-copy solutions in
a memory safe manor. An efficient communication channel for userspace
delivery is out of scope for this document, but OOM considerations are
discussed below (`Userspace delivery and OOM`_).

Background
==========

Expand Down

0 comments on commit 47fa7c8

Please sign in to comment.