Age | Commit message (Collapse) | Author |
|
Disable ABI compatibility by default. This way the ODP implementation will
offer the best available performance without the user having to change the
default configuration.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@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>
|
|
Update documentation to reflect latest API semantics.
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Reviewed-by: Janne Peltonen <janne.peltonen@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>
|
|
Add documentation about new Packet IO capability and offload of capturing
timestamp on Tx.
This patch also updates notion of Packet IO time source that is different
from local and global time source. Packet IO time source is the HW time
source that is used to capture Rx and Tx timestamps.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Add documentation about pktio capability of no packet references
offload. This offload helps platform optimize fast path for case
when the packet is just forwarded with no static or dynamic
references taken.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Change checksum insertion API documentation with updated
API semantics.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Make configure --(en|dis)able-doxygen-dot functional. Enable by
default. If dot tool is not found, a warning is emitted and the
feature is automatically disabled.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Require asciidoctor, mscgen and dot when generating user guides with
configure --enable-user-guides. Do not require doxygen, it's not used
for user guides.
Fixes: https://github.com/OpenDataPlane/odp/issues/677
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@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>
|
|
The following mistakes were corrected:
- Repeated and redundant words (odp: 28, 30)
- Missing fullstops and commas. These are quite prominent when the API
guide is viewed via a web browser (api_guide_lines: 42, 62, 101, 104;
release: 51)
- Incorrect punctuation (api_guide_lines: 206)
- Change 'odp' and 'api' keywords to uppercase to ensure consistency with
the remaining document (api_guide_lines: 88, 150)
Signed-off-by: Malvika Gupta <Malvika.Gupta@arm.com>
Reviewed-by: Govindarajan Mohandoss <Govindarajan.Mohandoss@arm.com>
Reviewed-by: Petri Savolainen <petri.savolainen@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>
|
|
Fix doxygen warning due to invalid PAPER_TYPE value.
Based on doxygen 1.8.20 documentation
https://www.doxygen.nl/manual/config.html#cfg_paper_type
'a4wide' is not valid paper type.
$ make doxygen-doc
DXGEN doc/application-api-guide/Doxyfile
warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value
Using the default: a4!
Signed-off-by: Jerin Jacob <jerinj@marvell.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>
|
|
No need to include the whole SRCDIR. It is only needed for CONTRIBUTING
(which can be included explicitly). Newer versions of doxygen (1.8.17)
warn about ambiguous odp_l2fwd.c example (it's symlinked into
example/l2fwd).
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
|
|
Rename internal define CONFIG_NUM_CPU to CONFIG_NUM_CPU_IDS to avoid
confusion.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@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>
|
|
Combining all test cases into a single source file
(init_main.c). Create (still) separate binaries per test
case as some implementations may assume that an application
process won't call odp_global_init() more than once.
Added missing local init/term calls to all test cases. Removed
non-API compatible assumptions from log test:
- ODP_DEBUG_PRINT is not defined in the API
- API does not require odp_init_global() to output anything
to the log
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>
|
|
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
The whole ODP logo wasn't drawn correctly in Doxygen html documentation.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
|
|
Add section to User's Guide for compression and
decompression support
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Update the ODP User Guide to include information on scheduler
capabilities and configuration and operating in flow aware mode.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
The recent addition of a formal configuration file and override
mechanism to ODP highlights the need to discuss implementation
configuration considerations. Add this section to the ODP Implementation
Guide and discuss the various types of static and dynamic configuration
options available, with illustrations from how they are used in
odp-linux.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Pass generated files to doxygen to let it know about
ODP_DEPRECATED()/ODP_VERSION_API_xxx
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>
|
|
Introduce new fast pcap capture interface to odp.
How to test:
sudo mkdir /var/run/odp/
start the ODP application
sudo dd if=/var/run/odp/"pid"-ethX-flow-"queue" of=~/t.pcap
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Allow user to provide extra asciidoctor flags. E.g. this allows one to
override icons and/or fonts placement.
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>
|
|
Update PktIO section of Users Guide to cover pktio capability
and input/output/parser configuration features.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Update packet documentation to include information on packet
parsing and checksum override handling.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Update pktio code examples to reflect latest API definitions.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Replace old ODP_SCHED_SYNC_NONE with current ODP_SCHED_SYNC_PARALLEL
when describing queue scheduling options.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Clarify the use of the ODP_SHM_SINGLE_VM flag on shm operations.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Queues fall into types PLAIN and SCHED. Correct terminology from
the old POLL queue type to the current PLAIN queue type.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Using simple commands:
find . -not -path .git -type f -exec \
sed -i -E 's/ (201[0-9]), Linaro/ \1-2018, Linaro/g' {} +
find . -not -path .git -type f -exec \
sed -i -E 's/ (201[0-9])(-201[0-9]), Linaro/ \1-2018, Linaro/g' {} +
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
|
|
${with_platform} in doc/platform-api-guide/Makefile.am will add to
distro platform docs only for currently selected platform. Move this to
platform/Makefile.inc, so that every platform doc file gets included
into distro.
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: Philip Colmer <philip.colmer@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Omitting those images in Makefile.am made them disappear from
distribution tarball resulting in an improperly-built documentation
files.
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>
|
|
Omitting those images in Makefile.am made them disappear from
distribution tarball resulting in an improperly-built documentation
files.
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: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
|
|
Signed-off-by: Kevin Wang <kevin.wang@arm.com>
Reviewed-by: Brian Brooks <brian.brooks@arm.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Replace the FSMs used to describe SA state transitions and IPsec
operations with a Message Sequence Diagram (MSC) that shows the
same information in an easier to follow form.
Update User Guide to reflect these changes as well.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Crypto now offers two complementary sets of cryptographic APIs: the
original parameter-driven API and a new packet-oriented API designed to
be more flexible and consistent with the protocol-aware APIs introduced
as part of IPsec support. Update the ODP User Guide to include these
new APIs.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
|
|
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|