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 5b915893c793ffb3d49152d480d084dba32a5a74 (commit)
from f1449d2555fbfa3d72aeb79d3ad6d2f199e83731 (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 5b915893c793ffb3d49152d480d084dba32a5a74
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Wed Dec 13 01:15:40 2017 +0300
tests: compile and execute validation tests before the rest of tests
Validation tests examine API thoroughly. Compile and execute them before
performance and misc tests.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/Makefile.am b/test/Makefile.am
index 8fbd9190..ba13eae8 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1 +1 @@
-SUBDIRS = common performance miscellaneous validation
+SUBDIRS = common validation performance miscellaneous
-----------------------------------------------------------------------
Summary of changes:
test/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 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, api-next has been updated
via 578ecf796dc0bf7bb230b3488d263dd455ed0a18 (commit)
via f1449d2555fbfa3d72aeb79d3ad6d2f199e83731 (commit)
via 5d6aea3f7186a4533ffb7a2bc4858a1d339ebbb4 (commit)
via 260ca880b76151b66919cf0f3c149c2ba9ede24e (commit)
from 6ca5f5cb57de9f71ace37118a9b0788b2abf529e (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 578ecf796dc0bf7bb230b3488d263dd455ed0a18
Merge: 6ca5f5cb f1449d25
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Sat Dec 23 23:24:44 2017 +0300
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 2 --
test/common/odp_cunit_common.c | 14 ++++++++++++++
test/common/odp_cunit_common.h | 2 --
test/validation/api/packet/packet.c | 2 +-
4 files changed, 15 insertions(+), 5 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 f1449d2555fbfa3d72aeb79d3ad6d2f199e83731 (commit)
via 5d6aea3f7186a4533ffb7a2bc4858a1d339ebbb4 (commit)
from 260ca880b76151b66919cf0f3c149c2ba9ede24e (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:
.travis.yml | 2 --
test/common/odp_cunit_common.c | 14 ++++++++++++++
test/common/odp_cunit_common.h | 2 --
3 files changed, 14 insertions(+), 4 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 260ca880b76151b66919cf0f3c149c2ba9ede24e (commit)
from 4c4052f894b8df5784d2aae2e36b96796ee020fd (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 260ca880b76151b66919cf0f3c149c2ba9ede24e
Author: Bill Fischofer <bill.fischofer(a)linaro.org>
Date: Thu Dec 21 10:02:16 2017 -0600
test: validation: correct comparison in packet_test_ref()
Fix typo in CU_ASSERT() that used an assignment instead of a
comparison in testing reference length.
This fixes Bug https://bugs.linaro.org/show_bug.cgi?id=3466
Signed-off-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/validation/api/packet/packet.c b/test/validation/api/packet/packet.c
index 9318dfc7..241681df 100644
--- a/test/validation/api/packet/packet.c
+++ b/test/validation/api/packet/packet.c
@@ -2354,7 +2354,7 @@ void packet_test_ref(void)
ref_pkt[0] = odp_packet_ref(base_pkt, offset[0]);
CU_ASSERT_FATAL(ref_pkt[0] != ODP_PACKET_INVALID);
ref_len[0] = odp_packet_len(ref_pkt[0]);
- CU_ASSERT(ref_len[0] = odp_packet_len(base_pkt) - offset[0]);
+ CU_ASSERT(ref_len[0] == odp_packet_len(base_pkt) - offset[0]);
CU_ASSERT(odp_packet_push_head(base_pkt,
base_hr - base_hr / 2) != NULL);
-----------------------------------------------------------------------
Summary of changes:
test/validation/api/packet/packet.c | 2 +-
1 file changed, 1 insertion(+), 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, api-next has been updated
via eb8be4f5a77b45fe279c1412231c5bc7de32a166 (commit)
via b15b01036bd985d6218f9f756d108712c8d84fed (commit)
from 85b2f8e1f52929dec7f5d8933c8cb4b9373b6754 (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 eb8be4f5a77b45fe279c1412231c5bc7de32a166
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Wed Dec 13 22:38:10 2017 +0300
linux-gen: pktio: loop: reset packet subtype to BASIC
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(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/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c
index 6d19863f..7f2e35c1 100644
--- a/platform/linux-generic/pktio/loop.c
+++ b/platform/linux-generic/pktio/loop.c
@@ -172,19 +172,18 @@ static int loopback_send(pktio_entry_t *pktio_entry, int index ODP_UNUSED,
bytes += odp_packet_len(pkt_tbl[i]);
}
- if (pktio_entry->s.config.outbound_ipsec)
- for (i = 0; i < len; ++i) {
- odp_ipsec_packet_result_t result;
+ for (i = 0; i < len; ++i) {
+ odp_ipsec_packet_result_t result;
- if (packet_subtype(pkt_tbl[i]) !=
- ODP_EVENT_PACKET_IPSEC)
- continue;
+ if (packet_subtype(pkt_tbl[i]) ==
+ ODP_EVENT_PACKET_IPSEC &&
+ pktio_entry->s.config.outbound_ipsec) {
/* Possibly postprocessing packet */
odp_ipsec_result(&result, pkt_tbl[i]);
-
- packet_subtype_set(pkt_tbl[i], ODP_EVENT_PACKET_BASIC);
}
+ packet_subtype_set(pkt_tbl[i], ODP_EVENT_PACKET_BASIC);
+ }
odp_ticketlock_lock(&pktio_entry->s.txl);
commit b15b01036bd985d6218f9f756d108712c8d84fed
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Wed Dec 13 22:35:51 2017 +0300
linux-gen: pktio: loop: reset flags before reparsing packtes
Stale flags can interfere with packet processing, so let's reset them.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(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/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c
index f887e1a2..6d19863f 100644
--- a/platform/linux-generic/pktio/loop.c
+++ b/platform/linux-generic/pktio/loop.c
@@ -88,6 +88,7 @@ static int loopback_recv(pktio_entry_t *pktio_entry, int index ODP_UNUSED,
pkt_len = odp_packet_len(pkt);
pkt_hdr = odp_packet_hdr(pkt);
+ packet_parse_reset(pkt_hdr);
if (pktio_cls_enabled(pktio_entry)) {
odp_packet_t new_pkt;
odp_pool_t new_pool;
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/pktio/loop.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 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 d3d70123198484f659f1aebc6e34a4da89e10b29 (commit)
via 1adc8ef5dbcfde127c1b52df84152c187519b27e (commit)
from 177eeff39e19289e771119cfdffc515cb16f9db5 (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 d3d70123198484f659f1aebc6e34a4da89e10b29
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Thu Dec 21 00:35:46 2017 +0300
validation: crypto: do not run tests if mode is not supported
Do not run packet tests if corresponding packet-mode operation is not
supported by the platform.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(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/test/validation/api/crypto/odp_crypto_test_inp.c b/test/validation/api/crypto/odp_crypto_test_inp.c
index 7ad2889f..8474ed83 100644
--- a/test/validation/api/crypto/odp_crypto_test_inp.c
+++ b/test/validation/api/crypto/odp_crypto_test_inp.c
@@ -533,6 +533,15 @@ static int check_alg_support(odp_cipher_alg_t cipher, odp_auth_alg_t auth)
if (odp_crypto_capability(&capability))
return ODP_TEST_INACTIVE;
+ if (suite_context.packet) {
+ if (suite_context.op_mode == ODP_CRYPTO_SYNC &&
+ capability.sync_mode == ODP_SUPPORT_NO)
+ return ODP_TEST_INACTIVE;
+ if (suite_context.op_mode == ODP_CRYPTO_ASYNC &&
+ capability.async_mode == ODP_SUPPORT_NO)
+ return ODP_TEST_INACTIVE;
+ }
+
/* Cipher algorithms */
switch (cipher) {
case ODP_CIPHER_ALG_NULL:
commit 1adc8ef5dbcfde127c1b52df84152c187519b27e
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Thu Dec 21 00:35:03 2017 +0300
linux-gen: crypto: populate sync/async_mode caps
Report to application that crypto module supports packet operation in
both sync and async modes.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(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/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c
index 11635cda..69e6d0da 100644
--- a/platform/linux-generic/odp_crypto.c
+++ b/platform/linux-generic/odp_crypto.c
@@ -722,6 +722,9 @@ int odp_crypto_capability(odp_crypto_capability_t *capa)
/* Initialize crypto capability structure */
memset(capa, 0, sizeof(odp_crypto_capability_t));
+ capa->sync_mode = ODP_SUPPORT_PREFERRED;
+ capa->async_mode = ODP_SUPPORT_YES;
+
capa->ciphers.bit.null = 1;
capa->ciphers.bit.trides_cbc = 1;
capa->ciphers.bit.aes_cbc = 1;
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_crypto.c | 3 +++
test/validation/api/crypto/odp_crypto_test_inp.c | 9 +++++++++
2 files changed, 12 insertions(+)
hooks/post-receive
--