Implemented multi-queue API with dummy single queue support.
Enables testing the API and provides stubbs for actual
multi-queue implementations. Not optimized.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
.../include/odp/plat/packet_io_types.h | 14 +-
...
Modified the application to support for multiple queues
per interface. Enabled inequal worker thread counts.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 413 ---
1 file changed, 351 insertions(
odp_thread_count_max() returns the maximum number of threads,
instead of odp_thrmask_count().
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/thrmask.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/odp/api/thrmask.h b/include/o
Replaced internal define with ODP_THREAD_COUNT_MAX. This
fixes also the current make install issue.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
platform/linux-generic/Makefile.am | 1 -
.../include/odp/plat/rwlock_recursive_types.h
Added maximum thread count define to enable static memory allocation.
The API call returns dynamic maximum. Static and dynamic may be different
application is build for binary compatibility.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/th
to control if hashing (or classification) is used for
spreading flows to multiple queues
Petri Savolainen (7):
api: pktio: added pktio capability struct
api: pktio: added multiple pktio input queues
api: pktio: added direct queue receive
api: pktio: added multiple pktio output queues
Added capability structure and a function to query it.
Capability limits are used for advanced pktio configuration,
like configuration of multiple input/output queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 23
Added output queue configuration parameters and functions
for setting up multiple output queues. Added also
a function to query the number of output queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h
Added odp_pktio_send_queue for direct packet send to
a pktio output queue.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git a/include/o
Modified the application to support for multiple queues
per interface. Enabled inequal worker thread counts.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 414 ---
1 file changed, 352 insertions(
Added input queue configuration parameters and functions
to setup multiple input queue and hashing. Added also
functions to query the number of queues and queue handles.
Direct receive does use new odp_pktin_queue_t handle type.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.
Modified the application to support for multiple queues
per interface. Enabled inequal worker thread counts.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 414 ---
1 file changed, 352 insertions(
Implemented multi-queue API with dummy single queue support.
Enables testing the API and provides stubbs for actual
multi-queue implementations. Not optimized.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
.../include/odp/plat/packet_io_types.h | 14 +-
...
Added odp_pktio_recv_queue for direct packet receive from pktio
input queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 33 -
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/include/o
Added odp_pktio_send_queue for direct packet send to
a pktio output queue.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git a/include/o
for
spreading flows to multiple queues
Petri Savolainen (7):
api: pktio: added pktio capability struct
api: pktio: added multiple pktio input queues
api: pktio: added direct queue receive
api: pktio: added multiple pktio output queues
api: pktio: added direct send to pktio output
Added input queue configuration parameters and functions
to setup multiple input queue and hashing. Added also
functions to query the number of queues and queue handles.
Direct receive does use new odp_pktin_queue_t handle type.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.
Added capability structure and a function to query it.
Capability limits are used for advanced pktio configuration,
like configuration of multiple input/output queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 23
Added output queue configuration parameters and functions
for setting up multiple output queues. Added also
a function to query the number of output queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h
init to guide
lock vs. lock-free implementation (e.g. if cas_64 is never
called, inc_64 can be lock-free).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h| 48 +
platform/linux-generic/Makefile.am
term single_thr instead of lock_free
* added hash_ena to control if hashing (or classification) is used for
spreading flows to multiple queues
Petri Savolainen (5):
api: pktio: added pktio capability struct
api: pktio: added multiple pktio input queues
api: pktio: added direct queue
Added odp_pktio_recv_queue for direct packet receive from pktio
input queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 33 -
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/include/o
Added input queue configuration parameters and functions
to setup multiple input queue and hashing. Added also
functions to query the number of queues and queue handles.
Direct receive does use new odp_pktin_queue_t handle type.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.
Added capability structure and a function to query it.
Capability limits are used for advanced pktio configuration,
like configuration of multiple input/output queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 23
Added odp_pktio_send_queue for direct packet send to
a pktio output queue.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 39 +++
1 file changed, 31 insertions(+), 8 deletions(-)
diff --git a/include/o
init to guide
lock vs. lock-free implementation (e.g. if cas_64 is never
called, inc_64 can be lock-free).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h| 51 +
platform/linux-generic/Makefile.am
Added output queue configuration parameters and functions
for setting up multiple output queues. Added also
odp_pktio_output_queues to query the number of queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.
Added odp_pktio_send_queue for direct packet send to
a pktio output queue.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 42 ++
1 file changed, 34 insertions(+), 8 deletions(-)
diff --git a/include/o
Added input queue configuration parameters and functions
to setup multiple input queue and hashing. Added also
odp_pktio_input_queues to query the number of queues
and queue handles. Direct receive does not use queue
handles, but indexes.
Signed-off-by: Petri Savolainen <petri.savo
Added odp_pktio_recv_queue for direct packet receive from pktio input
hash queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 36 +++-
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/inclu
Added capability structure and a function to query it.
Capability limits are used for advanced pktio configuration,
like configuration of multiple input/output queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 23
(potentially with
num_queues == 1).
Configuration of multiple packet input and output queues fit better pktio API
than e.g. classification API. Classification API should be aligned the new
setup.
Petri Savolainen (5):
api: pktio: added pktio capability struct
api: pktio: added multiple pktio
Added parameters for setting up input hashing during pktio_open
and odp_pktio_input_hash_queues to query queue handles.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 60 +
1 file changed, 60 inse
Added odp_pktio_recv_queue for direct packet receive from pktio input
hash queues.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 25 -
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/include/o
Refined version API documentation and added implementation
name string that can be used to identify the underlying
implementation at run time.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/version.h | 47 ++-
Implemented implementation name string and call it from
validation test common.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
platform/linux-generic/odp_version.c | 6 ++
test/validation/common/odp_cunit_common.c | 1 +
2 files changed, 7 insertions(+)
diff
Increased burst size to 32. This improves packet rate about
15% with netmap, since system call rate is halved.
No harm to any implementation, since implementation decides
how many packets are returned. This is comparable to DPDK l2fwd
burst size.
Signed-off-by: Petri Savolainen <petri.savo
Separated receive and transmit drop counters to
help debugging the cause of dropped packets.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 43 +++
1 file changed, 27 insertions(+), 16 deletions(-)
v2:
* corrected funtionality bug in v1. Queue mode used per
thread (fixed) destination pktio.
* moved pktio start after worker thread create
Petri Savolainen (6):
test: l2fwd: added option to disable error check
test: l2fwd: start pktios after worker thread create
test: l2fwd
More controlled startup sequence:
* Create and configure pktios
* Create and start workers
* Enable packet rx and tx
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 20
1 file changed, 12 insertions(+), 8 deletions(-)
as a third mode later.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 64 ++--
1 file changed, 38 insertions(+), 26 deletions(-)
diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index 5
Allocate cacheline aligned shared memory for per thread
statistics and simplify stats pointer references.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 63
1 file changed, 34 insertions(
as a third mode later.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 65 ++--
1 file changed, 39 insertions(+), 26 deletions(-)
diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index 6
Increased burst size to 32. This improves packet rate about
15% with netmap, since system call rate is halved.
No harm to any implementation, since implementation decides
how many packets are returned. This is comparable to DPDK l2fwd
burst size.
Signed-off-by: Petri Savolainen <petri.savo
Added command line option to disable packet error check. Error
check requires full packet parse. Max packet rate measurements
should be done with minimal feature set.
This change gives +10% packet rate increase in direct recv mode
with netmap.
Signed-off-by: Petri Savolainen <petri.savo
Separated receive and transmit drop counters to
help debugging the cause of dropped packets.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
test/performance/odp_l2fwd.c | 43 +++
1 file changed, 27 insertions(+), 16 deletions(-)
Added validation tests for ODP std C library API.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
configure.ac | 1 +
platform/linux-generic/test/Makefile.am | 1 +
test/validation/Makefile.am | 1 +
test/validation/st
to guide
lock vs. lock-free implementation (e.g. if cas_64 is never
called, inc_64 can be lock-free).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h| 51 +
platform/linux-generic/include/odp/atomic.
Added atomic min and max operations. These can be used e.g.
to maintain high and low water marks of an another atomic counter.
These use relaxed memory order.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h
Added 32 bit acquire load/cas and release store/add/sub calls.
These are the minimum set of non-relaxed calls that are needed
for building lock-free algorithms. 64 bit versions can be added
later.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/at
Refined and centralized comment about relaxed memory ordering.
Removed in/out doxygen tags since 'atom' pointer to an object
that application must not directly access (only through the API).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h
Reference caused warning when creating doxygen documentation.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h| 2 +-
platform/linux-generic/include/odp/debug.h | 8
2 files changed, 1 insertion(+), 9 deletions(-)
diff
Removed module synchronizer from doxygen documentation and
introduced new modules for locks, atomics and barriers. Removed
unnecessary group tagging from internal headers, which are not
visible to doxygen anyway.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/o
Group level documentation can be used for API level general
description. Layout file is needed to place detailed group
description on the top of a page. By default doxygen shows
only the brief description on top (the first sentence).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.
Added cas operations for 32 and 64 bit atomic variables. These
use relaxed memory order (as all other operations).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h | 37 ++
platform/linux-generic/inclu
Improved documentation of open, start, stop and close calls.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
v2
* fix typo
* modify wordings
* add spec for pktio_close
include/odp/api/packet_io.h | 28
1 file changed, 28 insertions(+)
Refined and centralized comment about relaxed memory ordering.
Removed in/out doxygen tags since 'atom' pointer to an object
that application must not directly access (only through the API).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h
Removed module synchronizer from doxygen documentation and
introduced new modules for locks, atomics and barriers. Removed
unnecessary group tagging from internal headers, which are not
visible to doxygen anyway.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/o
Added 32 bit acquire load/cas and release store/add/sub calls.
These are the minimum set of non-relaxed calls that are needed
for building lock-free algorithms. 64 bit versions can be added
later.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/at
Reference caused warning when creating doxygen documentation.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h| 2 +-
platform/linux-generic/include/odp/debug.h | 8
2 files changed, 1 insertion(+), 9 deletions(-)
diff
Added atomic min and max operations. These can be used e.g.
to maintain high and low water marks of an another atomic counter.
These use relaxed memory order.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h
Added cas operations for 32 and 64 bit atomic variables. These
use relaxed memory order (as all other operations).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h | 37 ++
platform/linux-generic/inclu
Group level documentation can be used for API level general
description. Layout file is needed to place detailed group
description on the top of a page. By default doxygen shows
only the brief description on top (the first sentence).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.
Optimize and simplify packet parsing. Fill in L2 metadata
allways in packet input. Perform full packet parsing only
if other than L2 metadata is requested. Perform parsing only
for packets received from the network (disable parsing of
user created packets).
Signed-off-by: Petri Savolainen
Some C library calls are often used in data plane code. This
API enables possibility to HW optimized implementation of those.
Added first memcpy and memset.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp.h | 1 +
include/o
Group level documentation can be used for API level general
description. Layout file is needed to place detailed group
description on the top of a page. By default doxygen shows
only the brief description on top (the first sentence).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.
Added 32 bit acquire load/cas and release store/add/sub calls.
These are the minimum set of non-relaxed calls that are needed
for building lock-free algorithms. 64 bit versions can be added
later.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/at
Reference caused warning when creating doxygen documentation.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h| 2 +-
platform/linux-generic/include/odp/debug.h | 8
2 files changed, 1 insertion(+), 9 deletions(-)
diff
Added cas operations for 32 and 64 bit atomic variables. These
use relaxed memory order (as all other operations).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h| 37 +
platform/linux-generic/inclu
Refined and centralized comment about relaxed memory ordering.
Removed in/out doxygen tags since 'atom' pointer to an object
that application must not directly access (only through the API).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/atomic.h
Removed module synchronizer from doxygen documentation and
introduced new modules for locks, atomics and barriers. Removed
unnecessary group tagging from internal headers, which are not
visible to doxygen anyway.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/o
Optimize and simplify packet parsing. Fill in L2 metadata
allways in packet input. Perform full packet parsing only
if other than L2 metadata is requested. Perform parsing only
for packets received from the network (disable parsing of
user created packets).
Signed-off-by: Petri Savolainen
Improved documentation of open, start and stop calls.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/packet_io.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
index d8e69ed..f
Packet input does not call packet_classifier function when
there are no cos (pmr, default cos or l2/l3 table) set for
the pktio interface.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
.../linux-generic/include/odp_packet_io_internal.h | 10 +++
platform/linux-g
Skip packet_classifier function as long as there's no pmr
set for an pktio interface.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
platform/linux-generic/include/odp_packet_io_internal.h | 10 ++
platform/linux-generic/odp_classification.c
Allow comparison to NULL since ODP API calls may return NULL
and test applications should be able to compare against that,
instead of forced to compare against 0 (!ptr).
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
.checkpatch.conf | 1 +
1 file changed, 1 insertion(+)
New thread API call odp_thread_count_max() replaces the
preprocessor macro in the API. A macro is still used
internally.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/config.h | 5 ---
.../linux-generic/include/od
-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/init.h | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/include/odp/api/init.h b/include/odp/api/init.h
index 0683d8d..737ff6d 100644
--- a/include/odp/api/init.h
+++ b/include/o
Maximum thread count is needed for preparation to remove
ODP_CONFIG_MAX_THREADS. It can be used e.g. to allocate
resources per thread ID. Thread IDs range from 0 to
count_max - 1.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/thread.h
-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/init.h | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/include/odp/api/init.h b/include/odp/api/init.h
index 0683d8d..d327305 100644
--- a/include/odp/api/init.h
+++ b/include/o
New thread API call odp_thread_count_max() replaces the
preprocessor macro in the API. A macro is still used
internally.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/config.h | 5 ---
.../linux-generic/include/od
-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp.h | 1 +
include/odp/api/rwlock_recursive.h | 94 ++
platform/linux-generic/Makefile.am | 4 +
.../include/odp/plat/rwlock_recursive_t
Applications can use recursive spinlocks to avoid deadlock from
single thread acquiring the same lock multiple times. Recursive
locks are used in legacy applications. ODP version of recursive
spinlock enable porting of those applications.
Signed-off-by: Petri Savolainen <petri.savo
Raw CPU cycle count API is needed for measuring CPU cycle consumption. This can
replace many of the odp_time_cycles() when time API moves to real time from
CPU cycles.
v2:
* corrected comparison in diff
* code style changes in patch 5
Petri Savolainen (5):
api: cpu: added cpu cycle count
Raw CPU cycle counts can be used to measure performance
in CPU cycles. These functions will replace some usage of
odp_time_cycles() of odp_time_diff_cycles().
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/api/cpu.
Implemented odp_cpu_cycles() be renaming odp_time_cycles()
implementation. Time implementation uses odp_cpu_cycles
temporarely.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
platform/linux-generic/arch/linux/odp_cpu_cycles.c | 4 ++--
platform/linux-generic/arch/
Added implementation for CPU cycle diff, max and resolution.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
platform/linux-generic/Makefile.am | 1 +
platform/linux-generic/arch/linux/odp_cpu_cycles.c | 10 ++
platform/linux-generic/arch/
Renamed time_cycles files to cpu_cycles, since those files
implement cpu cycle counter read needed by cpu API but not
needed by new time API.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
platform/linux-generic/Makefile.am | 8 ++---
platform/linux-g
Implemented odp_cpu_cycles() be renaming odp_time_cycles()
implementation. Time implementation uses odp_cpu_cycles
temporarely.
Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com>
---
platform/linux-generic/arch/linux/odp_cpu_cycles.c | 4 ++--
platform/linux-generic/arch/
Raw CPU cycle count API is needed for measuring CPU cycle consumption. This can
replace many of the odp_time_cycles() when time API moves to real time from
CPU cycles.
Petri Savolainen (5):
api: cpu: added cpu cycle count API
linux-generic: cpu: created arch depedent cpu_cycles files
Applications can use recursive spinlocks to avoid deadlock from
single thread acquiring the same lock multiple times. Recursive
locks are used in legacy applications. ODP version of recursive
spinlock enable porting of those applications.
Signed-off-by: Petri Savolainen <petri.savo
-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp.h | 1 +
include/odp/api/rwlock_recursive.h | 86 ++
platform/linux-generic/Makefile.am | 4 +
.../include/odp/plat/rwlock_recursive_t
Applications can use recursive locks to avoid deadlock from single
thread acquiring the same lock multiple times. Recursive locks
are commonly used by legacy applications.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp.h | 1
Applications can use recursive locks to avoid deadlock from single
thread acquiring the same lock multiple times. Recursive locks
are commonly used by legacy applications.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp.h | 1
We have decided to standardize enum naming to typedef _t,
renamed the enum according to that.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp/api/packet_io.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/odp/api/packet_io.h b/include
Added pktio parameter to select packet output mode. Left out
default output queue option, since it may disappear when TM
is integrated. Can be added later if still needed.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp/api/packet_io.h | 16 ++--
1 file
User should pick a synchronisation method and use SYNC_NONE if
does not need synchronization.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp/api/queue.h | 5 -
platform/linux-generic/include/odp/plat/queue_types.h | 2 --
platform
Default prio is used when priority scheduling is not important.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp/api/queue.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
index bdda845..10bac16
This is a hint to the scheduler for prefetching more events.
Performance is improved when scheduler may prefetch events in
parallel to application finishing processing of previous events.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp/api/schedule.h | 14
For performance optimization user can allow ordered context
release as soon as the last enqueue which needs ordering support
is finished.
Signed-off-by: Petri Savolainen petri.savolai...@nokia.com
---
include/odp/api/schedule.h | 17 +
1 file changed, 17 insertions(+)
diff --git
701 - 800 of 1011 matches
Mail list logo