Age | Commit message (Collapse) | Author |
|
The odp_generator example application has been made redundant by
odp_packet_gen application.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Remove unnecessary old example/test application. A similar test has been
added to time validation suite ('time_test_global_mt').
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
This example shows how to start and stop ODP CLI using the CLI helper
API functions.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Remove ipsec_offload application as it is mostly duplicate of
the ipsec_api application.
Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Rename ipsec application to ipsec_crypto to better distinguish it from
the ipsec api example.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
This application can be used to test various debug print
functions of ODP API. Debug functions to be called are
selected with command line options. E.g. -s option reserves
a SHM area and calls odp_shm_print() to print debug
information about it.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Make sure that all autoconf arguments defined by ODP use default value
description similar to built-in arguments. That is: [default=<value>].
Also make sure that all arguments use AS_HELP_STRING for uniform text
formatting.
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
This application replies to IPv4 ping requests. It can be
used to test connectivity with standard ping utility. ARP table
needs to be setup manually on the sender side as the application
does not reply to ARP requests.
Test uses pcap packet IO to send 100 ICMP echo requests and receive
the same number of echo replies. Pcap file sizes are compared to
check that all packets were received.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Add new simple pipeline example application. The application receives
packets from one interface and passes them through 0-N worker stages before
outputting them from a second network interface. The RX, worker, and TX
stages are connected using plain queues and each stage is run on a separate
CPU thread. Optionally, the worker stages calculate CRC-32C over packet
data.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Example applications are not always needed. Added a configuration
option to disable example application build and install. This
makes build faster and install footprint smaller.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Add new application that simply queries and prints out various
system information which is available through ODP APIs. This
can be useful e.g. when examining HW or ODP implementation
capabilities, when debugging other ODP applications, etc.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Adapt old (crypto-only) IPsec example to use IPsec API.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
[DES: adapted example to updated API.]
[DES: minor rework to drop odp_ prefix from function names.]
Signed-off-by: Nikhil Agarwal <nikhil.agarwal@linaro.org>
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Add an example application implementing lock-free IPv4 fragmentation
and reassembly functionality using ODP's packet "concat" and "split".
Signed-off-by: Joe Savage <joe.savage@arm.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
multi-thread, multi-queues and bi-directional forwarding.
support (port, queue, thread) arguments in cmdline which specify how
the threads handle which rx queue at which port, if no this argument,
default specification used.
both hash and lpm based lookup methods are supported, default lpm.
Signed-off-by: Xuelin Shi <forrest.shi@linaro.org>
Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
This is a minimal application which demonstrates the startup and
shutdown steps of an ODP application. It can be also used to
debug API related build problems, etc. It does not use helpers
to minimize dependency to anything else than the ODP API
header file.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
The configure environment was incorrect and the examples always run with
make check
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Add new learning Ethernet switch example application.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Yogesh Tillu <yogesh.tillu@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Suggested-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Tested-and-reviewed-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
This commit includes all of the changes to build the traffic_mgr example
application.
Signed-off-by: Barry Spinney <spinney@ezchip.com>
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
The ODP distribution is lacking a simple example how to receive and send
packets. The l2fwd is overly complicated because it supports an arbitrary
number of interfaces, bi-directional operation and an arbitrary number of
threads.
To remedy this situation, add l2fwd_simple which is a single-threaded
unidirectional variant of l2fwd for exactly two interfaces. l2fwd_simple
can be used as an example application when learning how to use ODP. The
focus when developing l2fwd_simple was to reduce the code line count to as
small value as possible, and it turned out it requires 165 lines of code.
For unidirectional traffic in single-threaded use cases, l2fwd_simple
performs actually better than l2fwd with single thread, because
l2fwd_simple does not need to poll two interfaces in a single thread.
Signed-off-by: Juha-Matti Tilli <juha-matti.tilli@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Reviewed-by: Christophe Milard <christophe.milard@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|