Re: [lng-odp] [PATCH v1] Reduce segmentation metadata

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_buffer_internal.h @@ -53,26 +47,18 @@ struct odp_buffer_hdr_t { /* Pool type */ int8_ttype; - /* Number of seg[] entries used */ - uint8_t num_seg; + /* Of

Re: [lng-odp] [PATCH v1] Reduce segmentation metadata

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: test/performance/odp_l2fwd.c line 4 @@ -1559,6 +1559,8 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } + odp_pktio_print(gbl_args->pktios[i].pktio); Comment: OK, bu

Re: [lng-odp] [PATCH v3] api: packet, cls, vxlan: vxlan and inner header parsing support

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_packet.c line 18 @@ -1982,12 +1983,31 @@ static inline void parse_tcp(packet_parser_t *prs, *parseptr += (uint32_t)tcp->hl * 4; } +static inline void parse_vxlan(packet_parser_t *prs, packet_parser_t *

[lng-odp] [Bug 3465] CID 1461688: odp_pool_create: Dereference before null check

2017-12-20 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3465 Bill Fischofer changed: What|Removed |Added Resolution|--- |FIXED Status|IN_PROGRESS

Re: [lng-odp] [PATCH v1] tests: compile and execute validation tests before the rest of tests

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: test/Makefile.am line 2 @@ -1 +1 @@ -SUBDIRS = common performance miscellaneous validation +SUBDIRS = common validation performance miscellaneous Comment: For parallel make case you need ".". Might be for the same time it's good to isolate performance tests.

Re: [lng-odp] [PATCH v2] odp_generator: update RX side

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: example/generator/odp_generator.c line 200 @@ -784,10 +811,33 @@ static void print_pkts(int thr, thread_args_t *thr_args, unsigned i; size_t offset; char msg[1024]; + interface_t *itfs, *itf; + + itfs = thr_args->rx.ifs;

Re: [lng-odp] [PATCH v2] odp_generator: update RX side

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: example/generator/odp_generator.c line 246 @@ -838,39 +892,55 @@ static int gen_recv_thread(void *arg) if (thr_args->stop) break; - /* Use schedule to get buf from any input queue */ - ev_cnt

Re: [lng-odp] [PATCH v2] odp_generator: update RX side

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: example/generator/odp_generator.c line 246 @@ -838,39 +892,55 @@ static int gen_recv_thread(void *arg) if (thr_args->stop) break; - /* Use schedule to get buf from any input queue */ - ev_cnt

Re: [lng-odp] [PATCH v2] odp_generator: update RX side

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: example/generator/odp_generator.c line 305 @@ -838,39 +892,55 @@ static int gen_recv_thread(void *arg) if (thr_args->stop) break; - /* Use schedule to get buf from any input queue */ - ev_cnt

Re: [lng-odp] [PATCH v2] odp_generator: update RX side

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: example/generator/odp_generator.c line 303 @@ -838,39 +892,55 @@ static int gen_recv_thread(void *arg) if (thr_args->stop) break; - /* Use schedule to get buf from any input queue */ - ev_cnt

Re: [lng-odp] [PATCH API-NEXT v2] validation: crypto: run the test twice to catch no-reinit errors

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: test/validation/api/crypto/odp_crypto_test_inp.c line 49 @@ -451,66 +458,71 @@ static void alg_test(odp_crypto_op_t op, odp_packet_t pkt = odp_packet_alloc(suite_context.pool, ref-

Re: [lng-odp] [PATCH API-NEXT v2] validation: crypto: run the test twice to catch no-reinit errors

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: test/validation/api/crypto/odp_crypto_test_inp.c line 49 @@ -451,66 +458,71 @@ static void alg_test(odp_crypto_op_t op, odp_packet_t pkt = odp_packet_alloc(suite_context.pool, ref->length + ref->digest_length);

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capabilit

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t cap

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 73 @@ -297,32 +351,34 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const odp_ipsec_sa_param_t *param) crypto_param.auth_alg = param->crypto.auth_alg; crypto_param.auth_key = param->cryp

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 25 @@ -190,12 +190,66 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) param->dest_queue = ODP_QUEUE_INVALID; } +/* Return IV length required for the cipher for IPsec use *

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 73 @@ -297,32 +351,34 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const odp_ipsec_sa_param_t *param) crypto_param.auth_alg = param->crypto.auth_alg; crypto_param.auth_key = param->crypto.auth_key; +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capabili

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 25 @@ -190,12 +190,66 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) param->dest_queue = ODP_QUEUE_INVALID; } +/* Return IV length required for the cipher for IPsec use *

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 55 @@ -190,12 +190,66 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) param->dest_queue = ODP_QUEUE_INVALID; } +/* Return IV length required for the cipher for IPsec use *

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 25 @@ -190,12 +190,66 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) param->dest_queue = ODP_QUEUE_INVALID; } +/* Return IV length required for the cipher for IPsec use *

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 25 @@ -190,12 +190,66 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) param->dest_queue = ODP_QUEUE_INVALID; } +/* Return IV length required for the cipher for IPsec use */ +uint32_t _odp_ipsec_

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 55 @@ -190,12 +190,66 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) param->dest_queue = ODP_QUEUE_INVALID; } +/* Return IV length required for the cipher for IPsec use */ +uint32_t _odp_ipsec_

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 25 @@ -190,12 +190,66 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param) param->dest_queue = ODP_QUEUE_INVALID; } +/* Return IV length required for the cipher for IPsec use */ +uint32_t _odp_ipsec_

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c line 73 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capabili

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t cap

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 73 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c line 32 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capabili

Re: [lng-odp] [PATCH API-NEXT v5] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

Re: [lng-odp] [PATCH API-NEXT v1] api: lock-free queues implementation

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: test/validation/api/queue/queue.c line 188 @@ -326,6 +414,7 @@ void queue_test_info(void) odp_testinfo_t queue_suite[] = { ODP_TEST_INFO(queue_test_capa), ODP_TEST_INFO(queue_test_mode), + ODP_TEST_INFO(queue_

Re: [lng-odp] [PATCH API-NEXT v1] api: lock-free queues implementation

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/queue.h line 44 @@ -164,35 +164,81 @@ typedef struct odp_queue_capability_t { /** Plain queue capabilities */ struct { - /** Maximum number of plain queues of the default size. */

Re: [lng-odp] [PATCH API-NEXT v1] api: lock-free queues implementation

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/queue.h line 44 @@ -164,35 +164,81 @@ typedef struct odp_queue_capability_t { /** Plain queue capabilities */ struct { - /** Maximum number of plain queues of the default size. */

[lng-odp] [PATCH API-NEXT v1 2/2] validation: crypto: do not run tests if mode is not supported

2017-12-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Do not run packet tests if corresponding packet-mode operation is not supported by the platform. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 355 (lumag:crypto-modes-caps) ** https://github.com/Linaro/odp/pull/355 ** Patch: https

[lng-odp] [PATCH API-NEXT v1 1/2] linux-gen: crypto: populate sync/async_mode caps

2017-12-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Report to application that crypto module supports packet operation in both sync and async modes. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 355 (lumag:crypto-modes-caps) ** https://github.com/Linaro/odp/pull/355 ** Patch: https

[lng-odp] [PATCH API-NEXT v1 0/2] Fill crypto packet-mode capabilities

2017-12-20 Thread Github ODP bot
This PR is not an API change per se, it just implements part of API previously defined (and unfortunately ommited from implementation). github /** Email created from pull request 355 (lumag:crypto-modes-caps) ** https://github.com/Linaro/odp/pull/355 ** P

[lng-odp] [PATCH v1 6/6] linux-gen: packet: calculate the start of packet pointer

2017-12-20 Thread Github ODP bot
From: Brian Brooks The start of packet pointer was adjusted on every operation involving headroom manipulation. This meant that this pointer had to be restored to its pristine (aligned) offset when the buffer was recycled for reuse. Instead of maintaining a pristine offset that could be used to

[lng-odp] [PATCH v1 5/6] Update .gitignore

2017-12-20 Thread Github ODP bot
From: Brian Brooks Signed-off-by: Brian Brooks Signed-off-by: Honnappa Nagarahalli --- /** Email created from pull request 354 (brbrooks:caterpillar) ** https://github.com/Linaro/odp/pull/354 ** Patch: https://github.com/Linaro/odp/pull/354.patch ** Base sha: 63fd88635cc10caaa02fdccd3f52c949

[lng-odp] [PATCH v1 4/6] linux-gen: packet: remove excess segmentation metadata

2017-12-20 Thread Github ODP bot
From: Brian Brooks Use a single pointer to next segment instead of an array of pointers. This reduces buffer metadata by ~140 bytes. Signed-off-by: Brian Brooks Signed-off-by: Honnappa Nagarahalli --- /** Email created from pull request 354 (brbrooks:caterpillar) ** https://github.com/Linaro/

[lng-odp] [PATCH v1 1/6] linux-gen: packet: remove duplicated odp_packet_hdr() function

2017-12-20 Thread Github ODP bot
From: Brian Brooks odp_packet_hdr() and packet_hdr() are both internal-only functions that do the same exact thing. Remove odp_packet_hdr() version since "odp_" prefix is reserved for top-level API identifiers. This is also consistent with other packet_xxx() internal-only functions. Signed-off-b

[lng-odp] [PATCH v1 2/6] linux-gen: packet: remove duplicated _odp_packet_from_buf_hdr() function

2017-12-20 Thread Github ODP bot
From: Brian Brooks _odp_packet_from_buf_hdr() and packet_from_buf_hdr() are both internal-only functions that do the exact same thing. Remove _odp_packet_from_buf_hdr() version since internal-only identifiers should not use any form of an "odp_" prefix. This is also consistent with other packet_x

[lng-odp] [PATCH v1 0/6] Reduce segmentation metadata

2017-12-20 Thread Github ODP bot
Remove ~140B worth of buffer metadata that was used for storing pointers to next segments. Instead, use a single pointer to the next segment. github /** Email created from pull request 354 (brbrooks:caterpillar) ** https://github.com/Linaro/odp/pull/354 *

[lng-odp] [PATCH v1 3/6] test: odp_l2fwd: print pktio info

2017-12-20 Thread Github ODP bot
From: Brian Brooks Add call to odp_pktio_print() to show useful info like MAC addresses and promiscuous mode. This change is also consistent with other benchmarks under test/performance/. Signed-off-by: Brian Brooks Signed-off-by: Ola Liljedahl Signed-off-by: Kevin Wang Signed-off-by: Honnapp

[lng-odp] [Linaro/odp] 233d0a: api: ipsec: use odp_proto_layer_t for parse layer ...

2017-12-20 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 233d0aa078f6c70a10c84e1bc1365b18c39a7ae9 https://github.com/Linaro/odp/commit/233d0aa078f6c70a10c84e1bc1365b18c39a7ae9 Author: Dmitry Eremin-Solenikov Date: 2017-12-20 (Wed, 20 Dec 2017) Changed paths:

[lng-odp] [PATCH API-NEXT v5 3/3] linux-gen: ipsec: adapt to capability changes

2017-12-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 351 (lumag:ipsec_crypto_caps) ** https://github.com/Linaro/odp/pull/351 ** Patch: https://github.com/Linaro/odp/pull/351.patch ** Base sha: 9e35c84dea1b66bae27a35dfc71018a0bb455950 **

[lng-odp] [PATCH API-NEXT v5 2/3] validation: ipsec: adapt to crypto capability changes

2017-12-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 351 (lumag:ipsec_crypto_caps) ** https://github.com/Linaro/odp/pull/351 ** Patch: https://github.com/Linaro/odp/pull/351.patch ** Base sha: 9e35c84dea1b66bae27a35dfc71018a0bb455950 **

[lng-odp] [PATCH API-NEXT v5 0/3] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Generic crypto caps provide too much information to be useful for IPsec applications (because some of the data is fixed). Rework respective functions to provide just necessary data. github /** Email created from pull request 351 (lumag:ipsec_crypto_caps)

[lng-odp] [PATCH API-NEXT v5 1/3] api: ipsec: add capabilities for cipher and auth algos

2017-12-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Currently IPsec uses capabilities from crypto module to report supported key lengths. Crypto capabilities also contain additional data (like digest length, IV len, AAD len, etc. However this data is not relevant for IPsec, as most of such variables are fixed by proto

[lng-odp] [Linaro/odp] b1c287: aad: crypto change aad.ptr to aad_ptr in packet pa...

2017-12-20 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: b1c287aa71c7559ee0cd1b1f3eef971491cf1c04 https://github.com/Linaro/odp/commit/b1c287aa71c7559ee0cd1b1f3eef971491cf1c04 Author: Dmitry Eremin-Solenikov Date: 2017-12-20 (Wed, 20 Dec 2017) Changed paths:

Re: [lng-odp] [PATCH API-NEXT v4] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_ipsec.c line 24 @@ -58,15 +58,64 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t capa[], int num) +

[lng-odp] [PATCH v12 3/5] test: cunit common fix header paths

2017-12-20 Thread Github ODP bot
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit

[lng-odp] [PATCH v12 5/5] travis: cunit fix function declaration in Automated.h

2017-12-20 Thread Github ODP bot
From: Maxim Uvarov some gcc fails on including this header but cunit is the latest stable release. So fix it in place until it will not be fixed upstream. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/

[lng-odp] [PATCH v12 1/5] test: build: enable cunit output to xml

2017-12-20 Thread Github ODP bot
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit

[lng-odp] [PATCH v12 4/5] shipabble: use xml statistics

2017-12-20 Thread Github ODP bot
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit

[lng-odp] [PATCH v12 2/5] linux-gen:test: shmem pass args to cunit

2017-12-20 Thread Github ODP bot
From: Maxim Uvarov Pass args to cunit to make code commong with other tests. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha:

[lng-odp] [PATCH v12 0/5] one more try to add nice stats for Shippable

2017-12-20 Thread Github ODP bot
github /** Email created from pull request 309 (muvarov:devel/master_shippable2) ** https://github.com/Linaro/odp/pull/309 ** Patch: https://github.com/Linaro/odp/pull/309.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha:

[lng-odp] [Linaro/odp] 9e0a67: api: pktio: start switching to using odp_proto_lay...

2017-12-20 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 9e0a675bacbbc497065e66e467a0ed75b1296a16 https://github.com/Linaro/odp/commit/9e0a675bacbbc497065e66e467a0ed75b1296a16 Author: Dmitry Eremin-Solenikov Date: 2017-12-20 (Wed, 20 Dec 2017) Changed paths:

Re: [lng-odp] [PATCH v8] OpenSSL ctx rework

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_crypto.c line 103 @@ -146,6 +171,8 @@ odp_crypto_generic_session_t *alloc_session(void) } odp_spinlock_unlock(&global->lock); + session->idx = (session - global->sessions) / sizeof(*sessio

Re: [lng-odp] [PATCH v8] OpenSSL ctx rework

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_crypto.c line 70 @@ -112,8 +116,32 @@ struct odp_crypto_generic_session_t { const EVP_MD *evp_md; crypto_func_t func; } auth; + + /* These bitfields are cleared at od

Re: [lng-odp] [PATCH v8] OpenSSL ctx rework

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_crypto.c line 70 @@ -112,8 +116,32 @@ struct odp_crypto_generic_session_t { const EVP_MD *evp_md; crypto_func_t func; } auth; + + /* These bitfields are cleared at od

Re: [lng-odp] [PATCH v8] OpenSSL ctx rework

2017-12-20 Thread Github ODP bot
JannePeltonen replied on github web page: platform/linux-generic/odp_crypto.c line 103 @@ -146,6 +171,8 @@ odp_crypto_generic_session_t *alloc_session(void) } odp_spinlock_unlock(&global->lock); + session->idx = (session - global->sessions) / sizeof(*session); + Comment:

Re: [lng-odp] [PATCH v8] OpenSSL ctx rework

2017-12-20 Thread Github ODP bot
JannePeltonen replied on github web page: platform/linux-generic/odp_crypto.c line 70 @@ -112,8 +116,32 @@ struct odp_crypto_generic_session_t { const EVP_MD *evp_md; crypto_func_t func; } auth; + + /* These bitfields are cleared at odp_crypto_session_

Re: [lng-odp] [PATCH v3] Fix build on Red Hat

2017-12-20 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: test/m4/miscellaneous.m4 @@ -4,5 +4,11 @@ AC_ARG_ENABLE([test-cpp], [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])], [test_cpp=$enableval], -[test_cpp=yes]) +[AC_LANG_PUSH([C++]) Comment: Will do, thanks!

Re: [lng-odp] [PATCH v3] Fix build on Red Hat

2017-12-20 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: test/m4/miscellaneous.m4 @@ -4,5 +4,11 @@ AC_ARG_ENABLE([test-cpp], [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])], [test_cpp=$enableval], -[test_cpp=yes]) +[AC_LANG_PUSH([C++]) Comment: > Missing AC_PROG_

Re: [lng-odp] [PATCH v3] Fix build on Red Hat

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/m4/miscellaneous.m4 @@ -4,5 +4,11 @@ AC_ARG_ENABLE([test-cpp], [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])], [test_cpp=$enableval], -[test_cpp=yes]) +[AC_LANG_PUSH([C++]) Comment: Maybe I m

[lng-odp] [PATCH API-NEXT v1 3/3] validation: queue: test lock-free queue

2017-12-20 Thread Github ODP bot
From: Petri Savolainen Added simple, single threaded enqueue/dequeue test for lock-free queues. Signed-off-by: Petri Savolainen --- /** Email created from pull request 353 (psavol:next-lockfree-queue-impl2) ** https://github.com/Linaro/odp/pull/353 ** Patch: https://github.com/Linaro/odp/pull

[lng-odp] [PATCH API-NEXT v1 2/3] linux-gen: queue: lock-free implementation

2017-12-20 Thread Github ODP bot
From: Petri Savolainen Simple implementation of non-blocking, lock-free plain queues. Signed-off-by: Petri Savolainen --- /** Email created from pull request 353 (psavol:next-lockfree-queue-impl2) ** https://github.com/Linaro/odp/pull/353 ** Patch: https://github.com/Linaro/odp/pull/353.patch

[lng-odp] [PATCH API-NEXT v1 1/3] api: queue: block-free capabilities

2017-12-20 Thread Github ODP bot
From: Petri Savolainen Lock-free and wait-free implementations may differ a lot from the default (blocking) implementation. Thus the maximum number of queues and queue sizes may be more limited. Non-blocking enum is not needed anymore as capability, since number of queues may be zero for LF/WF wh

[lng-odp] [PATCH API-NEXT v1 0/3] api: lock-free queues implementation

2017-12-20 Thread Github ODP bot
Simple implementation of lockfree queues. Capability API changed to enable totally different queue implementation of non-blocking vs blocking queues. github /** Email created from pull request 353 (psavol:next-lockfree-queue-impl2) ** https://github.com/Li

Re: [lng-odp] [PATCH API-NEXT v4] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,55 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t cap

Re: [lng-odp] [PATCH API-NEXT v4] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,55 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capability_t cap

Re: [lng-odp] [PATCH API-NEXT v4] Rework IPsec crypto capabilities

2017-12-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c @@ -58,15 +58,55 @@ int odp_ipsec_capability(odp_ipsec_capability_t *capa) } int odp_ipsec_cipher_capability(odp_cipher_alg_t cipher, - odp_crypto_cipher_capabilit

[lng-odp] [Linaro/odp]

2017-12-20 Thread GitHub
Branch: refs/heads/cloud-dev Home: https://github.com/Linaro/odp

[lng-odp] [Linaro/odp]

2017-12-20 Thread GitHub
Branch: refs/heads/2.0 Home: https://github.com/Linaro/odp

[lng-odp] [PATCH v11 1/1] linux-generic: pktio: genuinely sleep in timeout receive

2017-12-20 Thread Github ODP bot
From: Juha-Matti Tilli ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that allow sleeping for a certain time. However, the sleep was not a genuine interruptible sleep (select/poll/epoll) but rather a busy loop. This resulted in high CPU use when this call was used. This funct

[lng-odp] [PATCH v11 0/1] linux-generic: pktio: genuinely sleep in timeout receive

2017-12-20 Thread Github ODP bot
ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that allow sleeping for a certain time. However, the sleep was not a genuine interruptible sleep (select/poll/epoll) but rather a busy loop. This resulted in high CPU use when this call was used. This functionality adds to two pkti

[lng-odp] [PATCH v3 3/3] DEPENDENCIES: update requirements for Red Hat

2017-12-20 Thread Github ODP bot
From: Matias Elo Update instructions to support RHEL 7.4. Signed-off-by: Matias Elo --- /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349.patch ** Base sha: 6b5cdc77eb9759a2349b10372

[lng-odp] [PATCH v3 1/3] test: disable C++ test if no compiler is found

2017-12-20 Thread Github ODP bot
From: Matias Elo Enables building ODP on systems which have no C++ compiler available. Signed-off-by: Matias Elo --- /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349.patch ** Base s

[lng-odp] [PATCH v3 2/3] test: odp_pktio_ordered: run test only if pcap is available

2017-12-20 Thread Github ODP bot
From: Matias Elo The odp_pktio_ordered test depends on pcap pktio, so skip it if pcap is not available. Signed-off-by: Matias Elo --- /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349

[lng-odp] [PATCH v3 0/3] Fix build on Red Hat

2017-12-20 Thread Github ODP bot
Enable build on a clean RHEL 7.4 install. V2: C++ compiler check improvements (Dmitry) V3: C++ compiler check tweak (Dmitry) Signed-off-by: Matias Elo matias@nokia.com github /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** ht

[lng-odp] [PATCH v2 2/3] test: odp_pktio_ordered: run test only if pcap is available

2017-12-20 Thread Github ODP bot
From: Matias Elo The odp_pktio_ordered test depends on pcap pktio, so skip it if pcap is not available. Signed-off-by: Matias Elo --- /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349

[lng-odp] [PATCH v2 3/3] DEPENDENCIES: update requirements for Red Hat

2017-12-20 Thread Github ODP bot
From: Matias Elo Update instructions to support RHEL 7.4. Signed-off-by: Matias Elo --- /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349.patch ** Base sha: 6b5cdc77eb9759a2349b10372

[lng-odp] [PATCH v2 1/3] test: disable C++ test if no compiler is found

2017-12-20 Thread Github ODP bot
From: Matias Elo Enables building ODP on systems which have no C++ compiler available. Signed-off-by: Matias Elo --- /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349.patch ** Base s

[lng-odp] [PATCH v2 0/3] Fix build on Red Hat

2017-12-20 Thread Github ODP bot
Enable build on a clean RHEL 7.4 install. Signed-off-by: Matias Elo matias@nokia.com github /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349.