Discussion:
[lng-odp] [Linaro/odp] cb5ed2: api: crypto: provide definitions for 3GPP crypto a...
GitHub
2018-11-29 11:02:18 UTC
Permalink
Branch: refs/heads/master
Home: https://github.com/Linaro/odp
Commit: cb5ed2680f28412e72aa59f5769581bdb19d4ebd
https://github.com/Linaro/odp/commit/cb5ed2680f28412e72aa59f5769581bdb19d4ebd
Author: Dmitry Eremin-Solenikov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/crypto.h

Log Message:
-----------
api: crypto: provide definitions for 3GPP crypto algorithms

Add enumeration definitions for KASUMI F8/F9, SNOW 3G UEA2/UIA2 and ZUC
128-EEA3/128-EIA3 algorithms.

Signed-off-by: Dmitry Eremin-Solenikov <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 59a26fc8cc0be0be0e30144389cfee2e55a88ab2
https://github.com/Linaro/odp/commit/59a26fc8cc0be0be0e30144389cfee2e55a88ab2
Author: Dmitry Eremin-Solenikov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/crypto.h

Log Message:
-----------
api: crypto: add bitstring operation capability

For several wireless communication algorithms it is expected that they
operate on bit strings, which are not byte-aligned. Add cipher and auth
flags, denoting that this cipher/auth can be enabled to work in
bit-string mode.

Signed-off-by: Dmitry Eremin-Solenikov <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: bfc48dbed3d58f7f3325cd0a05445f2ab537c38e
https://github.com/Linaro/odp/commit/bfc48dbed3d58f7f3325cd0a05445f2ab537c38e
Author: Dmitry Eremin-Solenikov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/crypto/odp_crypto_test_inp.c

Log Message:
-----------
validation: crypto: add support for bit mode algorithm testing

Signed-off-by: Dmitry Eremin-Solenikov <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: e6a9fa3c8d910fcc0f31cf5f3334addf3246d482
https://github.com/Linaro/odp/commit/e6a9fa3c8d910fcc0f31cf5f3334addf3246d482
Author: Dmitry Eremin-Solenikov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/crypto/odp_crypto_test_inp.c
M test/validation/api/crypto/test_vectors.h
M test/validation/api/crypto/test_vectors_len.h

Log Message:
-----------
validation: crypto: 3GPP crypto algorightms support

Signed-off-by: Dmitry Eremin-Solenikov <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 62782960967bd58553139d6b20f91a5849a2c288
https://github.com/Linaro/odp/commit/62782960967bd58553139d6b20f91a5849a2c288
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/abi-default/shared_memory.h
M include/odp/api/spec/shared_memory.h
M platform/linux-generic/include-abi/odp/api/abi/shared_memory.h

Log Message:
-----------
api: shm: remove unused ODP_SHM_NULL define

ODP_SHM_INVALID should be used instead.

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 97bb0f3801f2f1692a12e24d9aa4fadf0b8ce477
https://github.com/Linaro/odp/commit/97bb0f3801f2f1692a12e24d9aa4fadf0b8ce477
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/abi-default/timer.h
M platform/linux-generic/include-abi/odp/api/abi/timer.h
M platform/linux-generic/odp_timer.c

Log Message:
-----------
abi: timer: use strong type for odp_timer_pool_t

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: e06d1f6cfb34e13b6a3bc81220f07c1207c04248
https://github.com/Linaro/odp/commit/e06d1f6cfb34e13b6a3bc81220f07c1207c04248
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M example/classifier/odp_classifier.c
M include/odp/api/abi-default/classification.h
M include/odp/api/spec/classification.h
M platform/linux-generic/include-abi/odp/api/abi/classification.h
M platform/linux-generic/odp_classification.c
M test/validation/api/classification/odp_classification_basic.c
M test/validation/api/classification/odp_classification_test_pmr.c
M test/validation/api/classification/odp_classification_tests.c

Log Message:
-----------
api: classifier: rename ODP_PMR_INVAL to ODP_PMR_INVALID

Deprecates ODP_PMR_INVAL.

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Balasubramanian Manoharan <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: e49af8a47be1f267a9d0a50066f9b7ba2f8bd774
https://github.com/Linaro/odp/commit/e49af8a47be1f267a9d0a50066f9b7ba2f8bd774
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/packet.h

Log Message:
-----------
api: packet: add subtype call

This call is useful when packet subtype needs to be checked sometime
after an event has been converted into a packet. The first
application stage (receiving and converting events) does not have to
record packet subtype for following application stages that process
only packets, not events.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 2411cd30bfc38651860fcc0e9f1331c3a37ccfbe
https://github.com/Linaro/odp/commit/2411cd30bfc38651860fcc0e9f1331c3a37ccfbe
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/include/odp/api/plat/packet_inline_types.h
M platform/linux-generic/include/odp/api/plat/packet_inlines.h
M platform/linux-generic/include/odp_packet_internal.h
M platform/linux-generic/odp_event.c
M platform/linux-generic/odp_packet.c
M platform/linux-generic/pktio/loop.c

Log Message:
-----------
linux-gen: packet: implementation subtype api

Add inlined implementation of the new subtype API call and use
that internally.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: f9bb28e43836da8183276199f888fb8ee612defa
https://github.com/Linaro/odp/commit/f9bb28e43836da8183276199f888fb8ee612defa
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/crypto/odp_crypto_test_inp.c
M test/validation/api/ipsec/ipsec.c
M test/validation/api/packet/packet.c

Log Message:
-----------
validation: packet: add packet subtype tests

Check that packet subtype is correct.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: a89e63bb67bfc163ac67aed49a3e3b733aca8384
https://github.com/Linaro/odp/commit/a89e63bb67bfc163ac67aed49a3e3b733aca8384
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/abi-default/packet.h
M include/odp/api/spec/packet.h
M platform/linux-generic/include-abi/odp/api/abi/packet.h

Log Message:
-----------
api: packet: add parse result call

This enables application to read all commonly used packet parser
results with a single function call. This may improve performance
when multiple results are needed, especially in ABI compatible
builds where function inlining is likely disabled.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: ca71292dbadc5959ebcfaeda0c071ed558359b8b
https://github.com/Linaro/odp/commit/ca71292dbadc5959ebcfaeda0c071ed558359b8b
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/odp_packet.c

Log Message:
-----------
linux-gen: packet: implement packet result calls

Simple implementation of the new packet result calls. Especially,
flag copy needs to be optimized by storing flag bits directly into
API defined format (packet_parse_result_flag_t) in the packet
header.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 7b9a1713a148fffff7095215b661f37ffc2a681b
https://github.com/Linaro/odp/commit/7b9a1713a148fffff7095215b661f37ffc2a681b
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/packet/packet.c

Log Message:
-----------
validation: packet: add num_pkt parameter to parse_test_alloc

It's more robust to use a parameter instead of assuming that
a fixed number of packets are allocated.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 0485bc704a497ca482fe47228d6295fac661d947
https://github.com/Linaro/odp/commit/0485bc704a497ca482fe47228d6295fac661d947
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/packet/packet.c

Log Message:
-----------
validation: packet: add parse result test

Test new parse result functions.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 9b11cef7a44294ec094e508f8090d77c2284728e
https://github.com/Linaro/odp/commit/9b11cef7a44294ec094e508f8090d77c2284728e
Author: Bogdan Pricope <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/packet_io.h

Log Message:
-----------
api: pktio: extend odp_pktin_queue_param_t to support per queue configuration

Per queue configuration enables advanced usecases where input queues
of the same interface may belong to different scheduler groups.

Signed-off-by: Bogdan Pricope <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 48e3615af2cf18136a32b5a0afa0d05303bd4d36
https://github.com/Linaro/odp/commit/48e3615af2cf18136a32b5a0afa0d05303bd4d36
Author: Bogdan Pricope <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/odp_packet_io.c

Log Message:
-----------
linux-gen: pktio: implement per queue pktin configuration

Enables advanced usecases where heterogeneous settings are needed
on input queues of the same interface.

Signed-off-by: Bogdan Pricope <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 6afbe90158988dc36e25b1954fe1fe9124ae7df1
https://github.com/Linaro/odp/commit/6afbe90158988dc36e25b1954fe1fe9124ae7df1
Author: Bogdan Pricope <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/pktio/pktio.c

Log Message:
-----------
validation: pktio: test per queue pktin configuration

Signed-off-by: Bogdan Pricope <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 9cd5b915b1b65e4e5fc83dedf9afa7029f1d3274
https://github.com/Linaro/odp/commit/9cd5b915b1b65e4e5fc83dedf9afa7029f1d3274
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/timer.h

Log Message:
-----------
api: timer: add timer pool capabilities

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed by Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 3bd31be9ea2f5e96e96a638a081d8223d1734e6c
https://github.com/Linaro/odp/commit/3bd31be9ea2f5e96e96a638a081d8223d1734e6c
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/odp_timer.c

Log Message:
-----------
linux-gen: timer: implement new timer pool capabilities

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed by Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: e5f7c8fd4249b11a86715cd31394c73145cc674e
https://github.com/Linaro/odp/commit/e5f7c8fd4249b11a86715cd31394c73145cc674e
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/timer/timer.c

Log Message:
-----------
validation: timer: use new timer pool capabilities

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed by Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 9504a42688ff7242317b0aa4669dff2bf7aa9d93
https://github.com/Linaro/odp/commit/9504a42688ff7242317b0aa4669dff2bf7aa9d93
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/crypto.h

Log Message:
-----------
api: crypto: improve odp_crypto_session_param_t documentation

Added default values. Documented when key and IV parameters
need to be set. AEAD algorithm use cipher side key/IV and
ignore authentication side key/IV. These specification updates
confirm current reference implementation and validation test
cases.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 3d1711bc27a819876552e1104a3f2fdfb0760a4e
https://github.com/Linaro/odp/commit/3d1711bc27a819876552e1104a3f2fdfb0760a4e
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/ipsec.h

Log Message:
-----------
api: ipsec: add auth_key_extra IPSEC crypto param

IPSEC needs salt (extra keying material) when GMAC authentication
algorithm is used. Added auth_key_extra for that use case.

Also improved algorithm, key and key_extra usage documentation.
All algorithms that need salt/nonce are now listed. Cipher side
key information need to be set always when algorithm is not NULL.
Authentication side key information is ignored when a single
algorithm (AEAD) does both cipher and authentication.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 411a07b61019cece7545fb325cc77a328a657f83
https://github.com/Linaro/odp/commit/411a07b61019cece7545fb325cc77a328a657f83
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/odp_ipsec_sad.c
M test/performance/odp_ipsec.c
M test/validation/api/ipsec/ipsec.c
M test/validation/api/ipsec/ipsec.h
M test/validation/api/ipsec/ipsec_test_in.c
M test/validation/api/ipsec/ipsec_test_out.c

Log Message:
-----------
linux-gen: ipsec: use new auth_key_extra

Change implementation and validation test to use the new
authentication algorithm extra keying material. It is set only
in GMAC test cases.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: d867eedd6987daba2f03f3b036601708969528f1
https://github.com/Linaro/odp/commit/d867eedd6987daba2f03f3b036601708969528f1
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/schedule.h

Log Message:
-----------
api: sched: add priority min/max/default functions

Added functions to read min/max/default priority levels.
Priority level is an integer, higher value means higher
priority and thus max >= min.

Functions are needed to allow number of priorities to be
dynamic. Especially, ABI compat mode needs functions instead
of macros (#defines).

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 9e1d151f2f308c16ed542a7fa1ab0f0cf1e7a0fc
https://github.com/Linaro/odp/commit/9e1d151f2f308c16ed542a7fa1ab0f0cf1e7a0fc
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/abi-default/schedule_types.h
M include/odp/api/spec/schedule_types.h

Log Message:
-----------
api: sched: odp_schedule_prio_t is an integer

Change odp_schedule_prio_t from an implementation specific type
to integer. Application needs to be able to calculate priority
values between min/default/max, so the type cannot be abstract.
Since type is used in slow path (queue creation), a fixed type
does not harm performance. A fixed type helps in portability
(ABI compatibility).

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 7b23d26816a334804277a87e5ea93f2958e5a6ec
https://github.com/Linaro/odp/commit/7b23d26816a334804277a87e5ea93f2958e5a6ec
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/schedule_types.h

Log Message:
-----------
api: sched: favor priority functions over macros

Priority macros will be deprecated, function calls should be used
instead.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: ec16951089de3ed475570d253f1f0b0746304cc9
https://github.com/Linaro/odp/commit/ec16951089de3ed475570d253f1f0b0746304cc9
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/abi-default/schedule_types.h
M platform/linux-generic/include/odp_schedule_if.h
M platform/linux-generic/odp_queue_basic.c
M platform/linux-generic/odp_queue_scalable.c
M platform/linux-generic/odp_schedule_basic.c
M platform/linux-generic/odp_schedule_if.c
M platform/linux-generic/odp_schedule_scalable.c
M platform/linux-generic/odp_schedule_sp.c
M test/validation/api/classification/odp_classification_tests.c

Log Message:
-----------
linux-gen: sched: implement min/max/default prio functions

Implemented the new functions for all schedulers. API defines now
that priority level increases with the integer value.
Implementations use internally inversed priority levels (max == 0).

Classifier test had wrong assumption about previous API priority
level specification, and needed fixing. Previously, integer values
were implementation specific, i.e. it was possible that value of
PRIO_LOWEST < PRIO_HIGHEST, or PRIO_LOWEST > PRIO_HIGHEST.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 8ea3be29a66bd7bfe2776f5117f3c8bac78668ea
https://github.com/Linaro/odp/commit/8ea3be29a66bd7bfe2776f5117f3c8bac78668ea
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/classification/odp_classification_common.c
M test/validation/api/classification/odp_classification_tests.c
M test/validation/api/queue/queue.c
M test/validation/api/scheduler/scheduler.c
M test/validation/api/timer/timer.c

Log Message:
-----------
validation: sched: convert priority macros to function calls

Prefer direct function calls over macros. Macros will be
deprecated.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 20a76096f5bbc87f545f16be72f766d26d5865c5
https://github.com/Linaro/odp/commit/20a76096f5bbc87f545f16be72f766d26d5865c5
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/scheduler/scheduler.c

Log Message:
-----------
validation: sched: add priority function tests

Test priority functions and macros.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: cc7bc42309d5d1bf844af376f13a981cf57cb76b
https://github.com/Linaro/odp/commit/cc7bc42309d5d1bf844af376f13a981cf57cb76b
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/queue/queue.c

Log Message:
-----------
validation: queue: default queue parameter values

Check that queue_param_init sets default queue parameter values
correctly.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: ed4270a59273b13619bda3a903fe83bb47ea6087
https://github.com/Linaro/odp/commit/ed4270a59273b13619bda3a903fe83bb47ea6087
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/schedule.h

Log Message:
-----------
api: sched: add wait and no_wait schedule functions

Schedule call is one of the most used ODP API calls. Introduce
versions without the wait parameter as wait / no_wait are the
most used wait options. Implementation saves a number of
if-conditions per schedule call.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: b2be0e3688db91640882eb9df24a3a9f43cb3d88
https://github.com/Linaro/odp/commit/b2be0e3688db91640882eb9df24a3a9f43cb3d88
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/include/odp_schedule_if.h
M platform/linux-generic/odp_schedule_basic.c
M platform/linux-generic/odp_schedule_if.c
M platform/linux-generic/odp_schedule_scalable.c
M platform/linux-generic/odp_schedule_sp.c

Log Message:
-----------
linux-gen: sched: implement wait and no_wait functions

Implemented the new odp_schedule_multi_wait() and _no_wait()
functions.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: b277ad28d344aa9bb98c26cc84bc071d57559a41
https://github.com/Linaro/odp/commit/b277ad28d344aa9bb98c26cc84bc071d57559a41
Author: Petri Savolainen <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/scheduler/scheduler.c

Log Message:
-----------
validation: sched: add test case for wait and no_wait

Added a test case for the new odp_schedule_multi_wait() and
_no_wait() functions.

Signed-off-by: Petri Savolainen <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 0c0a0fc7fba874f14821e096c62b7fbeecd9b25a
https://github.com/Linaro/odp/commit/0c0a0fc7fba874f14821e096c62b7fbeecd9b25a
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M include/odp/api/spec/init.h

Log Message:
-----------
api: init: add new mem_model member to odp_init_t

Add new odp_mem_model_t enum for configuring application memory model. This
enables an application to operate in process mode without the need to
modify ODP configuration file.

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 47d3ace1c522e193cefb9730d046350817d31ecd
https://github.com/Linaro/odp/commit/47d3ace1c522e193cefb9730d046350817d31ecd
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/odp_init.c

Log Message:
-----------
linux-gen: init: use new odp_init_t.mem_model parameter

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 48f8e6319df988f70bf9efde1cfab76ca4fa4549
https://github.com/Linaro/odp/commit/48f8e6319df988f70bf9efde1cfab76ca4fa4549
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/validation/api/init/init_main_ok.c

Log Message:
-----------
validation: init: add test for odp_init_t.mem_model

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 5d002e728f60be318f235cc610b4f1dd631a34ba
https://github.com/Linaro/odp/commit/5d002e728f60be318f235cc610b4f1dd631a34ba
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M helper/include/odp/helper/threads.h
M helper/threads.c

Log Message:
-----------
helper: threads: replace odph_linux_thread_type_t with odp_mem_model_t

Replace enum odph_odpthread_linuxtype_t with odp_mem_model_t.

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 1065c7735a98611308f7430839a62e8a1fab40da
https://github.com/Linaro/odp/commit/1065c7735a98611308f7430839a62e8a1fab40da
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M helper/include/odp/helper/threads.h
M helper/threads.c

Log Message:
-----------
helper: threads: add odph_options() getter function

Add function for reading parsed linux helper options.

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: c80718ccd7b16d959a08292bc527f9bd66d5d1a2
https://github.com/Linaro/odp/commit/c80718ccd7b16d959a08292bc527f9bd66d5d1a2
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M helper/test/odpthreads.c

Log Message:
-----------
helper: test: add test for new odph_options() function

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 1ecf1ddef06e0bb00641f2eb6605c34640c603ff
https://github.com/Linaro/odp/commit/1ecf1ddef06e0bb00641f2eb6605c34640c603ff
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/test/mmap_vlan_ins/mmap_vlan_ins.c
M test/performance/odp_bench_packet.c
M test/performance/odp_cpu_bench.c
M test/performance/odp_crypto.c
M test/performance/odp_ipsec.c
M test/performance/odp_l2fwd.c
M test/performance/odp_pktio_ordered.c
M test/performance/odp_pktio_perf.c
M test/performance/odp_sched_latency.c
M test/performance/odp_sched_pktio.c
M test/performance/odp_scheduling.c

Log Message:
-----------
test: performance: use mem_model from helper options

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: a4d92554bdb13f7aa3a1ab2ef212f080d5b5abcd
https://github.com/Linaro/odp/commit/a4d92554bdb13f7aa3a1ab2ef212f080d5b5abcd
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M example/classifier/odp_classifier.c
M example/generator/odp_generator.c
M example/ipsec/odp_ipsec.c
M example/ipsec_api/odp_ipsec.c
M example/l2fwd_simple/odp_l2fwd_simple.c
M example/packet/odp_pktio.c
M example/switch/odp_switch.c
M example/time/time_global_test.c
M example/timer/odp_timer_test.c

Log Message:
-----------
example: use mem_model from helper options

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: dbaed696a6409093dc9d387c8ea946362b6ce212
https://github.com/Linaro/odp/commit/dbaed696a6409093dc9d387c8ea946362b6ce212
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/common/odp_cunit_common.c
M test/validation/api/atomic/atomic.c
M test/validation/api/barrier/barrier.c
M test/validation/api/crypto/odp_crypto_test_inp.c
M test/validation/api/ipsec/ipsec.c
M test/validation/api/lock/lock.c
M test/validation/api/thread/thread.c
M test/validation/api/timer/timer.c

Log Message:
-----------
validation: use use mem_model from helper options

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 0b511f3fdd3cbea300fa3108c17b1f8fcfe75da4
https://github.com/Linaro/odp/commit/0b511f3fdd3cbea300fa3108c17b1f8fcfe75da4
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M config/odp-linux-generic.conf
M platform/linux-generic/odp_ishm.c
M platform/linux-generic/test/inline-timer.conf
M platform/linux-generic/test/process-mode.conf

Log Message:
-----------
linux-gen: shm: remove single_va configuration option

Process mode is now enabled by setting odp_init_global() parameter
odp_init_t.mem_model to ODP_MEM_MODEL_PROCESS.

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-by: Petri Savolainen <***@linaro.org>
Signed-off-by: Maxim Uvarov <***@linaro.org>


Commit: 0748e9fc9fcc121ceb4e914870145461cc0a87eb
https://github.com/Linaro/odp/commit/0748e9fc9fcc121ceb4e914870145461cc0a87eb
Author: Maxim Uvarov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M scripts/ci/check.sh

Log Message:
-----------
travis: check.sh request huge pages at early start

Signed-off-by: Maxim Uvarov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>


Commit: 21bdc8b9d58ba5bf0dd3cb569587f4c53edd7ee3
https://github.com/Linaro/odp/commit/21bdc8b9d58ba5bf0dd3cb569587f4c53edd7ee3
Author: Maxim Uvarov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/m4/configure.m4
M platform/linux-generic/test/Makefile.am
R platform/linux-generic/test/performance/.gitignore
R platform/linux-generic/test/performance/Makefile.am
R platform/linux-generic/test/performance/odp_scheduling_run_proc.sh

Log Message:
-----------
linux-gen: remove performance test for process mode

process mode tests run when process mode config is
specified. Here it has to be dropped.

Signed-off-by: Maxim Uvarov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>


Commit: e9bdfb477cc3c329e443cb8d2ffe5ce6ead7de8b
https://github.com/Linaro/odp/commit/e9bdfb477cc3c329e443cb8d2ffe5ce6ead7de8b
Author: Maxim Uvarov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M platform/linux-generic/odp_ishm.c

Log Message:
-----------
linux-gen: ishm: add missing cast to calculate max_memory

Fix integer overflow doing math for max_memory.

Signed-off-by: Maxim Uvarov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>


Commit: 4fd6b609766aa741617e3fa443dd5d9c0bb9eb71
https://github.com/Linaro/odp/commit/4fd6b609766aa741617e3fa443dd5d9c0bb9eb71
Author: Maxim Uvarov <***@linaro.org>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M test/performance/odp_sched_pktio.c

Log Message:
-----------
text: perf odp_sched_pktio: try to terminate on failure

try to do clean up even if error was detected (try to remove
openned files for mmap.)

Signed-off-by: Maxim Uvarov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>


Commit: 5f95fc513d87d46753cf81a5da20b5ff4852eeff
https://github.com/Linaro/odp/commit/5f95fc513d87d46753cf81a5da20b5ff4852eeff
Author: Matias Elo <***@nokia.com>
Date: 2018-11-28 (Wed, 28 Nov 2018)

Changed paths:
M example/generator/odp_generator.c
M test/performance/odp_l2fwd_run.sh
M test/performance/odp_sched_pktio_run.sh

Log Message:
-----------
example: generator: add signal handler for SIGINT

Free used resources after receiving SIGINT.

Signed-off-by: Matias Elo <***@nokia.com>
Reviewed-by: Bill Fischofer <***@linaro.org>


Commit: 6576ed1f000f326a44c636a3e5d832a7a2cfd4f7
https://github.com/Linaro/odp/commit/6576ed1f000f326a44c636a3e5d832a7a2cfd4f7
Author: Maxim Uvarov <***@linaro.org>
Date: 2018-11-29 (Thu, 29 Nov 2018)

Changed paths:
M configure.ac
M platform/linux-generic/m4/configure.m4
R platform/linux-generic/m4/performance.m4

Log Message:
-----------
linux-gen: drop performance.m4

performance.m4 which provides --enable-test-perf-proc is
not needed now because process mode is tested with standard
tests.

Signed-off-by: Maxim Uvarov <***@linaro.org>
Reviewed-by: Bill Fischofer <***@linaro.org>
Reviewed-and-tested-by Matias Elo <***@nokia.com>


Compare: https://github.com/Linaro/odp/compare/686811c2f396...6576ed1f000f
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

Functionality will be removed from GitHub.com on January 31st, 2019.
Loading...