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, api-next has been updated
via 177eeff39e19289e771119cfdffc515cb16f9db5 (commit)
via 49665e54259bc04b1ba0f9bc0456714d98ab13c6 (commit)
via 1f82edd05f4e83ac3a6d6a3a3cd0ec914d5ad359 (commit)
from c38fc105f0e9a88dd4ebb4d9e7ac9e1160466322 (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:
include/odp/api/spec/ipsec.h | 22 ++++-
.../linux-generic/include/odp_ipsec_internal.h | 6 ++
platform/linux-generic/odp_ipsec.c | 67 +++++++++++++-
platform/linux-generic/odp_ipsec_sad.c | 101 ++++++++++++++-------
test/validation/api/ipsec/ipsec.c | 4 +-
5 files changed, 159 insertions(+), 41 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, api-next has been updated
via c38fc105f0e9a88dd4ebb4d9e7ac9e1160466322 (commit)
via 4c4052f894b8df5784d2aae2e36b96796ee020fd (commit)
via 9e388b884efed8d653cf453f6516f34019d02305 (commit)
via 11da2d3bc8871379321048a5e951e142aa594b9d (commit)
via 192693591500302fd5232eee92144dba204abaaf (commit)
via 75f0096e1af7eca556e9f1c896f7cc34cc325edc (commit)
via 3c02836d9d9ca16b1277bdd30e523779b9fe8374 (commit)
via bb003e11ae7bfacc1fb1e9b8276dd49a32a31b4e (commit)
via b5dfcef4586e0a1618c202aaeb7e863c17cc4d06 (commit)
via 6b5cdc77eb9759a2349b10372a964648559bc92c (commit)
via bb0ec2f991bc5b295928e87c8b9bc0efb92479d3 (commit)
via ffcd7991e44109464fb8a71f9ee10546ea5b84b0 (commit)
from f2a1a84b43642f3d0911a351d9308d5501693290 (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 c38fc105f0e9a88dd4ebb4d9e7ac9e1160466322
Merge: f2a1a84b 4c4052f8
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu Dec 21 17:33:36 2017 +0300
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --cc DEPENDENCIES
index 008c4df4,0805a183..829ff363
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@@ -19,9 -19,9 +19,9 @@@ Prerequisites for building the OpenData
3. Required libraries
- Libraries currently required to link: openssl, libconfig
- Libraries currently required to link: openssl, libatomic
++ Libraries currently required to link: openssl, libconfig, libatomic
-3.1 OpenSSL native compile
+3.1 OpenSSL and libconf native compile
For native compilation, simply load the necessary libraries using the appropriate
tool set.
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 3 +
.shippable.yml | 8 +-
.travis.yml | 2 +
DEPENDENCIES | 10 ++-
doc/.gitignore | 1 +
platform/linux-generic/odp_pool.c | 87 ++++++++++------------
.../test/validation/api/shmem/shmem_odp1.c | 10 ++-
scripts/Dockerfile | 3 +-
test/common/odp_cunit_common.c | 13 +++-
test/common/odp_cunit_common.h | 5 +-
test/m4/miscellaneous.m4 | 18 ++++-
test/performance/Makefile.am | 5 +-
12 files changed, 105 insertions(+), 60 deletions(-)
create mode 100644 doc/.gitignore
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 4c4052f894b8df5784d2aae2e36b96796ee020fd (commit)
via 9e388b884efed8d653cf453f6516f34019d02305 (commit)
via 11da2d3bc8871379321048a5e951e142aa594b9d (commit)
via 192693591500302fd5232eee92144dba204abaaf (commit)
via 75f0096e1af7eca556e9f1c896f7cc34cc325edc (commit)
from 3c02836d9d9ca16b1277bdd30e523779b9fe8374 (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:
.gitignore | 3 +++
.shippable.yml | 8 +++++++-
.travis.yml | 2 ++
doc/.gitignore | 1 +
.../linux-generic/test/validation/api/shmem/shmem_odp1.c | 10 ++++++++--
scripts/Dockerfile | 3 ++-
test/common/odp_cunit_common.c | 13 +++++++++++--
test/common/odp_cunit_common.h | 5 +++--
8 files changed, 37 insertions(+), 8 deletions(-)
create mode 100644 doc/.gitignore
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 3c02836d9d9ca16b1277bdd30e523779b9fe8374 (commit)
via bb003e11ae7bfacc1fb1e9b8276dd49a32a31b4e (commit)
via b5dfcef4586e0a1618c202aaeb7e863c17cc4d06 (commit)
from 6b5cdc77eb9759a2349b10372a964648559bc92c (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 3c02836d9d9ca16b1277bdd30e523779b9fe8374
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Fri Dec 15 15:23:59 2017 +0200
DEPENDENCIES: update requirements for Red Hat
Update instructions to support RHEL 7.4.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 68c7b8be..0805a183 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -19,7 +19,7 @@ Prerequisites for building the OpenDataPlane (ODP) API
3. Required libraries
- Libraries currently required to link: openssl
+ Libraries currently required to link: openssl, libatomic
3.1 OpenSSL native compile
@@ -163,6 +163,8 @@ Prerequisites for building the OpenDataPlane (ODP) API
DPDK pktio adds a depency to NUMA library.
# Debian/Ubuntu
$ sudo apt-get install libnuma-dev
+ # CentOS/RedHat/Fedora
+ $ sudo yum install numactl-devel
Note: only packet I/O is accelerated with DPDK. Use
https://git.linaro.org/lng/odp-dpdk.git
@@ -227,14 +229,16 @@ Prerequisites for building the OpenDataPlane (ODP) API
make
sudo make install
+ # On RedHat you also have to add path /usr/local/lib to /etc/ld.so.conf
+
# ... OR ... Install CUnit into user defined location. The same path is
# used in step 4.4: PKG_CONFIG_PATH=/home/<my_cunit_path>/lib/pkgconfig
./configure --prefix=/home/<my_cunit_path>
make
make install
- # Also (in Ubuntu at least) run ldconfig to update shared lib cache or
- # reboot, before trying to run e.g. 'make distcheck'.
+ # Also (in Ubuntu/RedHat 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
commit bb003e11ae7bfacc1fb1e9b8276dd49a32a31b4e
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Mon Dec 18 16:22:42 2017 +0200
test: odp_pktio_ordered: run test only if pcap is available
The odp_pktio_ordered test depends on pcap pktio, so skip it if pcap is not
available.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am
index 1dccd82e..9c709e79 100644
--- a/test/performance/Makefile.am
+++ b/test/performance/Makefile.am
@@ -12,10 +12,13 @@ COMPILE_ONLY = odp_l2fwd \
odp_scheduling
TESTSCRIPTS = odp_l2fwd_run.sh \
- odp_pktio_ordered_run.sh \
odp_sched_latency_run.sh \
odp_scheduling_run.sh
+if HAVE_PCAP
+TESTSCRIPTS += odp_pktio_ordered_run.sh
+endif
+
TEST_EXTENSIONS = .sh
if test_perf
commit b5dfcef4586e0a1618c202aaeb7e863c17cc4d06
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Mon Dec 18 15:24:04 2017 +0200
test: disable C++ test if no compiler is found
Enables building ODP on systems which have no C++ compiler available.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/m4/miscellaneous.m4 b/test/m4/miscellaneous.m4
index dac236a6..07c32377 100644
--- a/test/m4/miscellaneous.m4
+++ b/test/m4/miscellaneous.m4
@@ -2,7 +2,21 @@
# Enable/disable test-cpp
##########################################################################
AC_ARG_ENABLE([test-cpp],
- [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])],
+ [AS_HELP_STRING([--disable-test-cpp], [run basic test against cpp])],
[test_cpp=$enableval],
- [test_cpp=yes])
+ [test_cpp=check])
+
+if test "x$test_cpp" != "xno" ; then
+ AC_CACHE_CHECK([if C++ compiler works], [odp_cv_cxx_works],
+ [AC_LANG_PUSH([C++])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [odp_cv_cxx_works=yes],
+ [odp_cv_cxx_works=no])
+ AC_LANG_POP([C++])])
+ AS_IF([test "x$test_cpp$odp_cv_cxx_works" = "xyesno"],
+ [AC_MSG_FAILURE([C++ compiler test failed])],
+ [test "x$test_cpp$odp_cv_cxx_works" = "xcheckno"],
+ [AC_MSG_NOTICE([disabling C++ test]) ; test_cpp=no],
+ [test_cpp=yes])
+fi
+
AM_CONDITIONAL([test_cpp], [test x$test_cpp = xyes ])
-----------------------------------------------------------------------
Summary of changes:
DEPENDENCIES | 10 +++++++---
test/m4/miscellaneous.m4 | 18 ++++++++++++++++--
test/performance/Makefile.am | 5 ++++-
3 files changed, 27 insertions(+), 6 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, api-next has been updated
via f2a1a84b43642f3d0911a351d9308d5501693290 (commit)
via 233d0aa078f6c70a10c84e1bc1365b18c39a7ae9 (commit)
from b1c287aa71c7559ee0cd1b1f3eef971491cf1c04 (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 f2a1a84b43642f3d0911a351d9308d5501693290
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Tue Dec 12 19:20:16 2017 +0300
api: ipsec: drop odp_ipsec_proto_layer_t
Use odp_proto_layer_t to specify outer header retention level. Drop
separate odp_ipsec_proto_layer_t.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index c6795468..4f8748a6 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -69,27 +69,6 @@ typedef enum odp_ipsec_op_mode_t {
} odp_ipsec_op_mode_t;
-/**
- * Protocol layers in IPSEC configuration
- */
-typedef enum odp_ipsec_proto_layer_t {
- /** No layers */
- ODP_IPSEC_LAYER_NONE = ODP_PROTO_LAYER_NONE,
-
- /** Layer L2 protocols (Ethernet, VLAN, etc) */
- ODP_IPSEC_LAYER_L2 = ODP_PROTO_LAYER_L2,
-
- /** Layer L3 protocols (IPv4, IPv6, ICMP, IPSEC, etc) */
- ODP_IPSEC_LAYER_L3 = ODP_PROTO_LAYER_L3,
-
- /** Layer L4 protocols (UDP, TCP, SCTP) */
- ODP_IPSEC_LAYER_L4 = ODP_PROTO_LAYER_L4,
-
- /** All layers */
- ODP_IPSEC_LAYER_ALL = ODP_PROTO_LAYER_ALL
-
-} odp_ipsec_proto_layer_t;
-
/**
* Configuration options for IPSEC inbound processing
*/
@@ -125,25 +104,25 @@ typedef struct odp_ipsec_inbound_config_t {
*
* Select up to which protocol layer (at least) outer headers are
* retained in inbound inline processing. Default value is
- * ODP_IPSEC_LAYER_NONE.
+ * ODP_PROTO_LAYER_NONE.
*
- * ODP_IPSEC_LAYER_NONE: Application does not require any outer
+ * ODP_PROTO_LAYER_NONE: Application does not require any outer
* headers to be retained.
*
- * ODP_IPSEC_LAYER_L2: Retain headers up to layer 2.
+ * ODP_PROTO_LAYER_L2: Retain headers up to layer 2.
*
- * ODP_IPSEC_LAYER_L3: Retain headers up to layer 3, otherwise the
- * same as ODP_IPSEC_LAYER_ALL.
+ * ODP_PROTO_LAYER_L3: Retain headers up to layer 3, otherwise the
+ * same as ODP_PROTO_LAYER_ALL.
*
- * ODP_IPSEC_LAYER_L4: Retain headers up to layer 4, otherwise the
- * same as ODP_IPSEC_LAYER_ALL.
+ * ODP_PROTO_LAYER_L4: Retain headers up to layer 4, otherwise the
+ * same as ODP_PROTO_LAYER_ALL.
*
- * ODP_IPSEC_LAYER_ALL: In tunnel mode, all headers before IPSEC are
+ * ODP_PROTO_LAYER_ALL: In tunnel mode, all headers before IPSEC are
* retained. In transport mode, all headers
* before IP (carrying IPSEC) are retained.
*
*/
- odp_ipsec_proto_layer_t retain_outer;
+ odp_proto_layer_t retain_outer;
/** Parse packet headers after IPSEC transformation
*
commit 233d0aa078f6c70a10c84e1bc1365b18c39a7ae9
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Tue Dec 12 19:18:29 2017 +0300
api: ipsec: use odp_proto_layer_t for parse layer spec
Usign odp_proto_layer_t for parse layer spec is more logical, as it is
the same enum that is used for the rest of packet parsing API.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index 538472a5..c6795468 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -156,9 +156,9 @@ typedef struct odp_ipsec_inbound_config_t {
*
* Each successfully transformed packet has a valid value for L3 offset
* regardless of the parse configuration. Default value is
- * ODP_IPSEC_LAYER_NONE. ODP_IPSEC_LAYER_L2 is not a valid value.
+ * ODP_PROTO_LAYER_NONE. ODP_PROTO_LAYER_L2 is not a valid value.
*/
- odp_ipsec_proto_layer_t parse;
+ odp_proto_layer_t parse_level;
/** Flags to control IPSEC payload data checks up to the selected parse
* level. Checksum checking status can be queried for each packet with
diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c
index ff8201c4..49d5531f 100644
--- a/platform/linux-generic/odp_ipsec.c
+++ b/platform/linux-generic/odp_ipsec.c
@@ -756,7 +756,7 @@ static ipsec_sa_t *ipsec_in_single(odp_packet_t pkt,
parse_param.proto = state.is_ipv4 ?
ODP_PROTO_IPV4 :
ODP_PROTO_IPV6;
- parse_param.last_layer = (odp_proto_layer_t)ipsec_config.inbound.parse;
+ parse_param.last_layer = ipsec_config.inbound.parse_level;
parse_param.chksums = ipsec_config.inbound.chksums;
/* We do not care about return code here.
diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c
index 9d263dfc..9729efb4 100644
--- a/test/validation/api/ipsec/ipsec.c
+++ b/test/validation/api/ipsec/ipsec.c
@@ -904,7 +904,7 @@ int ipsec_config(odp_instance_t ODP_UNUSED inst)
ipsec_config.inbound_mode = suite_context.inbound_op_mode;
ipsec_config.outbound_mode = suite_context.outbound_op_mode;
ipsec_config.inbound.default_queue = suite_context.queue;
- ipsec_config.inbound.parse = ODP_IPSEC_LAYER_ALL;
+ ipsec_config.inbound.parse_level = ODP_PROTO_LAYER_ALL;
if (ODP_IPSEC_OK != odp_ipsec_config(&ipsec_config))
return -1;
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/spec/ipsec.h | 43 ++++++++++----------------------------
platform/linux-generic/odp_ipsec.c | 2 +-
test/validation/api/ipsec/ipsec.c | 2 +-
3 files changed, 13 insertions(+), 34 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, caterpillar has been created
at 63fd88635cc10caaa02fdccd3f52c9494487bdd2 (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
hooks/post-receive
--