numam-dpdk/examples
Bruce Richardson 06371afe39 examples/netmap_compat: import netmap compatibility example
This provides a sample application and library showing how to use the
Intel(R) DPDK with basic netmap applications.

The Netmap compatibility library provides a minimal set of APIs to give the ability to
programs written against the Netmap APIs to be run with minimal changes to their
source code, using the Intel® DPDK to perform the actual packet I/O.
Since Netmap applications use regular system calls, like open(), ioctl() and
mmap() to communicate with the Netmap kernel module performing the packet I/O,
the compat_netmap library provides a set of similar APIs to use in place of those
system calls, effectively turning a Netmap application into a Intel(R) DPDK one.
The provided library is currently minimal and doesn’t support all the features that
Netmap supports, but is enough to run simple applications, such as the
bridge example included.

The application requires a single command line option:
 -i INTERFACE is the number of a valid Intel(R) DPDK port to use.
If a single -i parameter is given, the interface will send back all the traffic it
receives. If two -i parameters are given, the two interfaces form a bridge, where
traffic received on one interface is replicated and sent by the other interface.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2014-02-26 10:47:59 +01:00
..
cmdline mk: compilation fixes 2014-02-25 21:29:18 +01:00
dpdk_qat examples/dpdk-qat: various updates 2014-02-26 10:47:59 +01:00
exception_path update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
helloworld update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
ip_reassembly examples: minor changes 2014-02-26 10:47:59 +01:00
ipv4_frag update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
ipv4_multicast update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
kni examples: minor changes 2014-02-26 10:47:59 +01:00
l2fwd examples: minor changes 2014-02-26 10:47:59 +01:00
l2fwd-ivshmem examples/l2fwd-ivshmem: import sample application 2014-02-26 10:47:59 +01:00
l3fwd examples: minor changes 2014-02-26 10:47:59 +01:00
l3fwd-power examples: minor changes 2014-02-26 10:47:59 +01:00
l3fwd-vf examples: minor changes 2014-02-26 10:47:59 +01:00
link_status_interrupt update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
load_balancer examples: minor changes 2014-02-26 10:47:59 +01:00
multi_process examples: minor changes 2014-02-26 10:47:59 +01:00
netmap_compat examples/netmap_compat: import netmap compatibility example 2014-02-26 10:47:59 +01:00
qos_meter examples: minor changes 2014-02-26 10:47:59 +01:00
qos_sched mk: compilation fixes 2014-02-25 21:29:18 +01:00
quota_watermark examples: minor changes 2014-02-26 10:47:59 +01:00
timer update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
vhost examples/vhost: import userspace vhost application 2014-02-26 10:47:59 +01:00
vhost_xen xen: import xenvirt pmd and vhost_xen 2014-02-25 21:29:19 +01:00
vmdq examples: minor changes 2014-02-26 10:47:59 +01:00
vmdq_dcb update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00