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 698d82ce41a3f6ca08c6f218784d3eea6ac81e42 (commit)
from cd097450cbf9d7bb6cd24654f8d43ceade5b114a (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 698d82ce41a3f6ca08c6f218784d3eea6ac81e42
Author: Nikhil Agarwal <nikhil.agarwal(a)linaro.org>
Date: Thu Jul 13 12:00:06 2017 +0300
api: ipsec: add retain header capability
Signed-off-by: Nikhil Agarwal <nikhil.agarwal(a)linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Reviewed-by: Balasubramanian Manoharan <bala.manoharan(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/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index e602e4b8..54491b12 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -262,6 +262,12 @@ typedef struct odp_ipsec_capability_t {
*/
odp_support_t pipeline_cls;
+ /**
+ * Support of retaining outer headers (retain_outer) in inbound inline
+ * processed packets
+ */
+ odp_support_t retain_header;
+
/** Maximum number of different destination CoSes in classification
* pipelining. The same CoS may be used for many SAs. This is equal or
* less than 'max_cos' capability in classifier API.
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/spec/ipsec.h | 6 ++++++
1 file changed, 6 insertions(+)
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 cd097450cbf9d7bb6cd24654f8d43ceade5b114a (commit)
from ee5be324411a7520528a367967c28fc529d3bc2e (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 cd097450cbf9d7bb6cd24654f8d43ceade5b114a
Author: Petri Savolainen <petri.savolainen(a)linaro.org>
Date: Mon Jun 26 13:24:28 2017 +0300
test: l2fwd: list not used features
List not used features so that performance may be optimized
on some platforms. E.g. on odp-linux implementation, timer
polling causes high overhead, which is disabled when timers
are not used.
Signed-off-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/test/common_plat/performance/odp_l2fwd.c b/test/common_plat/performance/odp_l2fwd.c
index 78b3633b..851614d6 100644
--- a/test/common_plat/performance/odp_l2fwd.c
+++ b/test/common_plat/performance/odp_l2fwd.c
@@ -1387,9 +1387,19 @@ int main(int argc, char *argv[])
odp_instance_t instance;
int num_groups;
odp_schedule_group_t group[MAX_PKTIOS];
+ odp_init_t init;
+
+ odp_init_param_init(&init);
+
+ /* List features not to be used (may optimize performance) */
+ init.not_used.feat.cls = 1;
+ init.not_used.feat.crypto = 1;
+ init.not_used.feat.ipsec = 1;
+ init.not_used.feat.timer = 1;
+ init.not_used.feat.tm = 1;
/* Init ODP before calling anything else */
- if (odp_init_global(&instance, NULL, NULL)) {
+ if (odp_init_global(&instance, &init, NULL)) {
LOG_ERR("Error: ODP global init failed.\n");
exit(EXIT_FAILURE);
}
-----------------------------------------------------------------------
Summary of changes:
test/common_plat/performance/odp_l2fwd.c | 12 +++++++++++-
1 file changed, 11 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 5a2ed3eefb1a263139282c376741adb2c355bd5a (commit)
from 2541e8688750f2a045aff3dbf544868be3ebf787 (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 5a2ed3eefb1a263139282c376741adb2c355bd5a
Author: Nikhil Agarwal <nikhil.agarwal(a)linaro.org>
Date: Wed Jun 28 11:41:50 2017 +0530
test:queue:update order queue test for locks.
Order queue test should reserve ordered locks only if
ordered locks count is more than 1.
Signed-off-by: Nikhil Agarwal <nikhil.agarwal(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/common_plat/validation/api/queue/queue.c b/test/common_plat/validation/api/queue/queue.c
index 6a13c006..f08d811f 100644
--- a/test/common_plat/validation/api/queue/queue.c
+++ b/test/common_plat/validation/api/queue/queue.c
@@ -262,6 +262,7 @@ void queue_test_info(void)
const char *const nq_order = "test_q_order";
odp_queue_info_t info;
odp_queue_param_t param;
+ odp_queue_capability_t capability;
char q_plain_ctx[] = "test_q_plain context data";
char q_order_ctx[] = "test_q_order context data";
unsigned lock_count;
@@ -274,13 +275,18 @@ void queue_test_info(void)
CU_ASSERT(odp_queue_context_set(q_plain, q_plain_ctx,
sizeof(q_plain_ctx)) == 0);
+ memset(&capability, 0, sizeof(odp_queue_capability_t));
+ CU_ASSERT(odp_queue_capability(&capability) == 0);
/* Create a scheduled ordered queue with explicitly set params */
odp_queue_param_init(¶m);
param.type = ODP_QUEUE_TYPE_SCHED;
param.sched.prio = ODP_SCHED_PRIO_NORMAL;
param.sched.sync = ODP_SCHED_SYNC_ORDERED;
param.sched.group = ODP_SCHED_GROUP_ALL;
- param.sched.lock_count = 1;
+ if (capability.max_ordered_locks)
+ param.sched.lock_count = 1;
+ else
+ param.sched.lock_count = 0;
param.context = q_order_ctx;
q_order = odp_queue_create(nq_order, ¶m);
CU_ASSERT(ODP_QUEUE_INVALID != q_order);
-----------------------------------------------------------------------
Summary of changes:
test/common_plat/validation/api/queue/queue.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--