This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 88dbb00623102878f2e0e1dd720a942fdd980ca3 (commit)
from 2bac2dbfd7a7c55e588a6b72af22ae7b810558f7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 88dbb00623102878f2e0e1dd720a942fdd980ca3
Author: Bill Fischofer <bill.fischofer(a)linaro.org>
Date: Wed Jan 18 16:05:16 2017 -0600
linux-generic: pool: add odp_pool_capability() rc check
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2826 by adding
an explicit check of the rc from odp_pool_capability() for consistency
with other code that calls this routine.
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c
index cf7c2c4..145002d 100644
--- a/platform/linux-generic/odp_pool.c
+++ b/platform/linux-generic/odp_pool.c
@@ -445,7 +445,8 @@ static int check_params(odp_pool_param_t *params)
{
odp_pool_capability_t capa;
- odp_pool_capability(&capa);
+ if (odp_pool_capability(&capa) < 0)
+ return -1;
switch (params->type) {
case ODP_POOL_BUFFER:
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_pool.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 2bac2dbfd7a7c55e588a6b72af22ae7b810558f7 (commit)
via e93df7d7b3b278dfadba4a9b7c01afc0dd411f13 (commit)
via 39f85bc6cab329b4ae41ba2ec922370c24254325 (commit)
from a652887cfebadb30843a6fbfe9d5655031d46881 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2bac2dbfd7a7c55e588a6b72af22ae7b810558f7
Author: Petri Savolainen <petri.savolainen(a)linaro.org>
Date: Tue Feb 21 14:51:34 2017 +0200
linux-gen: dependencies: update cunit install instructions
Add missing commands and update instructions for installing into
default location for 'make distcheck'.
Signed-off-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 574859c..6b69bd9 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -215,8 +215,22 @@ Prerequisites for building the OpenDataPlane (ODP) API
tar -jxf *.bz2
cd CUnit*
./bootstrap
+
+ # Install CUnit into the default location (/usr/local). This is needed for
+ # 'make distcheck'.
+ ./configure
+ make
+ sudo make install
+
+ # ... OR ... Install CUnit into user defined location. The same path is
+ # used in step 4.4 --with-cunit-path=/home/<my_cunit_path>
+ ./configure --prefix=/home/<my_cunit_path>
+ make
make install
- #In Step 4.4 use --with-cunit-path=/home/${USER}/CUnitHome
+
+ # Also (in Ubuntu at least) run ldconfig to update shared lib cache or
+ # reboot, before trying to run e.g. 'make distcheck'.
+ sudo ldconfig
4.3 Cross compile of Cunit
@@ -227,8 +241,11 @@ Prerequisites for building the OpenDataPlane (ODP) API
4.4 Using Cunit with ODP
$ Add the configuration option to the regular configuration options
- ./configure --enable-cunit #if cunit is in the PATH
- ./configure --with-cunit-path=DIR #only if you need a path to Cunit libs and headers
+ # Use the default path ...
+ ./configure --enable-cunit
+
+ # ... OR the user defined path.
+ ./configure --with-cunit-path=/home/<my_cunit_path>
5.0 Documentation Images & Doxygen
commit e93df7d7b3b278dfadba4a9b7c01afc0dd411f13
Author: Petri Savolainen <petri.savolainen(a)linaro.org>
Date: Tue Feb 21 14:51:33 2017 +0200
helper: pkgconfig: remove linux-generic from helper lib name
Helper library should be built ABI compatible when it's part of
a distro. There's no need to have implementation specific helper
libs. Those would be needed only if non-ABI compat helper
libraries need to be distributed.
Signed-off-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/configure.ac b/configure.ac
index 1f9e5cf..8be06de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -328,7 +328,7 @@ AM_CXXFLAGS="-std=c++11"
AC_CONFIG_FILES([Makefile
pkgconfig/libodp-linux.pc
- pkgconfig/libodphelper-linux-generic.pc
+ pkgconfig/libodphelper.pc
])
AC_SEARCH_LIBS([timer_create],[rt posix4])
diff --git a/helper/Makefile.am b/helper/Makefile.am
index b478dcd..2c5452d 100644
--- a/helper/Makefile.am
+++ b/helper/Makefile.am
@@ -1,7 +1,7 @@
include $(top_srcdir)/platform/@with_platform@/Makefile.inc
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = $(top_builddir)/pkgconfig/libodphelper-linux-generic.pc
+pkgconfig_DATA = $(top_builddir)/pkgconfig/libodphelper.pc
LIB = $(top_builddir)/lib
AM_CFLAGS += -I$(srcdir)/include
diff --git a/pkgconfig/libodphelper-linux-generic.pc.in b/pkgconfig/libodphelper.pc.in
similarity index 72%
rename from pkgconfig/libodphelper-linux-generic.pc.in
rename to pkgconfig/libodphelper.pc.in
index cab7be2..b14335e 100644
--- a/pkgconfig/libodphelper-linux-generic.pc.in
+++ b/pkgconfig/libodphelper.pc.in
@@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-Name: libodphelper-linux-generic
+Name: libodphelper
Description: Helper for the ODP packet processing engine
Version: @PKGCONFIG_VERSION@
-Libs: -L${libdir} -lodphelper-linux-generic
+Libs: -L${libdir} -lodphelper
Libs.private:
Cflags: -I${includedir}
commit 39f85bc6cab329b4ae41ba2ec922370c24254325
Author: Petri Savolainen <petri.savolainen(a)linaro.org>
Date: Tue Feb 21 14:51:32 2017 +0200
helper: linux: add common linux helper file
Added common helper file for backwards compatibility. This file
includes all headers under helper/linux directory. It's installed
only with --enable-helper-linux configuration option.
Signed-off-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/helper/Makefile.am b/helper/Makefile.am
index 5757c7c..b478dcd 100644
--- a/helper/Makefile.am
+++ b/helper/Makefile.am
@@ -32,6 +32,9 @@ helperinclude_HEADERS = \
$(srcdir)/include/odp/helper/udp.h
if helper_linux
+helperinclude_HEADERS += \
+ $(srcdir)/include/odp/helper/linux.h
+
helperlinuxincludedir = $(includedir)/odp/helper/linux
helperlinuxinclude_HEADERS = \
$(srcdir)/include/odp/helper/linux/pthread.h \
diff --git a/helper/include/odp/helper/linux.h b/helper/include/odp/helper/linux.h
new file mode 100644
index 0000000..396203a
--- /dev/null
+++ b/helper/include/odp/helper/linux.h
@@ -0,0 +1,27 @@
+/* Copyright (c) 2017, Linaro Limited
+ * All rights reserved
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * All ODP Linux helpers
+ *
+ */
+
+#ifndef ODP_HELPER_LINUX_H_
+#define ODP_HELPER_LINUX_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <odp/helper/linux/process.h>
+#include <odp/helper/linux/pthread.h>
+
+#ifdef __cplusplus
+}
+#endif
+#endif
-----------------------------------------------------------------------
Summary of changes:
DEPENDENCIES | 23 +++++++++++++++---
configure.ac | 2 +-
helper/Makefile.am | 5 +++-
helper/include/odp/helper/linux.h | 27 ++++++++++++++++++++++
...lper-linux-generic.pc.in => libodphelper.pc.in} | 4 ++--
5 files changed, 54 insertions(+), 7 deletions(-)
create mode 100644 helper/include/odp/helper/linux.h
rename pkgconfig/{libodphelper-linux-generic.pc.in => libodphelper.pc.in} (72%)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The annotated tag, v1.14.0.0 has been created
at 01ce17531870be078cfeeb9e450081ed4575fb02 (tag)
tagging a652887cfebadb30843a6fbfe9d5655031d46881 (commit)
replaces v1.13.0.0
tagged by Maxim Uvarov
on Wed Mar 1 22:01:23 2017 +0300
- Log -----------------------------------------------------------------
== OpenDataPlane (1.14.0.0)
=== New Features
==== APIs
ODP v1.14.0.0 represents another preview of the Tiger Moth release series and
introduces new APIs and extensions.
===== Packet References
Packet references are a lightweight mechanism to allow applications to create
and manipulate different "views" of packets. These views consist of shared
bytes common to all references created on the same `odp_packet_t`, possibly
prefixed with unique headers that are private to each reference. Five new APIs
are introduced to enable this feature:
`odp_packet_ref_static()`::
Static references allow a single packet to have multiple "aliases", all of
which must be treated as read only. This is useful, for example, to retain
a reference to a packet being transmitted to support retransmit processing,
since the actual storage represented by a packet is not released until all
references to it have been freed via `odp_packet_free()` calls.
`odp_packet_ref()`::
Dynamic references differ from static references is that they permit the
individual `odp_packet_t` handles to have unique prefixes created via
`odp_packet_push_head()` or `odp_packet_extend_head()` calls. This can be
used, for example, to support multicasting packets to different destinations
by creating packets that consist of unique headers followed by a common shared
payload.
`odp_packet_ref_pkt()`::
Similar to `odp_packet_ref()`, but creates a dynamic reference by prepending a
preexisting header onto another packet.
`odp_packet_has_ref()`::
Returns a boolean indicator of whether a given `odp_packet_t` has other
references that share bytes with this packet.
`odp_packet_unshared_len()`::
Returns the number of unshared bytes accessible through a given `odp_packet_t`
handle. These are the only bytes that should be changed. All other bytes
in the packet should be treated as read only as they are shared with other
`odp_packet_t` handles.
Note that while the packet reference APIs and associated validation tests are
present in this release, the `odp-linux` reference implementation currently
implements references via packet copying. A zero-copy implementation of packet
references is planned to be part of the ODP v1.15.0.0 release.
==== ABI Specification
ODP has supported an Application Binary Interface (ABI) that permits
applications to be generated that are binary portable between select ODP
implementations. This is now formalized with the addition of structures that
permit ABI specifications to be defined that are shared between ODP
implementations. ODP provides a default ABI specification that is the same as
was provided before. This change means that additional ABIs may be defined
that are optimized to collections of platforms that share an Instruction Set
Architecture (ISA) and subscribe to them.
ABI specifications live in the `include/odp/arch/...` directory.
==== Instance Query (iQuery) Scheduler
Adding to the range of scheduler implementations supported by `odp-linux`, a
new scheduler, the instance query scheduler, is available by specifying
`--enable-schedule-iquery` at `configure` time.
This scheduler uses sparse bitmaps and offers scalability advantages when
dealing with large numbers of schedule queues. It otherwise offers performance
comparable to the default ODP scheduler implementation.
=== Helpers
Helpers have been reorganized to provide better independence from odp-linux
and to make them more useful with other ODP implementations. These
reorganizations are functionally transparent to ODP users but should
simplifying packaging and porting to other ODP implementations. This includes
adding the "umbrella" include file `odph_api.h` which can be used to include
all helper API definitions in an application.
=== Classifier Improvements
The `odp-linux` reference implementation now supports Pattern Matching Rules
(PMRs) for IPv6 addresses, inner and outer VLAN IDs, and inner and outer
Ethernet types.
=== Performance
==== Improved inlining for embedded applications
The `odp-linux` reference implementation now offers improved inlining support
for ODP APIs for applications compiled against ODP configured with the
`--enable-abi-compat=no` option, meaning they wish to forego binary
compatibility in exchange for improved performance. These applications remain
source portable to other ODP implementations.
==== Native `odp_cpu_pause()` for ARM processors
A native implementation of the `odp_cpu_pause()` API has been added for ARMv7
and ARMv8 processors.
==== New Microbenchmark
The `odp_packet_bench` microbenchmark application has been added to the
test performance directory to allow implementations to measure and calibrate
the performance of individual ODP packet APIs.
==== Ordered PktIO Test
The `odp_pktio_ordered` application has been added to the test performance
directory to provide stress-testing of packet ordering features of ODP.
=== Documentation
In addition to expanded documentation related to the new packet reference APIs,
a section on applicatin portability has been added that discusses the types
of portability offered by ODP and the tradeoffs that application writers should
consider when using ODP.
=== Bug Fixes
==== https://bugs.linaro.org/show_bug.cgi?id=2806[Bug 2806]
The `hello.c` application can now run properly if Core 0 is not
available (any available core will be used).
==== https://bugs.linaro.org/show_bug.cgi?id=2827[Bug 2827]
Provide proper return code checking within _ishm.c
==== https://bugs.linaro.org/show_bug.cgi?id=2829[Bug 2829]
Remove unused variables in iplookuptable helper routine.
==== https://bugs.linaro.org/show_bug.cgi?id=2830[Bug 2830]
Avoid memory leaks on error paths in the cuckoo table helper functions.
==== https://bugs.linaro.org/show_bug.cgi?id=2834[Bug 2834]
Fixes a race condition in shared memory allocation.
==== https://bugs.linaro.org/show_bug.cgi?id=2842[Bug 2842]
Provide proper fallback for shared memory when hugepages are not available.
==== https://bugs.linaro.org/show_bug.cgi?id=2862[Bug 2862]
Avoid null pointer dereference in the iplookuptable helper routine.
==== https://bugs.linaro.org/show_bug.cgi?id=2865[Bug 2865]
Missing doxygen documentation for helper table functions are added.
=== Known Issues
==== https://bugs.linaro.org/show_bug.cgi?id=2852[Bug 2852]
C++ programs fail to compile if they attempt to include the ODP helper APIs.
==== https://bugs.linaro.org/show_bug.cgi?id=2895[Bug 2895]
The `odp_crypto_operation()` routine does not work with multi-segment packets.
Andriy Berestovskyy (1):
doc: fix k.org links in CONTRIBUTING
Balasubramanian Manoharan (6):
linux-generic: classification: implement ipv6 packet matching rule
validation: classification: add test case for ipv6 src and dst addr
linux-generic: classification: implement vlan id packet matching rule
validation: classification: add test case for outer and inner vlan id
linux-generic: classification: implement eth type packet matching rule
validation: classification: add test case for outer and inner eth type
Bill Fischofer (10):
helper: iplookuptable: avoid potential null pointer dereferences
doc: helper: add missing doxygen for helper table functions
helper: cuckootable: avoid storage leaks on error paths
helper: iplookuptable: removed unused variable
helper: tables: avoid invalid odp_shm_addr() calls
validation: packet: add packet reference tests
doc: userguide: add user documentation for packet references
doc: userguide: add section on application portability
doc: images: add images for packet reference documentation
changelog: summary of changes for ODP v1.14.0.0
Brian Brooks (1):
linux-generic: add ARM odp_cpu_pause()
Christophe Milard (5):
linux-gen: _ishm: fix normal page fallback
linux-gen: _ishm: checking fstat return value.
linux-gen: _ishmphy: fix possible race with malloc
travis: better comments to generate token in the travis file
linux-generic: cosmetic changes on byteorder files
Dmitry Eremin-Solenikov (3):
linux-generic: crypto: add missing include
linux-generic: crypto: port to OpenSSL 1.0.x thread id API
linux-generic: crypto: support OpenSSL 1.1.0
Matias Elo (9):
test: perf: add new packet function microbenchmark application
linux-gen: netmap: fix interface flags initialization
linux-gen: netmap: bump supported netmap version to 11.2
test: perf: add new ordered pktio application
test: pktio_ordered: add test script
validation: crypto: fix hw cipher/auth algorithm check
validation: crypto: check cipher/auth algorithm support before use
validation: crypto: check cipher options support before running tests
validation: crypto: check auth options support before running tests
Maxim Uvarov (17):
example: hello: ask odp for available core
helper: fix compilation with warnings
configure.ac: helper: print debug config option
test: linux-gen: vlan insertion: add time-out exit
test: linux-gen: vlan insertion: reduce memory pool
travis: add netmap pktio tests
linux-gen: fix dpdk pktio init
codecov: add code coverage integrated to github
travis: add code style checks
travis: mirror cunit on github
travis: switch to ubuntu trusty
travis: clang 3.8
travis: catch doxygen errors
linux-gen: do not do double symlinks on make distcheck
linux-gen: makefile: remove pass command
codecov: lower expectations from codecov
update API version number from v1.13.0.0 to v1.14.0.0
Mike Holmes (8):
configure: use helper configure.m4
helper: cleanup Linux rename to thread
helper: move thread implementation under platform
helper: remove dependence on test dir
helper: add odph_api.h for existing exported headers
helper: use odph_api.h for test include for unexported files
test: use odph_api.h
examples: use odph_api.h
Petri Savolainen (28):
linux-gen: align: round up power of two as macro
linux-gen: align: clean up macros
abi: event: added the first ABI spec file
abi: buffer: added initial definitions
abi: classifier: added initial definitions
abi: crypto: added initial definitions
abi: packet: added initial definitions
abi: pool: added initial definitions
abi: queue: added initial definitions
abi: shm: added initial definitions
test: l2fwd: add pktio driver print out
validation: packet: print reason for suite init failure
test: generator: various improvements
test: l2fwd script: limit number of generator cpus
test: l2fwd: use packet_data
helper: linux: renamed threads_extn to linux helpers
linux-gen: abi: add symlink to arch specific dir
linux-gen: inline: rename _STATIC to _ODP_INLINE
linux-gen: ticketlock: inline also in application
linux-gen: packet: packet handle is hdr pointer
linux-gen: packet: inline functions
linux-gen: packet: inline flag functions
linux-gen: ipc: use hdr to handle conversion function
linux-gen: tm: use handle conversion function
api: packet: add support for packet references
api: packet: references may be implemented as copy
validation: packet: remove non compatible tests
linux-gen: packet: implement references as copy
Yi He (6):
linux-gen: sched: fix SP scheduler hang in process mode
linux-gen: sched: solve ordered context inversion
linux-gen: sched: add unsched_queue callback
linux-gen: add generic bitmaps and iterators
linux-gen: add interests query (iquery) scheduler
linux-gen: fix odp_schedule.m4
-----------------------------------------------------------------------
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, next has been updated
via a652887cfebadb30843a6fbfe9d5655031d46881 (commit)
from 919d6924c532d46a52e467d481ee30b6b8bd78ec (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via ff7600a119f02bb1ef2a57e5611e392968666420 (commit)
via a09bc35bf1159478195484e11eccb52cb33ae554 (commit)
from bd9f58474822c5c58f1b5ad52edb169264900772 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/include/odp_packet_internal.h | 5 +++++
platform/linux-generic/odp_packet.c | 5 -----
platform/linux-generic/odp_traffic_mngr.c | 2 +-
platform/linux-generic/pktio/ipc.c | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--